how to install wz2100 on linux?
how to install wz2100 on linux?
I installed ubuntu 9.10 today.
I run the command "./configure && make" to build wz2100 and met some problem:
how to?thanks.
--------------------------
creatxr@creatxr-laptop:~/SOFTS/warzone2100-2.2.4$ ./configure && make
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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for bison... no
checking for byacc... no
configure: error: Bison is not installed
creatxr@creatxr-laptop:~/SOFTS/warzone2100-2.2.4$
I run the command "./configure && make" to build wz2100 and met some problem:
how to?thanks.
--------------------------
creatxr@creatxr-laptop:~/SOFTS/warzone2100-2.2.4$ ./configure && make
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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for bison... no
checking for byacc... no
configure: error: Bison is not installed
creatxr@creatxr-laptop:~/SOFTS/warzone2100-2.2.4$
Re: how to install wz2100 on linux?
Install bison.configure: error: Bison is not installed
Linux packages come in two parts. For any package 'foo', there is the basic 'foo' that provides the libraries needed to run a program. To compile that program, you also need the 'foo-devel' package that contains the header files. Depending on your distro, the header package may be called 'foo-dev'. In either case, you need both parts.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: how to install wz2100 on linux?
I 've downloaded and installed many "foo" packages.
Now I 've problem with "configure: error: PhysicsFS header not found."
I've downloaded "physfs-2.0.0.tar.gz" and unzip and add to "$PATH".
but it has still the problem.
where to place it or export a variant?
Now I 've problem with "configure: error: PhysicsFS header not found."
I've downloaded "physfs-2.0.0.tar.gz" and unzip and add to "$PATH".
but it has still the problem.
where to place it or export a variant?
Re: how to install wz2100 on linux?
Did you actually compile and install physfs or just untar it?
Re: how to install wz2100 on linux?
now I found that it must use "cmake".
I tried using "cmake" to compile it.
-----
"CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name."
-----
but I found that there is "gcc" in "/usr/bin".
What library does it require? glibcxx?
I tried using "cmake" to compile it.
-----
"CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name."
-----
but I found that there is "gcc" in "/usr/bin".
What library does it require? glibcxx?
Re: how to install wz2100 on linux?
Do you have g++ installed? (the C++ compiler)
And doesn't Ubuntu have a package for physfs? (dont' forget the -dev package!)
After a little research - the new 2.0 version of physfs uses cmake. you probably want the 1.0 version which uses the old autoconf (./configure) stuff.
And doesn't Ubuntu have a package for physfs? (dont' forget the -dev package!)
After a little research - the new 2.0 version of physfs uses cmake. you probably want the 1.0 version which uses the old autoconf (./configure) stuff.
Re: how to install wz2100 on linux?
thanks .
I didn't success make "physfs", but i install by package manager now.
I've another problem:
configure: error: SDL OpenGL header not found. Please install SDL with OpenGL support.
which package i need?
I've installed "libsage2" and "libsage-dev" which "supports OpenGL in SDL applications" by package manager.
I didn't success make "physfs", but i install by package manager now.
I've another problem:
configure: error: SDL OpenGL header not found. Please install SDL with OpenGL support.
which package i need?
I've installed "libsage2" and "libsage-dev" which "supports OpenGL in SDL applications" by package manager.
Re: how to install wz2100 on linux?
creatxr wrote:thanks .
I didn't success make "physfs", but i install by package manager now.
I've another problem:
configure: error: SDL OpenGL header not found. Please install SDL with OpenGL support.
which package i need?
I've installed "libsage2" and "libsage-dev" which "supports OpenGL in SDL applications" by package manager.
"procedure for Debian-based systems" on the LinuxCompileGuide in the wiki will take care of everything you need for Ubuntu 9.10.
Re: how to install wz2100 on linux?
Can you link me to this wiki? Brand new to Warzone and I'm a bit confused as to where to find info. Kind of thought detailed install instructions would be in the user guide but I guess not.
I am using a deb based system and even the version at playdeb.net is 2.2.2 rather than 2.2.4 (at least, 2.2.2 is what I ended up with)
So I don't know how to get to 2.2.4 on my Mint8 without doing some kind of compile (which I've never done before!)
I am using a deb based system and even the version at playdeb.net is 2.2.2 rather than 2.2.4 (at least, 2.2.2 is what I ended up with)
So I don't know how to get to 2.2.4 on my Mint8 without doing some kind of compile (which I've never done before!)
Re: how to install wz2100 on linux?
What's wrong with the install instructions on the user guide? See http://guide.wz2100.net/gettingstarted#linuxaharown07 wrote:Can you link me to this wiki? Brand new to Warzone and I'm a bit confused as to where to find info. Kind of thought detailed install instructions would be in the user guide but I guess not.
I am using a deb based system and even the version at playdeb.net is 2.2.2 rather than 2.2.4 (at least, 2.2.2 is what I ended up with)
So I don't know how to get to 2.2.4 on my Mint8 without doing some kind of compile (which I've never done before!)
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: how to install wz2100 on linux?
You use "make install".Zarel wrote:What's wrong with the install instructions on the user guide?
Re: how to install wz2100 on linux?
What's wrong with that? We haven't switched over to cmake or anything yet, have we?cybersphinx wrote:You use "make install".
Re: how to install wz2100 on linux?
checking SDL/SDL_net.h usability... no
checking SDL/SDL_net.h presence... no
checking for SDL/SDL_net.h... no
configure: error: SDL_net header not found.
-------------------------------------------------------------------
but i found that it is here :
/usr/local/include/SDL/SDL_net.h
-----------------------------------------------------
checking SDL/SDL_net.h presence... no
checking for SDL/SDL_net.h... no
configure: error: SDL_net header not found.
-------------------------------------------------------------------
but i found that it is here :
/usr/local/include/SDL/SDL_net.h
-----------------------------------------------------
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: how to install wz2100 on linux?
http://developer.wz2100.net/wiki/LinuxC ... InstallingZarel wrote:What's wrong with that?