gmake install fails

For all the help you need with Armagetron!
Post Reply
rookbluff
Posts: 1
Joined: Mon Feb 28, 2005 4:47 am

gmake install fails

Post by rookbluff »

Dudes,

I just downloaded the source for armagetronad-source-0.2.7.0 to build it on my linux box.

Here's what happens when I try to install it:

Code: Select all

root@foobox armagetronad-source-0.2.7.0 # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux
checking host system type... x86_64-unknown-linux
checking target system type... x86_64-unknown-linux
checking for X... libraries , headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for exp in -lm... yes
checking for SDL_Init in -lSDL... yes
-Wl,-rpath,/usr/lib -lSDL -lpthread -lm
checking for glVertex3f in -lGL... yes
-lGL -Wl,-rpath,/usr/lib -lSDL -lpthread -lm
checking for gluBuild3DMipmaps in -lGLU... yes
checking for main in -lz... yes
checking for main in -lpng... yes
checking for main in -ljpeg... yes
checking for IMG_Load in -lSDL_image... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes

checking SDL_image.h usability... yes
checking SDL_image.h presence... yes
checking for SDL_image.h... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for select... yes
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/engine/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/render/Makefile
config.status: creating src/ui/Makefile
config.status: creating src/network/Makefile
config.status: creating src/tron/Makefile
config.status: creating Makefile
config.status: creating Makefile.global
config.status: creating batch/install
config.status: creating batch/uninstall
config.status: creating batch/starter
config.status: creating batch/serverstarter
config.status: creating batch/masterstarter
config.status: creating batch/rcd_server
config.status: creating batch/rcd_master
config.status: creating batch/pushscores
config.status: creating batch/stat
config.status: creating html.m4
config.status: creating language/languages.txt
config.status: creating config/aiplayers.cfg
config.status: creating doc/Makefile
config.status: creating doc/net/Makefile
config.status: creating config.h
So far so good...

Code: Select all

root@foobox armagetronad-source-0.2.7.0 # gmake install
test "." = "." || cp ./language/*.txt language
echo "x" > language/.tag
test "." = "." || cp ./config/*.cfg config
test "." = "." || cp ./config/*.srv config
echo "x" > config/.tag
mkdir var
./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
echo timestamp > config.h.stamp
echo "break st_Breakpoint" > .gdbinit
chmod 755 batch/*
touch src/dep
gmake -kC src/tron
gmake[1]: Entering directory `/home/bowens/downloads/armagetronad/armagetronad-source-0.2.7.0/src/tron'
Makefile:30: dep: No such file or directory
rm -f dep
for f in  "."; do \
 if [ -r ./$f ] ; then \
  if [ "$f" != "." ] ; then \
   if ! [ -r $f/dep ] ; then\
    gmake dep -C $f;\
   fi;\
  fi;\
  for x in `find ./$f/ -name \*.cpp` ; do\
            echo "Generating dependencies for $x" ; \
            DEPS=`g++ -E -I. -I.. -I../.. -g -O2 -I/usr/include/SDL -D_REENTRANT -I../../src/tools/ -I../../src/engine/ -I../../src/network/ -I../../src/ui/ -I../../src/render/  -I ./$f -I../../src -M $x | sed -e 's/\\\//'`;\
   if [ "$DEPS" != "" ] ; then\
    echo  -e $f/$DEPS >> dep;\
   fi;\
   echo >> dep;\
  done;\
 fi;\
done
Generating dependencies for ././gArmagetron.cpp
Generating dependencies for ././gAIBase.cpp
Generating dependencies for ././gFloor.cpp
Generating dependencies for ././gSpawn.cpp
Generating dependencies for ././gSparks.cpp
Generating dependencies for ././gStuff.cpp
Generating dependencies for ././gWall.cpp
Generating dependencies for ././gArena.cpp
Generating dependencies for ././gCycle.cpp
Generating dependencies for ././gWinZone.cpp
Generating dependencies for ././gLogo.cpp
Generating dependencies for ././gExplosion.cpp
Generating dependencies for ././gGame.cpp
Generating dependencies for ././gLanguageMenu.cpp
Generating dependencies for ././gServerBrowser.cpp
Generating dependencies for ././gSensor.cpp
Generating dependencies for ././gCamera.cpp
Generating dependencies for ././gMenus.cpp
Generating dependencies for ././gAICharacter.cpp
Generating dependencies for ././gTeam.cpp
rm -f *.u
touch dep
gmake[1]: Leaving directory `/home/johnny/downloads/armagetronad/armagetronad-source-0.2.7.0/src/tron'
gmake[1]: Entering directory `/home/johnny/downloads/armagetronad/armagetronad-source-0.2.7.0/src/tron'
dep:1: *** missing separator.  Stop.
gmake[1]: Leaving directory `/home/johnny/downloads/armagetronad/armagetronad-source-0.2.7.0/src/tron'
gmake: *** [all] Error 2
Does anyone have any ideas on this? I'd really like to play this cool game on my box.
I don't know if this matters, but I am running an AMD64 architecture.
User avatar
llaffer2
Core Dumper
Posts: 115
Joined: Fri May 07, 2004 9:22 pm

Post by llaffer2 »

Did you get the code from cvs? or from another method.

I did a raw-cvs download and compile on Feb 18 (AMD64) and had no problems.

what version of gcc do you have? I have 3.4.3.

Was there any changes to cvs since Feb 18 that may break anything? (question obviously to z-man there).
User avatar
Z-Man
God & Project Admin
Posts: 11587
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

You are probably using GCC 3.4, the sources for 0.2.7.0 and 0.2.6.0 are incompatible with it. I'm afraid that for this particular problem, there is no patch floating around, but Armagetron 0.2.6.1 ( released yesterday ) or Armagetron Advanced CVS should work.

Or you can fix the problem manually: everytime this error appears, open up the .dep-file the error comes from ( this will happen several times ) and delete its entire content. Don't delete the files themselves, they will be regenerated. Edit: I just remembered that this won't help you because the source itself is incompatible.
User avatar
/dev/null
Shutout Match Winner
Posts: 819
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Post by /dev/null »

gcc 3.4 likes to to die on memtool or something similar iirc.
Post Reply