| Author |
Message |
giac_fab
Joined: 25 Jan 2007 Posts: 114
|
Posted: 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
| Description |
|
| Filesize |
9.3 KB |
| Viewed |
663 Time(s) |

|
_________________
I know, my english is very bad
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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
giac_fab
Joined: 25 Jan 2007 Posts: 114
|
Posted: Sat 19 Jan 2008, 11:34 Post subject:
|
|
The same error
_________________
I know, my english is very bad
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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
giac_fab
Joined: 25 Jan 2007 Posts: 114
|
Posted: Sat 19 Jan 2008, 11:57 Post subject:
|
|
Thanks for helping me
#!/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 ......
_________________
I know, my english is very bad
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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
giac_fab
Joined: 25 Jan 2007 Posts: 114
|
Posted: 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 ??
_________________
I know, my english is very bad
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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
giac_fab
Joined: 25 Jan 2007 Posts: 114
|
Posted: 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
Thank you for your wasted time
I love you
_________________
I know, my english is very bad
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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 19 Jan 2008, 12:51 Post subject:
|
|
Fine
I hope the rest will work, if not see you soon
Mark
|
|
Back to top
|
|
 |
giac_fab
Joined: 25 Jan 2007 Posts: 114
|
Posted: 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
/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 )
_________________
I know, my english is very bad
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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Mon 21 Jan 2008, 17:36 Post subject:
|
|
Sorry, I had overseen your message on saturday
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
|
|
 |
giac_fab
Joined: 25 Jan 2007 Posts: 114
|
Posted: 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
Thank you again.
_________________
I know, my english is very bad
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
|
|
 |
|