PlaneShift
Support => Linux Specific Issues => Topic started by: renor_elghinn on June 01, 2005, 03:27:14 am
-
The issue of the .run not working was resolved with the assistance of THIS help file:
http://metawire.org/~jon/Planeshift_3.010_linuxbinary_howto
the 3.010 .run file creates a temporary directory, extracts the temporary files, and deletes them immediatly after creating them, and then says its done, it dosn\'t ask me to agree to the liscence agreement or open a installer.
I\'m running:
AMD 3200XT
1024MB DDR ram
ATI Radeon 9600XT
SBlive (disabled)
with:
XandrOS (Debian-based)
-
in console you can always use control + c to stop or control + z to pause your action. control + z also puts your job in the background, which can be seen through \"jobs\" and make back to the foreground and continue by \"fg\".
just break after the package is unpacked .. go to folder an install manually.
but this problem is strange ... can you give some errors from console?
greets
lethe
-
It surely gives you some message before, you should paste the console
output you get while running the installer. It must be some system specific
issue, since you are the first and only person who reports such weird behaviour.
You should start at checking that your system PATH variable is correctly set:
echo $PATH, then you should check if in that PATH you have the dialog program:
which dialog
If it is not displaying the license, it is most likely lack of this program.
Regards.
-
The issue is already resolved,
it gave me no error messages,
once the files were created by the .run installer they were supposed to be extracted by the .run install file as well, however it wasn\'t preforming this action, it was skipping it and moving on to delete the files it created and assumed it had completed its task sucessfuly,
I ended up having to extract all the compressed files from the .run manually threw the console, and then manually uncompress them.
The readme file link at the top of my initial post explains how to do this for those that don\'t know.
-
brant@Ubuntu:~ $ ./PlaneShift_CBV0.3.010.run --target ps
Creating directory ps
Verifying archive integrity... All good.
Uncompressing Planeshift Crystal Blue Version 3.010.....Extraction failed.
Terminated
-
That installer requires dialog program to work. Install the dialog program, then just run the installer.
Also you have to make sure your download is not corrupted, the best way is comparing files sizes with these listed at: http://platyna.xpam.de/planeshift/.
Regards.
-
I checked to be sure but I have dialog installed. Also the installer is the correct size and I have downloaded it 11 times now with the same issue.
-
Well, then try to update your tar archiver and don\'t use --target. That option will
be removed soon anyway. You will be able to specify an install directory during
the installation process.
Regards.
-
I have the same problem :
sh PlaneShift_CBV0.3.010.run
Creating directory ps.cb.03.010
Verifying archive integrity... All good.
Uncompressing Planeshift Crystal Blue Version 3.010.....Extraction failed.
Terminated
Since yesterday, I updated my whole Suse 9.1 (this takes a while with UMTS :( ), hoping this would update tar. Well, now I get the same problem.
I will search through this forum further but if someone of you could help me I\'d be very thankful, ilBaal
EDIT: AMD Athlon XP 1800+, 512mb RAM, Geforce 3, AC97 Sound
-
What is md5sum of that file?
Regards.
-
Hi!
md5sum PlaneShift_CBV0.3.010.run
d4776e9fdb5b774893285d053f0ea80b PlaneShift_CBV0.3.010.run
THX in advance
-
Md5sum is ok...how about showing me tar --version?
Regards.
-
Akhem.
First check, if You have enough free space in the filesystem, where .run file resides. It self-decompresses to subdirectory ps.cb.03.010
Actually, I\'m able to reproduce the problem by filling my /home filesystem with some garbage.
Cheers.
-
Greetz,
there is enough space in the filesystem. The tar-version is 1.13.25-298.
THX in advance, ilBaal
-
Well, try to upgrade tar, also see if you have enought space in your /tmp
directory and basic stuff like binutils installed - some distributions are
spreading them in a few packages. I can\'t reproduce this error.
Regards.
-
Hi, i\'m having the same problem with .run file as ilBaal.
I\'m a complete Linux noob, i\'m using Mandrake 10.2 for a week now and i don\'t have any idea what is that beforementioned \'dialog program\' and where to look for it so i can\'t check if i have it installed (and i have no idea how to upgrade tar).
What i do know is that checksum is ok and i have more enough space on my hdd.
Any help appreciated. Thanks in advance.
-
Commands like: which dialog or: locate dialog should tell you if you have it installed.
Regards.
-
So, no idea what is it, huh? Oh well, i give up (after downloading it 4 times and trying to install it over and over), maybe i\'ll try Windows version with Cedega or when i\'ll alt+tab to XP ;)
-
Well, installer uses tar -vf to unpack these files. The last thing that comes on my
mind is checking if your tar version supports it.
Regards.
-
Perhaps the installer could print or log somewhere the tar errors so that we know why it fails.
tar 1.15.1 here.
And at least installing works.
for checking disk space: df -h
The extract may possibly fail if there already exists some file or directory which tar possibly does not remove.
Tar will also report errors on weird filesystems like FAT because it cannot set the file mode properly.
-
Same tar version here...
Recently i reinstalled Mandriva (for other reasons) and i hoped it will work after that... nope, it doesn\'t.
Tar version - OK
Checksum - OK
Disc space - OK
Creating directory ps.cb.03.010
Verifying archive integrity... All good.
Uncompressing Planeshift Crystal Blue Version 3.010..Extraction failed.
...Terminated
With all due respect, it\'s not worth the trouble.
-
Could You post here:
- absolute path to your ...run file (for example /home/user/tmp/cb_xxxxx.run),
- working directory, from wich You run the file (output of \"pwd\" command)
-output of \"set\" command (I need values of variables TMP and TMPDIR)
- output of \"df -k\" command ?
Also - You can try to unpack the file manually, link to instructions is at the top of this thread.
Cheers.
-
Originally posted by =MaxiM= Creating directory ps.cb.03.010
Verifying archive integrity... All good.
Uncompressing Planeshift Crystal Blue Version 3.010..Extraction failed.
...Terminated
hmmm... so, it\'s failing on (or just prior to) the UnTAR() function.
Well... you could do something like:
sh -x PlaneShift_CBV0.3.010-UPDATE.run 2> PasteThisOnTheForum.log ;)
or inspect the script yourself, by doing this:
head -n 361 PlaneShift_CBV0.3.010-UPDATE.run | more
and see if something catches your eye.
EDIT: It goes without saying that I used PlaneShift_CBV0.3.010-UPDATE.run simply because it was smaller (faster) to download just to check what was supposed to do. In your case I think you\'re using PlaneShift_CBV0.3.010.run so maybe you should do something like:
head -n `grep -x -n planeshift.tar.gz PlaneShift_CBV0.3.010.run|cut -f 1 -d \":\"`PlaneShift_CBV0.3.010.run
EDIT2: my bad... the .log should capture the stderr instead of stdout :P
-
Yep, logs can be useful. And that script does nothing more than:
tar -xzf -
Sometimes distributions are patching stuff with weird patches, so you may
check if your tar supports these options, for example:
cat whatever.tar.gz | tar -zxf -
Regards.
-
My log file contained only this:
Verifying archive integrity... All good.
Uncompressing Planeshift Crystal Blue Version 3.010.....
But here\'s what i saw in the console
[root@host148 Planeshift]# sh -x PlaneShift_CBV0.3.010.run | tee PasteThisOnTheForum.log
+ CRCsum=0000000000
+ MD5=00000000000000000000000000000000
+ TMPROOT=/root/tmp
+ label=\'Planeshift Crystal Blue Version 3.010\'
+ script=./setup.sh
+ scriptargs=
+ targetdir=ps.cb.03.010
+ filesizes=276234240
+ keep=y
+ print_cmd_arg=
+ type printf
+ print_cmd=printf
+ finish=true
+ xterm_loop=
+ nox11=n
+ copy=none
+ ownership=y
+ verbose=n
+ initargs=
+ true
+ case \"$1\" in
+ break
+ case \"$copy\" in
+ test n = n
+ tty -s
+ :
+ test ps.cb.03.010 = .
+ test y = y
+ echo \'Creating directory ps.cb.03.010\'
Creating directory ps.cb.03.010
+ tmpdir=ps.cb.03.010
+ mkdir -p ps.cb.03.010
++ pwd
+ location=/mnt/win_g/Gry/Linux/Planeshift
+ test x \'!=\' x1
+ MS_Check PlaneShift_CBV0.3.010.run
+ OLD_PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:
/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin
++ exec
+ MD5_PATH=/usr/bin/md5sum
+ MD5_PATH=/usr/bin/md5sum
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
+ MS_Printf \'Verifying archive integrity...\'
+ printf \'Verifying archive integrity...\'
Verifying archive integrity...++ head -n 361 PlaneShift_CBV0.3.010.run
++ wc -c
++ tr -d \' \'
+ offset=8481
+ verb=
+ i=1
+ for s in \'$filesizes\'
++ echo 0000000000
++ cut \'-d \' -f1
+ crc=0000000000
+ test -x /usr/bin/md5sum
++ echo 00000000000000000000000000000000
++ cut \'-d \' -f1
+ md5=00000000000000000000000000000000
+ test 00000000000000000000000000000000 = 00000000000000000000000000000000
+ test x = xy
+ test 0000000000 = 0000000000
+ test x = xy
++ expr 1 + 1
+ i=2
++ expr 8481 + 276234240
+ offset=276242721
+ echo \' All good.\'
All good.
++ head -n 361 PlaneShift_CBV0.3.010.run
++ wc -c
++ tr -d \' \'
+ offset=8481
+ test xn = xy
+ MS_Printf \'Uncompressing Planeshift Crystal Blue Version 3.010\'
+ printf \'Uncompressing Planeshift Crystal Blue Version 3.010\'
Uncompressing Planeshift Crystal Blue Version 3.010+ res=3
+ test y = n
+ for s in \'$filesizes\'
+ MS_dd PlaneShift_CBV0.3.010.run 8481 276234240
++ expr 276234240 / 1024
+ blocks=269760
++ expr 276234240 % 1024
+ bytes=0
+ dd if=PlaneShift_CBV0.3.010.run ibs=8481 skip=1 obs=1024 conv=sync
+ eval cat
++ cat
+ cd ps.cb.03.010
+ UnTAR x
+ tar xvf -
+ MS_Progress
+ read a
+ MS_Printf .
+ printf .
.+ read a
+ MS_Printf .
+ printf .
+ read a
+ MS_Printf .
+ printf .
+ read a
+ MS_Printf .
+ printf .
+ read a
+ MS_Printf .
+ printf .
+ read a
....+ echo Extraction failed.
Extraction failed.
+ kill -15 6869
As for other thing you wanted to see:
/mnt/win_g/Gry/Linux/Planeshift/PlaneShift_CBV0.3.010.run
/mnt/win_g/Gry/Linux/Planeshift
TMP=/home/maxim/tmp
TMPDIR=/home/maxim/tmp
System plik?w bl. 1K B u?yte dost?pne %u?. zamont. na
/dev/hda6 7218432 4012220 2839532 59% /
/dev/hda1 5234944 3251644 1983300 63% /mnt/win_c
/dev/hda5 1571248 1467408 103840 94% /mnt/win_d
/dev/hda8 15712240 7777504 7934736 50% /mnt/win_e
/dev/hda9 15712240 14649176 1063064 94% /mnt/win_f
/dev/hda10 31471968 27835456 3636512 89% /mnt/win_g
Any ideas?
-
I assume, there is windows partition (FAT32 ?) mounted at /mnt/win_g.
FAT32 does not support setting of some attributes specific for other flesystems (like permissions, owner, group, dtime etc). Try to move PlaneShift_CBV0.3.010.run to /home/maxim and run it from there.
Also, give /home/maxim/planeshift as the target installation directory.
Do You start instalation as root (by using \"su\" for example) or maxim ?
I\'m asking, because TMPROOT is set to /root/tmp ... And it should be /home/maxim/tmp ...
Try to run it as user maxim.
EDIT: Erm... I just thought... If that partition (/mnt/win_g) is NTFS partition, everything is clear. Linux cannot write to ntfs filesystem... in this case move/copy the .run file to /home/maxim too.
-
It could be, tar tries to save permissions while unpacking files. And you can\'t
change them because FS not supports it. Better run it on your Linux partition.
About tmpdir it sets it automagically.
Regards.
-
Oh crap, that explains everything. Those win_x partitions are all FAT32, but i already tried installing it from /home/maxim directory but as root to be able to install it to /usr/local/games folder... who would have thought. I just installed it to new /games folder now and the whole process went smooth.
Again: who would have thought... i\'ve read somewhere that FAT fs can cause problems, not FAT32. D\'oh!
Thanks for your time, now i hope the game itself won\'t cause me any problems. Wish me luck.
-
Well, then good luck!
Regards.
-
Tried running the ./PlaneShift_CBV0.3.010-UPDATE.run on a Ubuntu system and it worked, but only after installing the dialog (sudo apt-get install dialog)
Platyna, maybe the script should test at least for the availablility of dialog, giving an error msg to let the user know its missing dialog from his system ? ...since it looks like some distros don\'t install it by default.
Anyway, kudos for this package. Thxs Platyna :D
ok... now, let\'s try the hard way ;) ...build the latest client from CVS (although it won\'t connect to the current Laanx server) :P
-
I think that error message is kinda clear. Maybe I will write some warning that
if you are on Ubuntu then you have to install dialog. Anyway it is evil that there
are Linux distros that not install dialog by default since it was meant to be a
simple tool for writing some basic scripts like netconfig etc. in a comfortable
way so it kinda defeats the purpose of dialog.
And about laters CVS, it won\'t connect to official server because netversion
has been changed long time ago (at 22.05.05), the latest source I managed to
get to work properly is 19.05.05 (CS/CEL/Cal3d/PS) which is also mirrored at
http://planeshift.xpam.de/ so you may download it from there too.
Regards.
-
WOW!
I just looked into this thread again. I previously tried to unpack it on a FAT32 partition. Now it works :)
thx
-
Well then, thanks to Kosh Dukai, problem seems to be solved.
Regards.
-
Well Wired_Crawler got it 1st, so he naturally deserves all the credit for not letting this thread alone, too ! :)
EDIT:
Originally posted by Platyna
And about laters CVS, it won\'t connect to official server because netversion has been changed long time ago (at 22.05.05)
Yes, I know (http://cvs.sourceforge.net/viewcvs.py/planeshift/planeshift/docs/history.txt?rev=1.2720&view=markup), thxs :) ...but I only want to check the new pets and see Klyros fall from the sky (http://cvs.sourceforge.net/viewcvs.py/planeshift/planeshift/docs/history.txt?view=markup) ;) !!!
...erm, when I get the new psserver running too, that is ;P
-
Well, there may be some X equivalent of dialog on Ubuntu.
They try to hide the console from users as much as possible (which is understandable as they target the users that do not want to see it).
Note that Debian also allows several frontends for dpkg configureation scripts including readline and dialog. The others are X based I beleive.
I will try to look what Ubuntu installs by default..