Installing Armagetron on Debian

Post here if you need help setting up your server, etc.
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Installing Armagetron on Debian

Post by dukevin »

Blah, I lost my current installation with a vps wipe .. which someone else installed Armagetron for me.
I'm trying to reinstall it, but am hitting a few roadblocks.

I'm reading following the tutorial here
For this tutorial we will use the 0.2.8-armagetronad-ct+sty branch CD into /home/

cd /home/

download the source files

Code: Select all

bzr branch lp:~armagetronad-ct/armagetronad/0.2.8-armagetronad-sty+ct
once the source if finished downloading to the server CD to the branch

Code: Select all

cd /home/0.2.8-armagetronad-sty+ct
now run the bootstrap

Code: Select all

./bootstrap.sh
Now configure the server. You can look up more options for configuration with ./configure --help. But we will configure the server to be, this way

Code: Select all

./configure --disable-glout --enable-authentication --prefix=/home/armagetronad --exec_prefix=/home/armagetronad
once that is configured execute the following command.

Code: Select all

sudo make install
Now your server has been installed in /home/armagetronad/bin
When I get to the 3rd step, running the bootstrap with ./bootstrap.sh
It says,

Code: Select all

Generating version...
Copying license...
Running aclocal...
./bootstrap.sh: line 14: aclocal: command not found
rm: cannot remove `aclocal.m4': No such file or directory
Assuming it worked fine, I continue to the next step, ./configure with flags, but it says no such file as ./configure. I see a configure.ac but that doesn't work.

Any suggestions?
Last edited by dukevin on Thu Mar 17, 2011 12:32 am, edited 1 time in total.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11763
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Installing Armagetron on Debian

Post by Z-Man »

You're missing the dependencies. That doc is for Ubuntu, but debian is similar enough.
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Installing Armagetron on Debian

Post by dukevin »

No luck.

Using this:

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 autoconf autotools-dev libprotobuf-dev
I get this output (can't find package libprotobuf-dev)

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
bzr is already the newest version.
Note, selecting libglew1.5-dev instead of libglew-dev
E: Couldn't find package libprotobuf-dev
Ignoring that and continuing with

Code: Select all

bzr co lp:armagetronad 
cd armagetronad
./bootstrap.sh 
It says the same error:

Code: Select all

vps:/home/duke/0.2.8-armagetronad-sty+ct/armagetronad# ./bootstrap.sh
Generating version...
Copying license...
Running aclocal...
./bootstrap.sh: line 20: aclocal: command not found
rm: cannot remove `aclocal.m4': No such file or directory
vps:/home/duke/0.2.8-armagetronad-sty+ct/armagetronad# ./configure
-bash: ./configure: No such file or directory
Image
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Installing Armagetron on Debian

Post by Jip »

Edit: nvm, misunderstanding
User avatar
INW
Reverse Outside Corner Grinder
Posts: 1950
Joined: Tue Jul 07, 2009 4:10 pm
Location: Charlotte, NC, USA

Re: Installing Armagetron on Debian

Post by INW »

I had this same problem when i installed it. Tazmania knows how to do it.

Code: Select all

$ sudo apt-get install libprotobuf-dev
The command taz had me enter was quite long but I think that one should be enough?
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Installing Armagetron on Debian

Post by dukevin »

INW wrote:I had this same problem when i installed it. Tazmania knows how to do it.

Code: Select all

$ sudo apt-get install libprotobuf-dev
The command taz had me enter was quite long but I think that one should be enough?
Nope...

Code: Select all

vps:~# sudo apt-get install libprotobuf-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libprotobuf-dev
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6714
Joined: Thu Dec 18, 2003 7:03 pm

Re: Installing Armagetron on Debian

Post by Tank Program »

I think you'll have to find an external .deb file for the version of Debian - they generally don't have such "new" software in their repositories. (Or you'll need to compile it from source.)
Image
User avatar
Z-Man
God & Project Admin
Posts: 11763
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Installing Armagetron on Debian

Post by Z-Man »

No, you just don't NEED libprotobuf for sty. Just delete it from the apt-get line.
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Installing Armagetron on Debian

Post by dukevin »

Thanks Z-man, omitting that last file worked! Everything works smoothly :)

However, a small gripe is that when I login @forums, it waits until round end before I get logged in, unlike before where it was almost instant.

Is this because I didn't install with a flag or similar?
Image
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Installing Armagetron on Debian

Post by Jip »

dukevin wrote:However, a small gripe is that when I login @forums, it waits until round end before I get logged in, unlike before where it was almost instant.

Is this because I didn't install with a flag or similar?
For that you will need to install zthreads and ./configure [...] --with-zthread
User avatar
INW
Reverse Outside Corner Grinder
Posts: 1950
Joined: Tue Jul 07, 2009 4:10 pm
Location: Charlotte, NC, USA

Re: Installing Armagetron on Debian

Post by INW »

You need to install Z-thread to your server.

Kyle sent me a nice short tutorial on how to install that which I lost of course.

But ya, your looking for Z-Thread.

EDIT: O jip beat me.
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Installing Armagetron on Debian

Post by dukevin »

Ok, so I just ./configure --with-zthread ?

Do I have to reinstall armagetron and do this or can I just do it right now?
Image
User avatar
kyle
Adjust Outside Corner Grinder
Posts: 2001
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Installing Armagetron on Debian

Post by kyle »

INW wrote:Kyle sent me a nice short tutorial on how to install that which I lost of course.
why do you always loose that

Code: Select all

wget http://voxel.dl.sourceforge.net/sourceforge/zthread/ZThread-2.3.2.tar.gz
tar -xzf ZThread-2.3.2.tar.gz
cd ZThread-2.3.2
./configure CXXFLAGS="-fpermissive" --prefix=/usr/
make && make install

you'll have to reconfigure than reinstall armagetron after you install that
Image
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Installing Armagetron on Debian

Post by dukevin »

Setting up armagetron on another vps, this time I can't make install

Code: Select all


vps:/home/duke/0.2.8-armagetronad-sty+ct/armagetronad# sudo make install
make: .changetag: Timestamp out of range; substituting 1970-01-01 03:00:00
Making install in src
make[1]: Entering directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src'
Making install in first
make[2]: Entering directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src/first'
make[3]: Entering directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src/first'
make -C ../../ install-first
make[4]: Entering directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad'
make[4]: .changetag: Timestamp out of range; substituting 1970-01-01 03:00:00
test -n "/home/armagetronad/bin/armagetronad-dedicated-uninstall" && test -x "/home/armagetronad/bin/armagetronad-dedicated-uninstall" && "/home/armagetronad/bin/armagetronad-dedicated-uninstall" || true
make[4]: Leaving directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src/first'
make[2]: Leaving directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src/first'
Making install in protobuf
make[2]: Entering directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src/protobuf'
protoc tColor.proto --cpp_out=./ --proto_path=. 2>&1 | sed -e "s,^\(.*\).proto,./\1.proto,"
.//bin/bash:.protoc: command not found
g++ -DHAVE_CONFIG_H -I. -I../..   -I. -I..  -I/usr/include/libxml2  -I. -I./ -O2 -pthread -MT libprotobuf_a-tColor.pb.o -MD -MP -MF .deps/libprotobuf_a-tColor.pb.Tpo -c -o libprotobuf_a-tColor.pb.o `test -f 'tColor.pb.cc' || echo './'`tColor.pb.cc
g++: ./tColor.pb.cc: No such file or directory
g++: no input files
make[2]: *** [libprotobuf_a-tColor.pb.o] Error 1
make[2]: Leaving directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src/protobuf'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src'
make: *** [install-recursive] Error 1
Ideas?
Image
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Re: Installing Armagetron on Debian

Post by Jonathan »

dukevin wrote:

Code: Select all

Making install in protobuf
make[2]: Entering directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src/protobuf'
protoc tColor.proto --cpp_out=./ --proto_path=. 2>&1 | sed -e "s,^\(.*\).proto,./\1.proto,"
.//bin/bash:.protoc: command not found
Guess you need protobuf.
ˌɑrməˈɡɛˌtrɑn
Post Reply