Click to See Complete Forum and Search --> : umod problems


jailbreaker
10-30-2003, 12:02 PM
Hey guys I am having troubles installing umodpack I am sure I installed the stuff it needs using rpms. I have spent all of last night trying to get it to work. I have seached these forums and google.com/linux. I am using Unreal Tournament :GOTY


In file included from tixInt.h:13,
from tixGrSort.c:14:
tix.h:469:1: warning: "strdup" redefined
In file included from /usr/include/string.h:375,
from tkUnixPort.h:52,
from tkPort.h:39,
from tixPort.h:18,
from tixGrSort.c:13:
/usr/include/bits/string2.h:1229:1: warning: this is the location of the previous definition
tixGrSort.c: In function `Tix_GrSort':
tixGrSort.c:165: parse error at end of input
make[2]: *** [tixGrSort.o] Error 1
make[2]: Leaving directory `/home/xquizit/ut/umodpack-0.5b16/Tk800.022/pTk'
make[1]: *** [pTk/libpTk.a] Error 2
make[1]: Leaving directory `/home/xquizit/ut/umodpack-0.5b16/Tk800.022'
make: *** [subdirs] Error 2

Icarus
10-30-2003, 12:30 PM
Looks like your missing the Tk libraries...and installing them will age you 5-10 years :D

If you have an RPM based distro (Red Hat, Mandrake, SuSE...) save yourself a few years and grey hairs by using the RPMs from http://rpmfind.net/linux/rpm2html/search.php?query=perl-Tk

I don't know where to find the non-RPM source :(
I think the umodpack had an INSTALL file that links to where to get it and howto install it.

jailbreaker
10-30-2003, 02:38 PM
I already have installed perl-tk but I just noticed that when I follow what in says in the INSTALL file I get to the install Archive::ZIp I get this error, but I installed this file using synaptic and pod2man is in my PATH (shows up when I "which pod2man):confused: :confused:

Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'

Writing Makefile for Archive::Zip
Makefile:88: *** missing separator. Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

Icarus
10-30-2003, 02:54 PM
Noticed your using Red Hat... Checking into this I found nice juicy Red Hat Bugzilla #87682 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87682) where the perl install is broken and there are two fixes.
1) Change your shells Launguage setting
# echo $LANG
en_US.UTF-8
# LANG=en_US (just drop the UTF-8 ending)
# export LANG

2) Update Perl using the RAWHIDE RPMs


I'll have to try this later myself, I have not been able to use xumod since Red Hat 8...

jailbreaker
10-30-2003, 03:36 PM
where do I change my language settings:confused: I would use the RPMs but too many dependency problems:mad:

Icarus
10-30-2003, 04:08 PM
Sorry, I wasn't too clear on the language thing...

In the terminal enter echo $LANG
This should return with en_US.UTF-8
Then we know it's incorrect so we change it (tempory) with LANG=en_US which should be the same just droping the UTF-8 ending)
then export LANG and now you are using the en_US setting.

This can also be changed in your shell profile which in your ~/HOME, probally the .bash_rc as a guess...

But doing the bit above will work for the current session, if you close the session and open a new one you will need to re-enter the LANG or edit the profile

jailbreaker
10-30-2003, 04:54 PM
I still get the same error:mad: :mad: but I did notice this right when I started "perl Makefile.PL"

Warning: prerequisite Config::Ini 1.06 not found.
Warning: prerequisite Tk 800.02 not found.

and this is my .bashrc (I dont think I edited it right:confused: )

# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
LANG=en_US
fi

jailbreaker
10-31-2003, 02:59 PM
Does anyone have any ideas:confused: