Click to See Complete Forum and Search --> : Unreal Tournament - Linux and UMODS Installer


Bluester
08-30-2002, 02:42 PM
Hello,

I installed Red Hat Linux 7.3, Nvidia drivers for my Gforce2 GTS and UT. I would like to install the UT Bonus Pack (1-4) however, I cannot find an installer for Linux.
Can anyone help me?
Please try to keep in mind that I am an newbie and looked on www.linuxnewbie.org
If there is a one file installer, and not something I have to compile using Perl, that would be appreciated. If not, send me what you have and I will figure it out. I got this far, I might as well go all the way.

:p

Icarus
08-30-2002, 04:06 PM
Dude, go all the way!! :D

http://umodpack.sourceforge.net/

After reading through that, you'll want to get the UmodPack 0.5-beta16. This has a GUI to use to install your umods, maps, mutators, skins, etc, etc ,etc...

Bluester
08-31-2002, 02:01 AM
mahdi,

Thanks for the link. I will try it out and let you know.

I appreciate it. I am in the soooo newbie zone.
It took me some time like three hours, to figure out how to get the nvidia drivers installed and working!
Working being the operative. :-)

Bluester
08-31-2002, 12:21 PM
M,

Tried it and it is giving me a cannot find directory error. I had to load some more packages....gcc not found errors.
Maybe I will try a make clean and start over?

Bluester
08-31-2002, 07:46 PM
O.k. I could use a little help here.
I have all the packages loaded.
I did a make clean and started over.
The # perl Makefile.PL goes well.
The #make install ..... errors out after 10 lines of compiling. It says it cannot find the ZLib directory or something like that.

I am launching the scripts from a directory that is 5 deep. i.e.:
/home/name/temp1/test
Should I move everything to the "temp1" directory and try from there?

Any suggestions would be appreciated.

Your future UT player on a Linux system,

Bluester

Icarus
08-31-2002, 08:22 PM
Are you trying to install as root? If your not root it can't get to some of the libraries it needs and will cause errors...

bwkaz
08-31-2002, 08:41 PM
Have you installed your distro's zlib-devel package (in Mandrake 8.2 at least, it's called zlib1-devel)?

Icarus
08-31-2002, 09:10 PM
Hmm...I'm having to problem also...

Running Mkbootstrap for Tk ()
chmod 644 Tk.bs
rm -f ../blib/arch/auto/Tk/Tk.so
LD_RUN_PATH="/usr/X11R6/lib:/usr/lib:/lib" gcc -shared -L/usr/local/lib Tk.o chnGlue.o evtGlue.o objGlue.o tixGlue.o tkGlue.o tkGlue_f.o tkWin32Dll.o -o ../blib/arch/auto/Tk/Tk.so pTk/libpTk.a -L/usr/X11R6/lib -lX11 -lpt -lnsl -lm
/usr/bin/ld: cannot find -lpt
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/Tk/Tk.so] Error 1
make[1]: Leaving directory `/tmp/umodpack-0.5b16/Tk800.022'
make: *** [subdirs] Error 2


I followed the install as

To install Perl/Tk first use "perl -MCPAN -e shell" to get into the CPAN
shell; and then enter "install Tie::IxHash", "install Data::Dumper",
"install Compress::Zlib", "install Archive::Zip" and then "install Tk".

To install UmodPack change to the directory in which the distribution
files are unpacked. Type "perl Makefile.PL" and then "make install".

but the Archive::Zip failed one of the tests and would not install...might be related...I also made sure I had Tk installed, which it is

Bluester
08-31-2002, 10:04 PM
All,

Thanks, I have the proper libraries installed.
I am glad that someone else found the problem as well. I am a newbie, but not that new to shell scripts.
I am not an expert by no means, however the knowledge I am gaining from you guys is not replacable! If anyone figures it out let me know.
I will continue to plug away.
I figure it must be a new library that is not compatible with the shell old shell scripts. hmmm...

bwkaz
09-01-2002, 09:58 AM
On the whole Perl/CPAN thing, Archive::Zip failed for me also. But "install IO::Scalar" fixed that problem, so you might try that. CPAN also installed Tk (and this is Perl Tk, not normal Tk, so mahdi, you might want to make sure you've got the right Tk...).

"perl Makefile.PL" on umodpack seems to have worked, I'm "make install"ing now...

"make install" seems to have worked (after I did it as root... :o duh).

And xumod seems to work.

--

Try "install IO::Scalar" in CPAN, and see if that helps.

Bluester
09-01-2002, 12:25 PM
bwkaz,

Thanks for the advice and I will try it.
However, my next question will probably make me a laughing stock of the group.
What is CPAN? :confused: Is that the terminal mode where you run the insall script. I never heard of this and have been out of the scripting business for about 5 years.
Besides there were UNIX scripts in a DOS environment :rolleyes:

Thanks in advance for everyone's help. :)

bwkaz
09-01-2002, 03:39 PM
CPAN is the Comprehensive Perl Archive Network. It's a worldwide-mirrored repository of a whole bunch of Perl modules that you can download and install. It's also the easiest way I know of to install Perl libraries.

From the umodpack installation notes (this is the same stuff that mahdi posted earlier):

To install Perl/Tk first use "perl -MCPAN -e shell" to get into the CPAN shell; and then enter "install Tie::IxHash", "install Data::Dumper", "install Compress::Zlib", "install Archive::Zip" and then "install Tk".

To install UmodPack change to the directory in which the distribution files are unpacked. Type "perl Makefile.PL" and then "make install".I would add an "install IO::Scalar" before "install Tk". And make sure Perl is installed -- it looks like umodpack is more reliant on Perl than anything else.

Bluester
09-02-2002, 06:39 PM
bwkaz, mahdi,

Thanks for your extensive knowledge on this matter and trying to help this "newbie" out.
I see where the trouble is. when I launched perl -MCPAN -e shell and followed the directions it is erroring out when I "install Compress::Zlib", "install Archive::Zip". The rest installs fine. I have attached two files that explains the error. If I can call on your expertise when you have time that would be greatly appreciated. I am also looking in the RHL 7.3 Bible by Christopher Negus. I cannot find anything on my specific problem. Thanks once agains for all your help on my issue. I know it takes time to address anothers persons concern, and it is greatly appreciated.:confused:

Bluester
09-02-2002, 07:59 PM
:eek: All,

Thanks for the support. I have all the packages installed. However, I still get an error when compiling make install. I will reboot and see how it goes after the reboot.

:confused:
:eek:
;)
:o

Icarus
09-03-2002, 09:41 AM
I'm still getting the error at the Archive also, using RH 7.3 too. I did this in the past with no problem on 7.2, it seems RH might of made some changes to the perl install for 7.3....maybe it will be fixed when 8.0 is released soon ;)

bwkaz
09-03-2002, 12:15 PM
What are the errors (I didn't see anything attached... am I blind? possible...)?

Yeah, when it worked here, it was on LFS; Perl 5.6.1 was installed from source. So it could very well be a RedHat thing, I guess. Still, knowing what it's doing would be good.

Icarus
09-03-2002, 12:22 PM
Originally posted by bwkaz
What are the errors (I didn't see anything attached... am I blind? possible...)?
Yes, you are blind :D

I posted the errors at the 8th post here ;)

Bluester
09-03-2002, 02:46 PM
Good news.

I successfully installed all the modules with success.
I had to do and update from redhat networks in order to install the Archive and Compress::Zlib modules.

I ran the "perl Makefile.PL" with success.
However, when I run the "make install" or even "make" so I can do a "make test" I get this:

Running Mkbootstrap for Tk ()
chmod 644 Tk.bs
rm -f ../blib/arch/auto/Tk/Tk.so
LD_RUN_PATH="/usr/X11R6/lib:/usr/lib:/lib" gcc -shared -L/usr/local/lib Tk.o chnGlue.o evtGlue.o objGlue.o tixGlue.o tkGlue.o tkGlue_f.o tkWin32Dll.o -o ../blib/arch/auto/Tk/Tk.so pTk/libpTk.a -L/usr/X11R6/lib -lX11 -lpt -lnsl -lm
/usr/bin/ld: cannot find -lpt
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/Tk/Tk.so] Error 1
make[1]: Leaving directory `/home/bluester/temp1/ut/umodpack-0.5b16/Tk800.022'
make: *** [subdirs] Error 2
[bluester@Linux-System umodpack-0.5b16]$

Anyone care to take a guess at what could be the issue?



:confused:

Icarus
09-03-2002, 02:52 PM
Hmm...looks exactly like the error I posted ;)

I can't find anything about the -lpt not found, I think finding this peice will make the puzzle fit :D

bwkaz
09-03-2002, 04:21 PM
D'oh! I thought he meant he was getting a different error.

Anyway, I didn't even find anything in my umodpack that was even referencing -lpt, except for a comment in the Makefile (this is after running perl Makefile.PL) in the Tk800.022 directory. What's on your EXTRALIBS line in that file (in mine, it's line 526, but it might be different for yours)? Does deleting -lpt from that line make it compile, or do you get undefined symbols then?

Hmmm, this might help: searching rpmfind.net for libpt.so (the actual file that gcc is looking for) turns up a couple of different RPMs for pwlib-devel (pwlib1-devel is for Mandrake, and pwlib-devel is for RH Rawhide) that will install that file. The description is the "Perl Windows Library development files". If deleting -lpt doesn't work, try installing the Rawhide RPM (for i386, not alpha or ia64 or sparc) maybe. It's odd, though, because I don't have that installed either, but it didn't try to link against it here...

Bluester
09-09-2002, 05:55 PM
Thanks for the tip.:D

I could not get the XUMOD GUI to work.
However, I did get the command line utility to work.
umod -b (used to set the path of UT)
umod -i filename.umod (I installed all of them).

You guys are great and I want to thank all of you for your help and patience.

GO LINUX!!!!!!!

;)


:)

Icarus
09-10-2002, 12:39 AM
What stinks is, I've gotten the GUI to work on 7.2
oh well...off I go to "umod -i *.umod" :D

Bluester
09-10-2002, 05:22 PM
I took bwkaz suggestion :

__________________________________________
Anyway, I didn't even find anything in my umodpack that was even referencing -lpt, except for a comment in the Makefile (this is after running perl Makefile.PL) in the Tk800.022 directory. What's on your EXTRALIBS line in that file (in mine, it's line 526, but it might be different for yours)? Does deleting -lpt from that line make it compile, or do you get undefined symbols then?
__________________________________________

I commented out the -lpt.
It gave me an error when I ran XUMOD.
However, it worked when I ran UMOD.

Hope things go well for you also.

I am going to install all of the Loki_Demos from www.lokigames.com

Hopefully that will give me an idea of how powerfull my system is under Linux when it was considered semi-weak under Windows.

i733 MHz processor
32MB Gforce 2 GTS
256 MB of memory
40 GB HDD
Ensonic (onboard) sound
Altec Lansing AVS300 speakers w/sub
standard keyboard
Microsoft USB Exploerer Optical mouse (a gift) ;)
DVD 12X
AOPEN CDRW 20x 10x 40x (I have not figured how to get this working so I can backup my files I downloaded off the internet.)

I will read the how-to's first.
Then I will ask questions, if I have them, on another forum. Hardware maybe?

Thanks again!;)