Updating Warzone 2100 to its latest...?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
BravoI
Greenhorn
Posts: 7
Joined: 28 Apr 2011, 09:21

Updating Warzone 2100 to its latest...?

Post by BravoI »

I'm a Linux (Ubuntu 10.10) user and i downloaded WZ2100 from the repository... But now i find that its not the latest version. I downloaded the latest version from this website and now i'm yet struggling to find the installation setup file. How do i install this latest version?

Thanks a lot for your help!
BravoI
Greenhorn
Posts: 7
Joined: 28 Apr 2011, 09:21

Re: Updating Warzone 2100 to its latest...?

Post by BravoI »

I tried a lot but unfortunately i'm not very good at the terminal... Anymore help?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Updating Warzone 2100 to its latest...?

Post by NoQ »

Code: Select all

sudo apt-get build-dep warzone2100
./configure
make
sudo make install
These commands must be called from within the directory where you unpacked the source. use "cd" command to get there. Post specific issues when you encounter any, with full console output.
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Updating Warzone 2100 to its latest...?

Post by NRoach44 »

Nooo! The easiest way to build it is in my signature (build it for ubuntu)!

That way you can uninstall it like the old version, and when you install it, it will upgrade the old one's files and create a Menu entry if needed.
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Updating Warzone 2100 to its latest...?

Post by cybersphinx »

NRoach44 wrote:Nooo! The easiest way to build it is in my signature (build it for ubuntu)!

That way you can uninstall it like the old version, and when you install it, it will upgrade the old one's files and create a Menu entry if needed.
Right.

Not sure if that still works for current master though.
NoQ wrote:

Code: Select all

sudo make install
Wrong.
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Updating Warzone 2100 to its latest...?

Post by NRoach44 »

cybersphinx wrote:
NRoach44 wrote:Nooo! The easiest way to build it is in my signature (build it for ubuntu)!

That way you can uninstall it like the old version, and when you install it, it will upgrade the old one's files and create a Menu entry if needed.
Right.

Not sure if that still works for current master though.
I'm going to try to compile and install master tonight. Any compatibility issues having both simultaneously?
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Updating Warzone 2100 to its latest...?

Post by cybersphinx »

NRoach44 wrote:I'm going to try to compile and install master tonight. Any compatibility issues having both simultaneously?
In .debs, they'll have conflicting files. If you put at least one into its own folder via ./configure --prefix there should be no problems.
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Updating Warzone 2100 to its latest...?

Post by NRoach44 »

cybersphinx wrote:
NRoach44 wrote:I'm going to try to compile and install master tonight. Any compatibility issues having both simultaneously?
In .debs, they'll have conflicting files. If you put at least one into its own folder via ./configure --prefix there should be no problems.
So that wouldn't be using dpkg then?

EDIT: Now that I've read I little more, would I have to run

Code: Select all

./configure --prefix=/home/user/warzone
before dpkg?
Last edited by NRoach44 on 01 May 2011, 13:58, edited 2 times in total.
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Updating Warzone 2100 to its latest...?

Post by NoQ »

cybersphinx wrote:
NoQ wrote:

Code: Select all

sudo make install
Wrong.
Hmm, i never did it myself anyway, but why wrong? You mean one should rather build packages, or something else?
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Updating Warzone 2100 to its latest...?

Post by NRoach44 »

I think he's referring to the sudo, and that you haven't declared a prefix, like in my post above.
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Updating Warzone 2100 to its latest...?

Post by NoQ »

I see. Anyway, i usually just run the game from the folder it was compiled at, without ever installing.
BravoI
Greenhorn
Posts: 7
Joined: 28 Apr 2011, 09:21

Re: Updating Warzone 2100 to its latest...?

Post by BravoI »

Nope it doesnt work. I went here like you said http://nroach.co.cc/blog/2010/12/build- ... or-ubuntu/ but couldnt comment since the comments were off. I got an error though when i entered this command into the terminal:

Code: Select all

dpkg-buildpackage -uc -b
and this was the output it gave me:

Code: Select all

dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1
Theres an error so now what do i do?
BravoI
Greenhorn
Posts: 7
Joined: 28 Apr 2011, 09:21

Re: Updating Warzone 2100 to its latest...?

Post by BravoI »

Hi and thanks everyone for all your help! I finally installed it by going to first here: http://guide.wz2100.net/gettingstarted and second here: http://developer.wz2100.net/wiki/CompileGuideLinux Its working! Thanks again!
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Updating Warzone 2100 to its latest...?

Post by NRoach44 »

Just so i know whats wrong, goto the folder you downloaded it into, and see if there is a folder called debian.
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
Post Reply