CentOS5 make issues for 2.4.0

Questions or HOWTOs about the above? Post 'em here...
Post Reply
jroysdon
Private First Class
Private First Class
Posts: 11
Joined: Sat Jan 10, 2004 5:24 am
Location: Modesto, CA, US
Contact:

CentOS5 make issues for 2.4.0

Post by jroysdon »

Using the same steps as I posted in http://stats.bzflag.org/bb/viewtopic.ph ... 49be323917

However, with CentOS5 I get the follow problems:

[jroysdon@Ox bzflag-2.4.0]$ make
Making all in data
make[1]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/data'
Making all in l10n
make[2]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/data/l10n'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/data/l10n'
Making all in fonts
make[2]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/data/fonts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/data/fonts'
make[2]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/data'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/data'
make[1]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/data'
Making all in include
make[1]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/include'
make all-am
make[2]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/include'
make[1]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/include'
Making all in man
make[1]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/man'
Making all in package
make[1]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/package'
make[2]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/package'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/package'
make[1]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/package'
Making all in src
make[1]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/src'
Making all in other
make[2]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/src/other'
make[3]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/src/other'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/src/other'
make[2]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/src/other'
Making all in 3D
make[2]: Entering directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/src/3D'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -MT BitmapFont.lo -MD -MP -MF ".deps/Bitma
-o BitmapFont.lo BitmapFont.cxx; \
then mv -f ".deps/BitmapFont.Tpo" ".deps/BitmapFont.Plo"; else rm -f ".deps/BitmapFont.Tpo"; exit 1; fi
../../libtool: line 834: X--tag=CXX: command not found
../../libtool: line 867: libtool: ignoring unknown tag : command not found
../../libtool: line 834: X--mode=compile: command not found
../../libtool: line 1000: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 1001: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../libtool: line 1144: Xg++: command not found
../../libtool: line 1144: X-DHAVE_CONFIG_H: command not found
../../libtool: line 1144: X-I.: command not found
../../libtool: line 1144: X-I.: command not found
../../libtool: line 1144: X-I../../include: No such file or directory
../../libtool: line 1144: X-g: command not found
../../libtool: line 1144: X-O2: command not found
../../libtool: line 1144: X-MT: command not found
../../libtool: line 1144: XBitmapFont.lo: command not found
../../libtool: line 1144: X-MD: command not found
../../libtool: line 1144: X-MP: command not found
../../libtool: line 1144: X-MF: command not found
../../libtool: line 1144: X.deps/BitmapFont.Tpo: No such file or directory
../../libtool: line 1144: X-c: command not found
../../libtool: line 1196: XBitmapFont.lo: command not found
../../libtool: line 1201: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [BitmapFont.lo] Error 1
make[2]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/src/3D'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jroysdon/bzflag-tmp/bzflag-2.4.0/src'
make: *** [all-recursive] Error 1

Any ideas? Perhaps it's just time to leave CentOS5 behind.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: CentOS5 make issues for 2.4.0

Post by JeffM »

Install the c++ compiler (g++)
ImageJeffM
jroysdon
Private First Class
Private First Class
Posts: 11
Joined: Sat Jan 10, 2004 5:24 am
Location: Modesto, CA, US
Contact:

Re: CentOS5 make issues for 2.4.0

Post by jroysdon »

I have gcc-c++ installed:

[jroysdon@Ox bzflag-2.4.0]$ rpm -qa | grep gcc
libgcc-4.1.2-50.el5
gcc-4.1.2-50.el5
gcc-c++-4.1.2-50.el5

./configure thinks so as well:
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3

Any other thoughts?
jroysdon
Private First Class
Private First Class
Posts: 11
Joined: Sat Jan 10, 2004 5:24 am
Location: Modesto, CA, US
Contact:

Re: CentOS5 make issues for 2.4.0

Post by jroysdon »

Here is a screenlog dump of the whole process.

http://dl.dropbox.com/u/4573752/bzflag/ ... igure-make
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: CentOS5 make issues for 2.4.0

Post by allejo »

Have you tried updating your version of libtool or using a different version?
jroysdon
Private First Class
Private First Class
Posts: 11
Joined: Sat Jan 10, 2004 5:24 am
Location: Modesto, CA, US
Contact:

Re: CentOS5 make issues for 2.4.0

Post by jroysdon »

$ rpm -q libtool
libtool-1.5.22-7.el5_4

Yup, stock EL5 is too old. ATRPMs has newer and easy to drop in:

wget ftp://ftp.pbone.net/mirror/atrpms.net/s ... 1.i386.rpm
rpm -Uvh libtool-2.2.6-15.5.el5.1.i386.rpm
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: CentOS5 make issues for 2.4.0

Post by allejo »

Have you tried compiling with ATRPMS' libtool 2.2.6? Do you still get an error?
jroysdon
Private First Class
Private First Class
Posts: 11
Joined: Sat Jan 10, 2004 5:24 am
Location: Modesto, CA, US
Contact:

Re: CentOS5 make issues for 2.4.0

Post by jroysdon »

Unfortunately I'm sure there are other things still too out of date. It compiles further, but still errors. Moving on to EL6 instead. Would have been nice to get bzfs and bzadmin working though (headless server for hosting matches).
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: CentOS5 make issues for 2.4.0

Post by allejo »

I think you may want to consider updating everything that is required to compile BZFS and BZAdmin.
User avatar
Bullet Catcher
Captain
Captain
Posts: 564
Joined: Sat Dec 23, 2006 7:56 am
Location: Escondido, California

Re: CentOS5 make issues for 2.4.0

Post by Bullet Catcher »

It compiles cleanly for me on a Red Hat 5 system, which should be nearly identical to CentOS 5. The BZFlag source tarball includes a working configure script, so after unpacking it you should skip the autogen.sh step and proceed directly to ./configure (do not pass GO, do not collect $200).
jroysdon
Private First Class
Private First Class
Posts: 11
Joined: Sat Jan 10, 2004 5:24 am
Location: Modesto, CA, US
Contact:

Re: CentOS5 make issues for 2.4.0

Post by jroysdon »

Bullet Catcher wrote:It compiles cleanly for me on a Red Hat 5 system, which should be nearly identical to CentOS 5. The BZFlag source tarball includes a working configure script, so after unpacking it you should skip the autogen.sh step and proceed directly to ./configure (do not pass GO, do not collect $200).
Can I get an "rpm -qa" output from you?
User avatar
Bullet Catcher
Captain
Captain
Posts: 564
Joined: Sat Dec 23, 2006 7:56 am
Location: Escondido, California

Re: CentOS5 make issues for 2.4.0

Post by Bullet Catcher »

I get the same failure as you when I run autogen.sh, so just skip that step. It looks like we need to update the minimum acceptable version of one or more of the autotools.
jroysdon
Private First Class
Private First Class
Posts: 11
Joined: Sat Jan 10, 2004 5:24 am
Location: Modesto, CA, US
Contact:

Re: CentOS5 make issues for 2.4.0

Post by jroysdon »

No luck even if I skip the autogen.sh step (after nuking the directory and extracting again just to make sure it is all back to defaults). Can you export an "rpm -qa" so I can compare to my own system and see what I'm missing?
Post Reply