Running T-engine under Linux Mint Debian Edition [SOLVED]

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
DarthImbreedous
Higher
Posts: 55
Joined: Sun Oct 10, 2010 7:26 pm

Running T-engine under Linux Mint Debian Edition [SOLVED]

#1 Post by DarthImbreedous »

I get this error message:
[CPU] Detected 4 CPUs
ALSA lib conf.c:3312:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL hw:0
AL lib: alsa.c:797: control open (0): No such file or directory
OpenAL device available: ALSA Software on default (default ALSA Software on default)
OpenAL device available: OSS Software (default ALSA Software on default)
OpenAL device available: Wave File Writer (default ALSA Software on default)
Segmentation fault

Any ideas on what to do?
Last edited by DarthImbreedous on Sun Dec 18, 2011 5:59 pm, edited 1 time in total.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Running T-engine under Linux Mint Debian Edition (can't)

#2 Post by darkgod »

Hi, can you try to run it using gdb please ?
If you dont know how to use gdb simply do:
gdb t-engine

then type 'run'

when it crashes, type "bt" and show me what it says
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

DarthImbreedous
Higher
Posts: 55
Joined: Sun Oct 10, 2010 7:26 pm

Re: Running T-engine under Linux Mint Debian Edition (can't)

#3 Post by DarthImbreedous »

Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/peter1984/varios/juegos/tengine/t-engine...done.
(gdb) run
Starting program: /home/peter1984/varios/juegos/tengine/t-engine
[Thread debugging using libthread_db enabled]
[CPU] Detected 4 CPUs
ALSA lib conf.c:3312:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL hw:0
AL lib: alsa.c:797: control open (0): No such file or directory
OpenAL device available: ALSA Software on default (default ALSA Software on default)
OpenAL device available: OSS Software (default ALSA Software on default)
OpenAL device available: Wave File Writer (default ALSA Software on default)

Program received signal SIGSEGV, Segmentation fault.
0x00009c66 in ?? ()
(gdb) bt
#0 0x00009c66 in ?? ()
#1 0xb725ed65 in pa_threaded_mainloop_new ()
from /usr/lib/i386-linux-gnu/libpulse.so.0
#2 0xb72889a5 in pulse_new ()
from /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
#3 0xb728837e in _snd_pcm_pulse_open ()
from /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
#4 0xb741a5c0 in ?? () from /usr/lib/i386-linux-gnu/libasound.so.2
#5 0xb741abee in ?? () from /usr/lib/i386-linux-gnu/libasound.so.2
#6 0xb7b81d38 in ?? ()
from /home/peter1984/varios/juegos/tengine/lib/libopenal.so.1
#7 0xb7b796c9 in alcOpenDevice ()
from /home/peter1984/varios/juegos/tengine/lib/libopenal.so.1
#8 0x08071e25 in init_openal () at ../src/music.c:115
#9 0x0805060e in main (argc=1, argv=0xbffffa84) at ../src/main.c:968

DarthImbreedous
Higher
Posts: 55
Joined: Sun Oct 10, 2010 7:26 pm

Re: Running T-engine under Linux Mint Debian Edition (can't)

#4 Post by DarthImbreedous »

Figured out a fix: I just apt-getted the packages needed to compile the game (because I figured that if I met the compilation requisite dependencies, I'd likely meet the operation requisites as well) and now it works :) I'll add it here in case someone has this problem in the future and arrives at this post.
sudo apt-get install build-essential subversion mercurial libopenal-dev libogg-dev libpng12-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libvorbis-dev autoconf automake libtool

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Running T-engine under Linux Mint Debian Edition [SOLVED

#5 Post by darkgod »

Cool thanks :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply