Hello....

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
DannyRyu01
Rookie
Rookie
Posts: 23
Joined: 29 Mar 2012, 14:50

Hello....

Post by DannyRyu01 »

Hello, i use linux ubuntu 11.10 i do not get the tar ball thing i can not compile it, i was able to get 2.3.9 to get working but i fear i can not do that again, how do you compile it, and or can you change it to an easyer format?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Hello....

Post by NoQ »

Code: Select all

sudo apt-get build-dep warzone2100
./configure
make
(to be done in the directory where you unpacked the tarball)
DannyRyu01
Rookie
Rookie
Posts: 23
Joined: 29 Mar 2012, 14:50

Re: Hello....

Post by DannyRyu01 »

so i get a new tarball and enter that into terminal and im done?
so like this?
1.get tarball (download folder)
2.open terminal
3.enter code
4.done?
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base

Re: Hello....

Post by Goth Zagog-Thou »

1) You have to extract the tarball to a directory (like /home/[your user name]). What I do is extract it right in /Downloads then cut-paste into /home/[my username]

2) cd into that directory using the terminal.

3) sudo apt-get build-dep warzone2100

4) ./configure --prefix=/home/[your username]/warzone2100-2.3.9 (or ./configure --prefix=/home/[your username]/warzone2100-3.1 if you're using the 3.1 series)

5) make

6) sudo make install

7) Create a launcher. Point the launcher to the directory you were cd'd into plus the /bin folder (so that the command line reads /home/[your username]/warzone2100-2.3.9/bin/warzone2100 for the launcher). The icon for Warzone2100 can be found in /icons in the same warzone main folder. Adjust the command line for whether you use 2.3.9 or 3.1, of course.

Here's the documentation about getting warzone compiled from source. Link

Hope this helps. :)
User avatar
Virus- A
Trained
Trained
Posts: 172
Joined: 04 Dec 2011, 16:40
Location: México

Re: Hello....

Post by Virus- A »

a doubt, this can be done also in a virtual machine?
but in linux ubuntu 11.10
xico - Español/Ingles un poco- -También conocido por "RaNgEl"☜ ☆ ☞ Luis Diego Rangel☜ ☆ ☞ ♪♪♫ ♫
DannyRyu01
Rookie
Rookie
Posts: 23
Joined: 29 Mar 2012, 14:50

Re: Hello....

Post by DannyRyu01 »

Goth Zagog-Thou wrote:1) You have to extract the tarball to a directory (like /home/[your user name]). What I do is extract it right in /Downloads then cut-paste into /home/[my username]

2) cd into that directory using the terminal.

3) sudo apt-get build-dep warzone2100

4) ./configure --prefix=/home/[your username]/warzone2100-2.3.9 (or ./configure --prefix=/home/[your username]/warzone2100-3.1 if you're using the 3.1 series)

5) make

6) sudo make install

7) Create a launcher. Point the launcher to the directory you were cd'd into plus the /bin folder (so that the command line reads /home/[your username]/warzone2100-2.3.9/bin/warzone2100 for the launcher). The icon for Warzone2100 can be found in /icons in the same warzone main folder. Adjust the command line for whether you use 2.3.9 or 3.1, of course.

Here's the documentation about getting warzone compiled from source. Link

Hope this helps. :)
thanks
DannyRyu01
Rookie
Rookie
Posts: 23
Joined: 29 Mar 2012, 14:50

Re: Hello....

Post by DannyRyu01 »

so this is how
1, get tarball and extract to Danny ( my home username)
2, open terminal and drag the home username into terminal
correct me if that is not how to CD, and show me an example how to, please
3,sudo apt-get build-dep warzone2100
4, open terminal again and type

Code: Select all

/configure --prefix=/home/Danny/warzone2100-2.3.9 (or ./configure --prefix=/home/Danny/warzone2100-3.1
5,type make in terminal
6, i type sudo make install
7, i goto desktop add da launcher drag the warzone2100-2.3.9/bin/warzone2100 into the launcher
[the way i installed before was
1, get 2.3.8 i think
2, get the 2.3.9 music folders and data folders and stuff and installed it
3, my 2.3.8 turned to 2.3.9
that is how i did it]
correct me if any of this is wrong and please help me
User avatar
Nameless
Trained
Trained
Posts: 176
Joined: 03 May 2010, 08:25
Location: Space, the Final Frontier

Re: Hello....

Post by Nameless »

Is this what you're trying to do? This may or may not work and is somewhat untested..

Code: Select all

cd ~/Downloads
wget "http://sourceforge.net/projects/warzone2100/files/releases/2.3.9/warzone2100-2.3.9.tar.gz"
tar -xf warzone2100-2.3.9.tar.gz
cd warzone2100-2.3.9
./configure --prefix=/usr --with-distributor="Ubuntu Linux"
make
make install
If you're reading this; you're awesome.