Click to See Complete Forum and Search --> : UT classic with linux mint 2.2


Tjoh311
02-01-2008, 04:11 AM
Hello,
Tonight I decided to install Unreal tournament on my machine. I have the ut436 install file (the same one that I've always used) but I'm getting an error I've never seen before.


root@troy-desktop:/home/troy# ./ut-install-436.run
Verifying archive integrity...tail: Warning: "+number" syntax is deprecated, please use "-n +number"
[: 133: 2341625838: out of range
OK
Uncompressing Unreal Tournament version 436 Linux installtrap: 154: cd /tmp; /bin/rm -rf $tmpdir; exit $res: bad trap


This is the first time I have had trouble installing this game. I search parts of the error msg. on google. but that did not help. Any ideas?

Thanks to all.
Troy

ph34r
02-01-2008, 02:31 PM
The installer is a shell script with a tar file (or similar) appended to it, you can open it in a text editor and change the shell script. Make a backup of the file first of course...

bwkaz
02-01-2008, 10:55 PM
Or just _POSIX2_VERSION=199209 ./ut-install-whatever when you run the script. Setting _POSIX2_VERSION to September 1992 (instead of its compile-time default of December 2001) will make tail or head (or whatever program is complaining about the deprecated +<number> syntax that more recent POSIX standards have explicitly disallowed) accept the old, now-explicitly-disallowed syntax.

I'm not sure if that will fix the "bad trap" error, but it might do that as well.

Tjoh311
02-02-2008, 04:02 AM
Thanks for the replies. Unfortunately nothing seems to be working. I have been searching the inet all day looking for a possible solution. I will keep trying.

Icarus
02-05-2008, 03:20 PM
try exporting the POSIX first then run the installer
# export _POSIX2_VERSION=199209
# ./ut-install-436.run