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:

Re: Installing Armagetron on Debian

Post by dukevin »

Code: Select all


vps:/home/duke/0.2.8-armagetronad-sty+ct/armagetronad# apt-get install protobuf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package protobuf

Image
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 »

this also happened to me. taz helped me get by it. Just install it.

apt-get install protobuf

That should work.
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 »

nope, see above "can't find package protobuf"
Image
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 »

o...derp.

I just found this topic: http://forums3.armagetronad.net/viewtop ... 22&t=19684
Kyle wrote:this is how I've been installing protobuff on CT's debian servers

Code: Select all

wget http://protobuf.googlecode.com/files/protobuf-2.0.3.tar.bz2
tar -jxvf ./protobuf-2.0.3.tar.bz2
cd protobuf-2.0.3
./configure --prefix=/usr
make
make install

worked just fine for me last night :)
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 »

Ah, thanks INW that seemed to work. Protobuf seems installed, but make install for armagetron gives a new error :P

Code: Select all

...
' || echo './'`engine/ePlayer.cpp
virtual memory exhausted: Cannot allocate memory
make[2]: *** [libengine_a-ePlayer.o] Error 1
make[2]: Leaving directory `/home/duke/0.2.8-armagetronad-sty+ct/armagetronad/src'
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
vps:/home/duke/0.2.8-armagetronad-sty+ct/armagetronad#

Now what
Image
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 »

It looks like your "memory has been exhausted"?

Did you install something that destroyed the storage on your VPS?
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Re: Installing Armagetron on Debian

Post by Tank Program »

Looks like your VPS is running out of RAM according to a quick google. This looks like it might be helpful.
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 »

Yeah, I apparently had samba server running without me knowing, thanks everyone!
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 »

Jip wrote:For that you will need to install zthreads and ./configure [...] --with-zthread
I installed armagetron without zthread but I deleted everything in /home (left armagetron binaries) and proceed to reinstall arma with ./configure blah --with-zthread but logging in still takes until round end. Do I have to completely remove armagetron from my whole vps before I reconfigure with zthread?
Image
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Installing Armagetron on Debian

Post by Jip »

I think 0.3 doesnt support zthread but pthread but i am not sure. Doesnt work for me with trunk either.
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 »

nah I'm using sty+ct
Image
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Installing Armagetron on Debian

Post by Jip »

You sure you did that?
./configure <args>
make
make install

Edit: do

Code: Select all

make clean
before
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 never added the Z-Thread install line in with the ./config. I configured tron and at the very end after everything was done and installed, I did this:

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
That is all you should have to do.
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 »

I had a make error on the z-treads but I ran it again and it worked.

I also did the make clear so that could have also helped.

Thanks again, you guys rock :)

I'll probably update the wiki for the greater good.
Image
DJ_RICHARD
Posts: 7
Joined: Sun Sep 19, 2010 12:46 am

Re: Installing Armagetron on Debian

Post by DJ_RICHARD »

Im having the same problem on ubuntu as duke i been trying to install it but i have failed and get the same error

Image
See the same stuff
Post Reply