[SOLVED] Help with WZ2100

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Proudhon
Level 1
Level 1
Posts: 25
Joined: Thu Aug 05, 2010 10:08 pm

[SOLVED] Help with WZ2100

Post by Proudhon »

I downloaded the 2.3.5 but I don't know how to install it.
Last edited by Proudhon on Wed Oct 27, 2010 6:53 am, edited 1 time in total.

User avatar
beefstu
Level 5
Level 5
Posts: 652
Joined: Tue Dec 29, 2009 10:22 am
Location: Southampton, UK

Re: Help with WZ2100

Post by beefstu »

Well you can do it the hard way and compile it from source or the easy way and find it in the software centre where it will install it for you - just search for "warzone"
Please go through the steps here when posting a question. Once your question has been resolved, edit the original question post and add [Solved] to the subject. Both of these will help others use the forum effectively.

Proudhon
Level 1
Level 1
Posts: 25
Joined: Thu Aug 05, 2010 10:08 pm

Re: Help with WZ2100

Post by Proudhon »

Is that an old version?

Proudhon
Level 1
Level 1
Posts: 25
Joined: Thu Aug 05, 2010 10:08 pm

Re: Help with WZ2100

Post by Proudhon »

How do I compile it from source?

User avatar
beefstu
Level 5
Level 5
Posts: 652
Joined: Tue Dec 29, 2009 10:22 am
Location: Southampton, UK

Re: Help with WZ2100

Post by beefstu »

One in software manager is 2.2.4 whereas one from website is 2.3.5 so yeah guess it is kinda old.

There's a pretty good looking and comprehensive guide on the WZ forums here http://developer.wz2100.net/wiki/LinuxCompileGuide
Please go through the steps here when posting a question. Once your question has been resolved, edit the original question post and add [Solved] to the subject. Both of these will help others use the forum effectively.

Proudhon
Level 1
Level 1
Posts: 25
Joined: Thu Aug 05, 2010 10:08 pm

Re: Help with WZ2100

Post by Proudhon »

Okay, I ran everything from http://developer.wz2100.net/wiki/LinuxCompileGuide but when I run "make install" I get this.

Code: Select all

Making install in build_tools
make[1]: Entering directory `/home/mitchell/warzone2100-2.3.5/build_tools'
Making install in autorevision
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/build_tools/autorevision'
./autorevision +cstr -v ../.. ../../src/autorevision.h
sh: svnversion: not found
sh: svn: not found
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]: Entering directory `/home/mitchell/warzone2100-2.3.5/build_tools/autorevision'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/build_tools/autorevision'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/build_tools/autorevision'
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/build_tools'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/build_tools'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/build_tools'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/build_tools'
make[1]: Leaving directory `/home/mitchell/warzone2100-2.3.5/build_tools'
Making install in win32
make[1]: Entering directory `/home/mitchell/warzone2100-2.3.5/win32'
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/win32'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/win32'
make[1]: Leaving directory `/home/mitchell/warzone2100-2.3.5/win32'
Making install in lib
make[1]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib'
Making install in framework
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/framework'
make  install-am
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/framework'
make[4]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/framework'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/framework'
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/framework'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/framework'
Making install in exceptionhandler
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/exceptionhandler'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/exceptionhandler'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/exceptionhandler'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/exceptionhandler'
Making install in script
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/script'
make  install-am
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/script'
make[4]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/script'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/script'
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/script'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/script'
Making install in sequence
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/sequence'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/sequence'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/sequence'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/sequence'
Making install in iniparser
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/iniparser'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/iniparser'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/iniparser'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/iniparser'
Making install in ivis_common
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/ivis_common'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/ivis_common'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/ivis_common'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/ivis_common'
Making install in ivis_opengl
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/ivis_opengl'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/ivis_opengl'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/ivis_opengl'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/ivis_opengl'
Making install in gamelib
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/gamelib'
make  install-am
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/gamelib'
make[4]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/gamelib'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/gamelib'
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/gamelib'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/gamelib'
Making install in sound
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/sound'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/sound'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/sound'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/sound'
Making install in netplay
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/netplay'
Making install in miniupnpc
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/netplay/miniupnpc'
make[4]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/netplay/miniupnpc'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/netplay/miniupnpc'
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/netplay/miniupnpc'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/netplay'
make[4]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/netplay'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/netplay'
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/netplay'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/netplay'
Making install in widget
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/widget'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib/widget'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/widget'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib/widget'
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/lib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib'
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib'
make[1]: Leaving directory `/home/mitchell/warzone2100-2.3.5/lib'
Making install in src
make[1]: Entering directory `/home/mitchell/warzone2100-2.3.5/src'
make  install-am
make[2]: Entering directory `/home/mitchell/warzone2100-2.3.5/src'
make[3]: Entering directory `/home/mitchell/warzone2100-2.3.5/src'
test -z "/opt/warzone2100-trunk/bin" || /bin/mkdir -p "/opt/warzone2100-trunk/bin"
/bin/mkdir: cannot create directory `/opt/warzone2100-trunk': Permission denied
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/home/mitchell/warzone2100-2.3.5/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/mitchell/warzone2100-2.3.5/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/mitchell/warzone2100-2.3.5/src'
make: *** [install-recursive] Error 1

User avatar
beefstu
Level 5
Level 5
Posts: 652
Joined: Tue Dec 29, 2009 10:22 am
Location: Southampton, UK

Re: Help with WZ2100

Post by beefstu »

well there's one line
Permission denied
that suggests it possibly has to be run as root - so you could try

Code: Select all

sudo make install
Its often considered poor advice to say "if it doesn't work as normal, try root" but I think its the best first port of call in this instance.
Please go through the steps here when posting a question. Once your question has been resolved, edit the original question post and add [Solved] to the subject. Both of these will help others use the forum effectively.

Proudhon
Level 1
Level 1
Posts: 25
Joined: Thu Aug 05, 2010 10:08 pm

Re: Help with WZ2100

Post by Proudhon »

Thanks, and "src/warzone2100" works fine after "make"

Post Reply

Return to “Software & Applications”