Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 May 2013, 07:42
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
I'm trying to install a big program
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
giac_fab

Joined: 25 Jan 2007
Posts: 114

PostPosted: Sat 19 Jan 2008, 08:28    Post subject:  I'm trying to install a big program
Subject description: There is not enough diskspace available in the temporary folder.
 

I tried with default option ( /tmp folder ) and nothing ..... even if my pup_save has enough space .

I tried with /mnt/hdb1 option ( where there are some GB free ) , the same error .

Help me please !!!!

Hi
image.gif
 Description   
 Filesize   9.3 KB
 Viewed   664 Time(s)

image.gif


_________________
Embarassed I know, my english is very bad Embarassed
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 19 Jan 2008, 08:41    Post subject:  

Maybe this works, but backup your save-file first, as the tools might be incompatible with some of Puppys scripts.
http://www.murga-linux.com/puppy/viewtopic.php?t=7918
Mark
Back to top
View user's profile Send private message Visit poster's website 
giac_fab

Joined: 25 Jan 2007
Posts: 114

PostPosted: Sat 19 Jan 2008, 11:34    Post subject:  

The same error Crying or Very sad
_________________
Embarassed I know, my english is very bad Embarassed
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 19 Jan 2008, 11:50    Post subject:  

please type:
head -n 50 medusa4_v3_0_1_linux_personal.sh >test.txt

This will print the first 50 lines to test.txt.
Open that in leafpad, and copy the text here.

If the last lines are not readable text, please do not copy those.
We just need to examine the installation-script.
It is in the beginning, followed by compressed binary data, that we do not need.

Mark
Back to top
View user's profile Send private message Visit poster's website 
giac_fab

Joined: 25 Jan 2007
Posts: 114

PostPosted: Sat 19 Jan 2008, 11:57    Post subject:  

Thanks for helping me Razz

#!/bin/sh
echo "Medusa4 Personal 3.0.1 INSTALLATION"
echo ""
echo "Extracting Medusa4 Personal installation files... please wait"
echo ""


if [ "$1" != "" ]; then
TMPDIR=$1
else
TMPDIR="/tmp"
fi

# create a temp directory to extract to.
export WRKDIR=`mktemp -d $TMPDIR/m4p.XXXXXX`


FREESPACE=`df /tmp | grep / | awk '{print $4;}'`

if [ $FREESPACE -lt 201128 ]; then
echo "There is not enough diskspace available in the temporary folder. ($TMPDIR)"
echo "You need at least 206MB diskspace."
echo "You can define a different temp path by running the script like this "
echo " ./install.sh new_path"
exit 0
fi

SKIP=`awk '/^__M4P_Datafiles__/ { print NR + 1; exit 0; }' $0`

# Take the TGZ portion of this file and pipe it to tar.
tail -n +$SKIP $0 | tar xz -C $WRKDIR

# execute the installation script
echo "Starting the installer..."

PREV=`pwd`
cd $WRKDIR
csh ./medusa4_pers/install.csh


# delete the temp files
cd $PREV
rm -rf $WRKDIR

exit 0

__M4P_Datafiles__
􏺋􏻇􏻳􏺅G

---------------------------------

I think I must bypass space control ......

_________________
Embarassed I know, my english is very bad Embarassed
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 19 Jan 2008, 12:12    Post subject:  

Hm, it works on my Muppy (Puppy 301).

Please type in the consolewindow:

sh test.txt 2>&1 >err.txt

Then copy the content of err.txt here.

And also:
df 2>&1 >free.txt

Then copy free.txt here.

This might give more hints.
Mark
Back to top
View user's profile Send private message Visit poster's website 
giac_fab

Joined: 25 Jan 2007
Posts: 114

PostPosted: Sat 19 Jan 2008, 12:35    Post subject:  

Boh ...

Here are the results :

ERR.TXT

Medusa4 Personal 3.0.1 INSTALLATION

Extracting Medusa4 Personal installation files... please wait

There is not enough diskspace available in the temporary folder. (/tmp)
You need at least 206MB diskspace.
You can define a different temp path by running the script like this
./install.sh new_path

FREE.TXT
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda6 4783260 1912812 2627468 42% /initrd/mnt/dev_save
/dev/loop1 585145 139668 421309 25% /initrd/pup_rw
tmpfs 80996 79996 1000 99% /initrd/mnt/tmpfs
/dev/loop0 79936 79936 0 100% /initrd/pup_ro2
/dev/loop3 337856 337856 0 100% /initrd/pup_ro3
/dev/loop4 61312 61312 0 100% /initrd/pup_ro4
unionfs 585145 139668 421309 25% /
tmpfs 192972 56 192916 0% /tmp
shmfs 11388 0 11388 0% /dev/shm
/dev/hdb1 36282252 5612200 28827000 16% /mnt/hdb1



I have an big sfs with all my apps ..... Do you thik I could have into it something wrong ???
Could I try with pfix=ram ?????

Do you think you could put your succesful installation as an alien package into dotpups.de ??

_________________
Embarassed I know, my english is very bad Embarassed
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 19 Jan 2008, 12:37    Post subject:  

ok, found a solution.
The install-script has an error.
It looks for free size in /tmp even if you pass another folder.
We can trick it out.

Please do this:

In the folder with your installer, create a file "myinstall".
Open it in leafpad, and copy there this text and save.

Code:
#!/bin/bash
mkdir /root/medusa
export PATH=/root/medusa:$PATH

echo '#!/bin/bash' > /root/medusa/df
echo 'echo "tmpfs                   406560      9120    397440   2% /tmp"' >> /root/medusa/df

chmod 755 /root/medusa/df
./medusa4_v3_0_1_linux_personal.sh /mnt/hdb1


Now make it executable:
chmod 755 myinstall

Now run
./myinstall
instead of the medusa-installer.

What it does:
It forces Puppy to search df in /root/medusa.
We add there a new df, that prints not the real free space of /tmp , but a fixed value.
Then the Medusa-installer is fooled to believe there is enough space.

You will encounter another problem:
The installer needs the C-shell (csh).
Please extract this in /usr/bin/ before you run the installer:
http://dotpups.de/files/unsorted-not-packaged/bsd-csh.tgz
This is the C-shell.

Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 19 Jan 2008, 12:40    Post subject:  

and please reboot first, your /tmp is full.
tmpfs 192972 56 192916 0% /tmp
A reboot will clean it up.
Mark
Back to top
View user's profile Send private message Visit poster's website 
giac_fab

Joined: 25 Jan 2007
Posts: 114

PostPosted: Sat 19 Jan 2008, 12:46    Post subject:  

You missed a little thing ....

# ./script
Medusa4 Personal 3.0.1 INSTALLATION

Extracting Medusa4 Personal installation files... please wait

Starting the installer...
./medusa4_v3_0_1_linux_personal.sh: line 38: csh: command not found

But renaming bsd-csh to csh I solved .....

You are the best one Very Happy

Thank you for your wasted time

I love you Surprised

_________________
Embarassed I know, my english is very bad Embarassed
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 19 Jan 2008, 12:51    Post subject:  

Fine Smile
I hope the rest will work, if not see you soon Wink

Mark
Back to top
View user's profile Send private message Visit poster's website 
giac_fab

Joined: 25 Jan 2007
Posts: 114

PostPosted: Sat 19 Jan 2008, 14:06    Post subject:  

After a long time spent I'm very happy to see that after installed it don't start Shocked Shocked Shocked Shocked Shocked Shocked Shocked

/mnt/hdb1/Medusa4-301/med2d/m2d/run/draft: symbol lookup error: /mnt/hdb1/Medusa4-301/med2d/m2d/run/draft: undefined symbol: _ZTI13QWindowsStyle
#

I had a similar problem when I tried a kde application, If I lauched it from terminal ( but it worked without problem ).

Sometimes I think that windoz has some good things ( a double click and everythings work )

Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad

_________________
Embarassed I know, my english is very bad Embarassed
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 21 Jan 2008, 17:36    Post subject:  

Sorry, I had overseen your message on saturday Sad

It seems that it depends on LibQT.
What QT did you install?
See /usr/lib/qt-XXX

I think you will have 3.3.8.
So the question is, which one?
You said you have KDE.
Did KDE come with qt?
Maybe that is a wrong version.
You could try to install QT-3.3.8 with petget.
Best is to backup your pup_save.2fs first!
Just in case KDE will work no longer.

It might be better, to test like this:
download and extract to a temporary folder:
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux/pet_packages-3/qt-3.3.8.pet

For example extract to:
/mnt/hdb1/QT
Now search there for the folder "/lib/"
It will be something like
/mnt/hdb1/QT/qt-3.3.8/usr/lib/qt-3.3.8/lib/

Now run medusa from a console like this (but with your correct path):

export LD_LIBRARY_PATH=/mnt/hdb1/QT/qt-3.3.8/usr/lib/qt-3.3.8/lib/:$LD_LIBRARY_PATH

medusa

This forces medusa to use these new QT-Libraries instead of the old ones, as now this folder is searched first for libraries.
If you still get errors, you might try a different QT.

According to the installation.pdf, it works on Suse 10.2 Suse 10.3 RedHat Enterprise 3 and 4.
So we could try to extract the ones from Suse.
But first try the one from Puppy please.
Mark

Mark
Back to top
View user's profile Send private message Visit poster's website 
giac_fab

Joined: 25 Jan 2007
Posts: 114

PostPosted: Mon 21 Jan 2008, 18:18    Post subject:  

The same problem ....

I'm using xfce 4.4.1 ....

I saw I tried a kde app ( guarddog, but it's not important) downloading all needed libraires and I seen a similar error ( but the app worked ).

Installed I have qt 3.34 ( /lib/qt 3.34) ..... probably since my first sfs ..... I could sobstitute them ( some applications will not work ? ) ...

With export export LD_LIBRARY_PATH=/mnt/hdb1/qt-3.3.8/lib/:$LD_LIBRARY_PATH I didn't see any difference .

I think I will find a similar program that will be easier to install Laughing

Thank you again.

_________________
Embarassed I know, my english is very bad Embarassed
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0663s ][ Queries: 12 (0.0091s) ][ GZIP on ]