Ubuntu 10.04 Compile problem

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Atlantis810
New user
Posts: 2
Joined: 20 Sep 2010, 01:58

Ubuntu 10.04 Compile problem

Post by Atlantis810 »

Hi,

I have downloaded the 2.3.5 tarball, but when trying to "make" I get a bunch of errors.

This is what I get:

Code: Select all

fivos@fivos-desktop:~/Warzone 2.3.5/warzone2100-2.3.5$ make
make  all-recursive
make[1]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5'
Making all in build_tools
make[2]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/build_tools'
Making all in autorevision
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/build_tools/autorevision'
./autorevision +cstr -v ../.. ../../src/autorevision.h
svn: Path '../..' ends in '..', which is unsupported for this operation
sh: git: not found
sh: git: not found
Warning: could not open input file.
         This does not seem to be a revision controlled project.
Warning: could not open input file.
         This does not seem to be a revision controlled project.
Error: failed retrieving version information.
Warning: using 0 as revision.
Revision unchanged (0). Skipping.
old = "0"; new = "0"
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/build_tools/autorevision'
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/build_tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/build_tools'
make[2]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/build_tools'
Making all in win32
make[2]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/win32'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/win32'
Making all in lib
make[2]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib'
Making all in framework
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/framework'
make  all-am
make[4]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/framework'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/framework'
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/framework'
Making all in exceptionhandler
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/exceptionhandler'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/exceptionhandler'
Making all in script
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/script'
make  all-am
make[4]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/script'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/script'
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/script'
Making all in sequence
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/sequence'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/sequence'
Making all in iniparser
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/iniparser'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/iniparser'
Making all in ivis_common
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/ivis_common'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/ivis_common'
Making all in ivis_opengl
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/ivis_opengl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/ivis_opengl'
Making all in gamelib
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/gamelib'
make  all-am
make[4]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/gamelib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/gamelib'
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/gamelib'
Making all in sound
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/sound'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/sound'
Making all in netplay
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/netplay'
Making all in miniupnpc
make[4]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/netplay/miniupnpc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/netplay/miniupnpc'
make[4]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/netplay'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/netplay'
mkdir -p ".deps" ; for ext in c cpp ; do for a in `cd . ; echo *.$ext` ; do fpref="`echo "$a" | sed "s/\.$ext//"`" ; pofile=".deps/$fpref.Po" ; srcfile="./$a" ; if [ -e "$srcfile" ] && ! grep -q "\b$a\b" "$pofile" 2> /dev/null ; then echo "$fpref.o: $srcfile" | tee "$pofile" ; fi ; done ; done
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/netplay'
Making all in widget
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/widget'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib/widget'
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib'
make[2]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/lib'
Making all in src
make[2]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/src'
mkdir -p ".deps" ; for ext in c cpp ; do for a in `cd . ; echo *.$ext` ; do fpref="`echo "$a" | sed "s/\.$ext//"`" ; pofile=".deps/$fpref.Po" ; srcfile="./$a" ; if [ -e "$srcfile" ] && ! grep -q "\b$a\b" "$pofile" 2> /dev/null ; then echo "$fpref.o: $srcfile" | tee "$pofile" ; fi ; done ; done
make  all-am
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/src'
make[2]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/src'
Making all in data
make[2]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/data'
Making all in mods
make[3]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/data/mods'
Making all in multiplay
make[4]: Entering directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/data/mods/multiplay'
(cd ./dydo-ai && zip -r0 --filesync /home/fivos/Warzone 2.3.5/warzone2100-2.3.5/data/mods/multiplay/dydo-ai.wz multiplay images challenges 2c-Caladan.addon.lev 2c-CaladanB.addon.lev 4c-Arrakis.addon.lev 4c-ArrakisB.addon.lev 4c-Printus.addon.lev -x '*svn*' || [ $? -eq 12 ] && true) # zip returns 12 on "nothing to do"
    zip warning: name not matched: 2.3.5/warzone2100-2.3.5/data/mods/multiplay/dydo-ai.wz
Archive is current
zip -T dydo-ai.wz

zip error: Nothing to do! (dydo-ai.wz)
make[4]: *** [dydo-ai.wz] Error 12
make[4]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/data/mods/multiplay'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/data/mods'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5/data'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fivos/Warzone 2.3.5/warzone2100-2.3.5'
make: *** [all] Error 2
I have followed the http://developer.wz2100.net/wiki/LinuxCompileGuide and installed all the dependencies. Unless this "(libgl1-mesa-dev for the open source drivers, nvidia-glx-dev for the binary Nvidia driver)" means that I should get both libgl1-mesa-dev and nvidia-glx-dev, in witch case I have a problem as "Package nvidia-glx-dev is not available".

Any help would be much appreciated.
thnx
Atlantis810
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Ubuntu 10.04 Compile problem

Post by stiv »

./autorevision +cstr -v ../.. ../../src/autorevision.h
Are you using pathnames with spaces?
Atlantis810
New user
Posts: 2
Joined: 20 Sep 2010, 01:58

Re: Ubuntu 10.04 Compile problem

Post by Atlantis810 »

Yes that was the problem. Thank you!

:)