
Compiling .3 beta on Ubuntu 8.04 LTS
Compiling .3 beta on Ubuntu 8.04 LTS
I just downloaded the beta for Linux ( in zip format )and I was having trouble compiling it myself because I am new at Ubuntu and I would like to know a way to compile it in the simplest way possible 

CuRbSidE
you could try this, it works on ubuntu 7.10 for me:
If anyone sees a mistake, feel free to correct me
if you want to grab the latest build using bazaar, you will need to update your sources..
ubuntu by default uses bzr 0.9. Arma bzr needs >=1.0
Add these lines to your /etc/apt/sources.list
then
grab some dependancies, make sure universe repos are enabled in your sources.list
Checkout the latest 0.3 build from bazaar..
then compile...
If anyone sees a mistake, feel free to correct me

if you want to grab the latest build using bazaar, you will need to update your sources..
ubuntu by default uses bzr 0.9. Arma bzr needs >=1.0
Add these lines to your /etc/apt/sources.list
Code: Select all
deb http://ppa.launchpad.net/bzr/ubuntu hardy main
deb-src http://ppa.launchpad.net/bzr/ubuntu hardy main
Code: Select all
sudo apt-get update
Code: Select all
sudo apt-get install bzr build-essential automake libboost-dev libxml2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev ftgl-dev libglew-dev bison pkg-config
Code: Select all
bzr checkout http://bazaar.launchpad.net/~armagetronad-dev/armagetronad/trunk-armagetronad-work
cd trunk-armagetronad-work
Code: Select all
./bootstrap.sh
./configure
make
sudo make install
-
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
Code: Select all
bzr checkout lp:armagetronad

plus i doubt you will need libboost, or SDL for a dedicated server
-
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
er, right, i somewhat thought he wanted to build a dedicateded wrote:Who said it was for dedicated server? These instructions are for client.epsy wrote:plus i doubt you will need libboost, or SDL for a dedicated server
For server you will also need to add --disable-glout to the ./configure
Also as a side note you can use --enable-dedicated on a recent 0.2.8 tree
- Lackadaisical
- Shutout Match Winner
- Posts: 823
- Joined: Sun Dec 21, 2003 4:58 pm
- Location: Amsterdam, Netherlands
- Contact:
Re: Compiling .3 beta on Ubuntu 8.04 LTS
I am running ubuntu 10.04 LTS and I tried installing the trunk from source as ed has described above. However when I do
it gives me the following error:
When I started again from
I saw
gave me a warning about modifying files outside of usr/local/ so I reran configure with --disable-etc as suggested by the warning but it didn't fix the problem.
Code: Select all
sudo make install
Code: Select all
Generating uninstallation script /usr/local/bin/armagetronad-uninstall.../bin/bash: line 4: cd: DESTDIR_UNINSTALL/usr/local/share/doc/games/armagetronad/html/net: No such file or directory
make[7]: *** [uninstall-htmlDATA] Error 1
make[6]: *** [uninstall-recursive] Error 1
make[5]: *** [uninstall-recursive] Error 1
make[4]: *** [uninstall-recursive] Error 1
make[3]: *** [install-uninstall] Error 1
make[3]: Leaving directory `/home/menno/armagetron/trunk-armagetronad-work'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/home/menno/armagetron/trunk-armagetronad-work'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/menno/armagetron/trunk-armagetronad-work'
make: *** [install-recursive] Error 1
Code: Select all
./bootstrap.sh
Code: Select all
./configure
Official Officiant of the Official Armagetron Clan Registration Office
Back (in the sig) by popular demand: Lack draws
Back (in the sig) by popular demand: Lack draws
Re: Compiling .3 beta on Ubuntu 8.04 LTS
Yeah yeah yeah I'll fix that. The uninstall script generator needs to be adapted to latest automake. Pass --disable-uninstall (I think) to configure as a workaround.
- Lackadaisical
- Shutout Match Winner
- Posts: 823
- Joined: Sun Dec 21, 2003 4:58 pm
- Location: Amsterdam, Netherlands
- Contact:
Re: Compiling .3 beta on Ubuntu 8.04 LTS
Thanks, passing --disable-uninstall helped.
Official Officiant of the Official Armagetron Clan Registration Office
Back (in the sig) by popular demand: Lack draws
Back (in the sig) by popular demand: Lack draws