Trouble with the trunk on (k)ubuntu.

For all the help you need with Armagetron!
Post Reply
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Trouble with the trunk on (k)ubuntu.

Post by ed »

I've tried this on two machines now, one with ubuntu, the other on kubuntu (both 7.10), both with the same result.
Happens with both online and local games.
It will play round 1 fine, then crash before the 2nd round begins. Sometimes, if the 1st round is short it will play round 2, then crash after that.
The console out looks like, on this occasion it made it to round 2:

Code: Select all

ed@ed-desktop:~/tronsvn/binary/bin$ ./armagetronad
Command CAMERA_FORBID_CUSTOM_GLANCE unknown.

Command CAMERA_OVERRIDE_CUSTOM_GLANCE unknown.

Command CAMERA_OVERRIDE_CUSTOM_GLANCE_SERVER_CUSTOM unknown.

Command CAMERA_GLANCE_BACK unknown.

Command CAMERA_GLANCE_RISE unknown.

Command CAMERA_GLANCE_BACK_FROMSPEED unknown.

Command CAMERA_GLANCE_RISE_FROMSPEED unknown.

Command CAMERA_GLANCE_PITCH unknown.

Command CAMERA_SERVER_GLANCE_BACK unknown.

Command CAMERA_SERVER_GLANCE_RISE unknown.

Command CAMERA_SERVER_GLANCE_BACK_FROMSPEED unknown.

Command CAMERA_SERVER_GLANCE_RISE_FROMSPEED unknown.

Command CAMERA_SERVER_GLANCE_PITCH unknown.

music/titletrack.ogg
Track: /home/ed/tronsvn/binary/share/games/armagetronad/music/titletrack.ogg
music/when.ogg
Track: /home/ed/tronsvn/binary/share/games/armagetronad/music/when.ogg
Opened playlist
Should be playing the first sequence
Playing the sequence
Playing the sequence
Sequence change updating
Should be playing the first sequence
Playing the sequence
round!
match!
Playcontinuous: Cycle motor effect
Playcontinuous: Cycle motor effect
Playcontinuous: Cycle motor effect
round!
Playcontinuous: Cycle motor effect
Playcontinuous: Cycle motor effect
Playcontinuous: Cycle motor effect
round!
Segmentation fault (core dumped)
The kubuntu happens to be a fresh install so I can tell you what I did..

Code: Select all

sudo apt-get install build-essential automake subversion libboost-dev libxml2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev ftgl-dev libglew-dev bison pkg-config
Seemed to take care of all the dependencies.

Code: Select all

svn co https://armagetronad.svn.sourceforge.net/svnroot/armagetronad/armagetronad/trunk/armagetronad
cd armagetronad 
./bootstrap.sh 
./configure --prefix ~/tronsvn/binary/
make 
make install
A few warnings, but no errors I could see.
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

My bad! Thanks for reporting. It was the sparks, when they get removed from the game, an illegal memory operation occurs. It was also present in 0.2.8, and nobody noticed because we're all playing and testing without sparks :) Update and it should be fixed.
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

All working. Thanks.

Out of it came a very basic tutorial to running the trunk (at time of writing) on ubuntu:

Code: Select all

sudo apt-get install build-essential automake subversion libboost-dev libxml2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev ftgl-dev libglew-dev bison pkg-config
svn co https://armagetronad.svn.sourceforge.net/svnroot/armagetronad/armagetronad/trunk/armagetronad 
cd armagetronad 
./bootstrap.sh 
./configure --prefix ~/tronsvn/binary/ 
make 
make install
simply replace ~/tronsvn/binary/ with the path you want to install it to. This will leave any current arma installations intact.
Then $install_path/bin/armagetronad to run it.
Post Reply