Red Hat 8, problem using make

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
dunger
Atmospheric Pilot
Atmospheric Pilot
Posts: 1
Joined: Fri Mar 07, 2003 12:16 am
Location: Ridgecrest,California,U.S.
Contact:

Red Hat 8, problem using make

Post by dunger »

I am interested in programming, and so I would like to begin compiling and tinkering with
vegastrike. I can play in with the rpm's, however I would like to compile it as well and begin
learning the process of using ./configure make and make install and tools like this. I loaded
all my libraries and got ./configure working properly when I run make the errors that I recieve
are as follows:

Code: Select all

make all-recursive
make[1]: Entering directory '/home/dunger/games/vegastrike-0.3.0'
Making all in src
make[2]: Entering directory '/home/dunger/games/vegastrike-0.3.0/src'
Making all in cmd
make[3]: Entering directory '/home/dunger/games/vegastrike-0.3.0/src/cmd'
Making all in ai
make[4]: Entering directory '/home/dunger/games/vegastrike-0.3.0/src/cmd/ai'
source='comm_ai.cpp' object=\comm_ai.o' libtool=no \
depfile='.deps/comm_ai.Po' tmpdepfile='.deps/comm_ai.TPo' \
depmode=none /bin/sh ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I ../../ -D_UDP_PROTO -DHAVE_SDL=1 -DS
DL_WINDOWING=1          -DHAVE_AL=1     -I/usr/local/include/python2.2 -DHAVE_PYTHON =1 -I../boost129 -I../../boost129 -I../src/boost129 -DUSE_BOOST_129    
-02 -g -Wall  -ffast-math  -fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-
functions=2 -I/usr/include/SDL    -D_REENTRANT -pipe -c -o comm_ai.o 'test -f 'comm_ai.cpp' || echo './'`comm_ai.cpp
make[4]:Leaving directory `/home/dunger/games/vegastrike-0.3.0/src/cmd/ai'
make[3]:Leaving directory `/home/dunger/games/vegastrike-0.3.0/src/cmd'
make[2]:Leaving directory `/home/dunger/games/vegastrike-0.3.0/src'
make[1]:Leaving directory `/home/dunger/games/vegastrike-0.3.0'

Not being familiar with make I think I would need to understand what 

depcomp 

is, but I looks like when make goes into $HOME/vegastrike-0.3.0/src/cmd/ai it can't build
libraries with the source code files. Maybe I am going in the wrong direction but some
help from a hacker would help. In the mean time I am going to study up on make with
the info make command and just tinker around with it

Here is some info that might help

Red Hat 8
Gnome
I ran configure and make  as superuser I don't know if that make any difference
all libraries that I need are installed

Sincerely,
Dan Unger 

p.s. Vegastrike is very cool, it's fun just playing around with and congrads on getting into Stanford, but I would have gone to Berkely  :D 
"May the source be with you"
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

hey glad you're interested in helping

I didn't see any errors in your paste

but the most common autoconf fix is as follows (in the toplevel vegastrike dir)

aclocal
autoconf
automake -a --add-missing
./configure --enable-debug
make


that should get it working unless you have an old gcc version

give that a try
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply