gOS issues...

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
Ritwick
New user
Posts: 2
Joined: 12 Apr 2009, 21:51

gOS issues...

Post by Ritwick »

Hi all, this is my 1st post here. I am a complete newbie to linux distros. I am using gOS. I am a big fan of wz2100. but the fact is I can't get it installed. I followed your linux compiling guide to the word.

http://developer.wz2100.net/wiki/LinuxCompileGuide

But there is something missing. can somebody guide me through the process. I don't want to install it under wine. Because I want to play it with cheats this time, cause I am pretty much pissed off with getting my ass kicked by nexus each time @ mission 13 & the wine version is not supporting cheats.

I am posting my terminal window here.

Code: Select all

neo@Matrix:~$ sudo apt-get install subversion build-essential automake flex bison
[sudo] password for neo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[b]subversion is already the newest version.
build-essential is already the newest version.
automake is already the newest version.
flex is already the newest version.
bison is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[/b]neo@Matrix:~$ sudo apt-get install libpopt-dev libpng12-dev libsdl1.2-dev libsdl-net1.2-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[b]libpopt-dev is already the newest version.
libpng12-dev is already the newest version.
libsdl1.2-dev is already the newest version.
libsdl-net1.2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[/b]
neo@Matrix:~$ sudo apt-get install libopenal-dev libphysfs-dev libvorbis-dev libtheora-dev libglc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[b]libopenal-dev is already the newest version.
libphysfs-dev is already the newest version.
libvorbis-dev is already the newest version.
libtheora-dev is already the newest version.
libglc-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[/b]
neo@Matrix:~$ sudo apt-get install libsqlite3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[b]libsqlite3-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[/b]
neo@Matrix:~$ sudo apt-get install libglc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[b]libglc-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[/b]
Then I installed the files from [url]svn co svn://svn.gna.org/svn/warzone/trunk/ .
[/url]
neo@Matrix:~$ cd warzone
neo@Matrix:~/warzone$ ./autogen.sh
+ checking for autoconf >= 2.56 ... found 2.61, ok.
+ checking for automake >= 1.10 ... found 1.10.1, ok.
+ running aclocal ...
+ running autoheader ... 
+ running autoconf ... 
+ running automake ... 
+ removing config.cache ... 

Now type './configure && make' to compile.
neo@Matrix:~/warzone$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for bison... bison -y
checking for bison >= 1.31... found 2.3, ok
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for flex >= 2.5.33... found 2.5.34, ok
checking for flex != 2.5.34... configure: error: found 2.5.34, not ok
neo@Matrix:~/warzone$ make
make: *** No targets specified and no makefile found.  Stop.
This is where I am getting confused. Am I doing something wrong?
Kamaze
Regular
Regular
Posts: 1017
Joined: 30 Jul 2006, 15:23

Re: gOS issues...

Post by Kamaze »

checking for flex >= 2.5.33... found 2.5.34, ok
checking for flex != 2.5.34... configure: error: found 2.5.34, not ok
Configure aborted, so no makefile was generated. I think there are/where some compatibility issues with certain flex versions.
We all have the same heaven, but not the same horizon.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: gOS issues...

Post by Zarel »

Ritwick wrote:This is where I am getting confused. Am I doing something wrong?
You're using the wrong version of Flex. You have Flex 2.5.34. You need either Flex 2.5.33, Flex 2.5.35, or newer.
Ritwick
New user
Posts: 2
Joined: 12 Apr 2009, 21:51

Re: gOS issues...

Post by Ritwick »

Then how do I do this? I mean get the previous version of flex?
User avatar
whippersnapper
Regular
Regular
Posts: 1183
Joined: 21 Feb 2007, 15:46

Re: gOS issues...

Post by whippersnapper »

.
"I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction." Anthem

"Art is the selective recreation of reality according to the artist's metaphysical value judgments." A. Rand
.
User avatar
mcdebugger
Trained
Trained
Posts: 66
Joined: 02 Feb 2007, 20:54
Location: Russian Federation
Contact:

Re: gOS issues...

Post by mcdebugger »

Ritwick, do you really need latest svn version?
Maybe it's better just to install warzone2100 from repo?
Some's like that:

Code: Select all

sudo apt-get install warzone2100
And... Yeap. You need different version of flex
qwerty800
Trained
Trained
Posts: 183
Joined: 07 Mar 2008, 21:23

Re: gOS issues...

Post by qwerty800 »

You should compilee flex yourself.
I recommand you to upgrade rather to downgrade it.

http://sourceforge.net/project/showfile ... p_id=97492
Post Reply