Anyone get Alien Arena 2009 to work with Ubuntu 9.04?

Asked by Rick Smith on 2009-06-21

I just downloaded Alien Arena 2009. Unzipped it to my home folder on my Ubuntu Studio 9.04 system. Open a term, then navigated to the alienarena2009 folder as per the included readme. When I execute the crx command that starts AA I get the following term output:

     ./crx
     using /home/rsmith/.codered/data1/ for writing
     using/home/rsmith/.codered/arena/ for writing
     executing default.cfg
     couldn't exec config.cfg (There is no config.cfg because it hasn't been created yet.)
     Console initialized.

     ------- sound initialization -------
     Segmentation fault

and I'm back to my command promp.

The /home/rsmith/.codered/data1/ folder created above is empty
The /home/rsmith/.codered/arena/ folder contains one file: qconsole.log with the following:

     Console initialized.

     ------- sound initialization -------
     Console initialized.

     ------- sound initialization -------

I have the older version of AA that "comes" with Ubuntu and it works just fine.
If anyone gets the new AA to work please share it with us.

Update June 22 9:38 AM
I just tried it on one of my Ubuntu 8.10 boxes. It wouldn't work either but with a different error message:

     ./crx
     ./crx error while loading shared libraries: libXxf86dga.so.1: cannot open shared object file: No such
     file or directory

There IS a libXxf86dga.so.1 installed in /usr/lib on the 8.10 system.
Nothing at all pertaining to crx in /var/log/messages.

Isaac's method does indeed work on Ubuntu 9.04 but fails on 8.10.

Rick,

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2009-06-22
Last reply:
2009-06-30

Maybe you need some special options. Audigy cards are a pain in Linux (in my experience) and I personally avoid them like the plague opting for onboard sound which will work with zero effort. I suggest you log a bug and it will get addressed for the next release.

I tried with both onboard sound and USB headphones and get the same segfault.

Isaac McDonald (imcdona) said : #3

I am having the same issue.

2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:57:31 UTC 2009 i686 GNU/Linux

Isaac McDonald (imcdona) said : #4

I get the following in /var/log/messages

[190949.208500] crx[6045]: segfault at 101 ip b78025eb sp bfd3dd3c error 4 in libc-2.9.so[b778b000+15c000]

Isaac McDonald (imcdona) said : #5

Here is what got it working for me:
at the shell type:

sudo apt-get install build-essential libcurl4-openssl-dev libopenal-dev fakeroot devscripts debhelper dpatch libsdl1.2-dev libglu1-mesa-dev libgl1-mesa-dev libjpeg62-dev libxxf86vm-dev libxxf86dga-dev libxext-dev libx11-dev

Curious - that makes it work indeed. Thanks Isaac! (I'm suspicious though as to the many packages; maybe only openssl-dev is required really?)

Rick Smith (rsmith13) said : #7

Isaac McDonald wrote:
> Your question #74931 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/74931
>
> Isaac McDonald proposed the following answer:
> Here is what got it working for me:
> at the shell type:
>
> sudo apt-get install build-essential libcurl4-openssl-dev libopenal-dev
> fakeroot devscripts debhelper dpatch libsdl1.2-dev libglu1-mesa-dev
> libgl1-mesa-dev libjpeg62-dev libxxf86vm-dev libxxf86dga-dev libxext-dev
> libx11-dev
>
>
Thanks Isaac, I'll give it a try on one of my back-up boxes. In Linux it
is usually a lib or permission that keeps something from working. As of
8:00 Eastern time the Alien Arena site is back up after being
slash-dotted all day yesterday. Nothing on the AA forums about this
problem so far. I'm going to keep this thread open, keep checking here
and the AA Linux forum to see if someone comes up with a simpler solution.

--
Our four dimensional universe is a hologram in a three dimensional universe,
which is a hologram in a two dimensional universe,
which is a hologram in a one dimensional universe,
which is a hologram in a point.

Rick Smith (rsmith13) said : #8

Isaac McDonald wrote:
> Your question #74931 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/74931
>
> Isaac McDonald proposed the following answer:
> Here is what got it working for me:
> at the shell type:
>
> sudo apt-get install build-essential libcurl4-openssl-dev libopenal-dev
> fakeroot devscripts debhelper dpatch libsdl1.2-dev libglu1-mesa-dev
> libgl1-mesa-dev libjpeg62-dev libxxf86vm-dev libxxf86dga-dev libxext-dev
> libx11-dev
>
>
I just tried it and it works for 9.04 but doesn't work for 8.10 The new
version of AA is a little buggy. It locked up on me and I had to
<CTrl-ALT-F1> then do a killall crt to get X back.

--
Our four dimensional universe is a hologram in a three dimensional universe,
which is a hologram in a two dimensional universe,
which is a hologram in a one dimensional universe,
which is a hologram in a point.

knutbert (knutbert) said : #9

Ok guys, found the solution:

AA needs openAL, so "apt-get libopenal" should do the trick on ubuntu, I guess.

On my system (which is openSUSE 11.1) I needed to softlink the lib additionally, as AA is looking for libopenal.so.

"ln -s ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so"

<smartass_mode> nothing a little "strace" wouldn't tell you... <\smartass_mode> :-)

Cheers,
knutbert

knutbert (knutbert) said : #10

of course you are aware that one "ln -s" too many slipped into the command I gave above...

(can you edit posts in this board?)

Cheers,
knutbert

Richard Craig (richard1gb) said : #11

Thanks the sym link fixed my problem:

sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so

AA now up and running :-)

Can you help with this problem?

Provide an answer of your own, or ask Rick Smith for more information if necessary.

To post a message you must log in.