Forums » StepMania Releases » Installing SM5 on Linux

Long post replaced with link to instructions calexil wrote on the wiki.

Report any problems here.

Last edited: 16 March 2016 4:50pm

< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
@Kyzentun thank you for the installation instructions.

I am working my way through the configure script but I would like to point out that line 7744 should be '#include <GL/gl.h>' instead of '#include <"GL/gl.h">'
Reply
@Kyzentun could you please offer suggestions how to resolve a compile error in arch/InputHandler/InputHandler_Linux_Event.cpp

I am using the installation instructions you posted and the configure script ran succesfully. I however get the following error messages when running the Makefile:
g++ -DHAVE_CONFIG_H -I. -I../extern/jsoncpp/include -fno-exceptions -finline-limit=300 -Wall -W -Wno-unused-parameter -Wno-switch -O3 -I/home/godfree/dance/stepmania/bundle/ffmpeg -MT arch/InputHandler/stepmania-InputHandler_Linux_Event.o -MD -MP -MF arch/InputHandler/.deps/stepmania-InputHandler_Linux_Event.Tpo -c -o arch/InputHandler/stepmania-InputHandler_Linux_Event.o `test -f 'arch/InputHandler/InputHandler_Linux_Event.cpp' || echo './'`arch/InputHandler/InputHandler_Linux_Event.cpp
arch/InputHandler/InputHandler_Linux_Event.cpp: In member function ‘void InputHandler_Linux_Event::InputThread()’:
arch/InputHandler/InputHandler_Linux_Event.cpp:393: error: ‘BTN_TRIGGER_HAPPY1’ was not declared in this scope
arch/InputHandler/InputHandler_Linux_Event.cpp:393: error: ‘BTN_TRIGGER_HAPPY40’ was not declared in this scope
arch/InputHandler/InputHandler_Linux_Event.cpp: At global scope:

Thanks
Reply
Try installing the "linux-headers" package for the kernel version you're using.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
I have a very unreliable connection so I downloaded the sources from github on a windows computer and copied them to the linux box but cannot get it to compile.
I'm getting "undefined reference to `png_set_longjmp_fn'"
Running Debian 7.5.0 32bit (i386) on a MK9 PIU CPU.
As I read on the internet this is related to the version of libpng I have on my system (libpng12) but haven't found a way to update to libpng15 which is the one used by SM5.

Last edited: 13 July 2014 7:11pm

Reply
After checking what version of libpng I have, I have libpng 1.2.50 installed, so it's not the version that's the problem. Make sure you install the "-dev" version of the package, so that the headers and such necessary for building other programs that use it are installed.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
Now I'm building on a laptop computer since the PIU CPU is not always available.
After doing a make check I get this now:
In function `child_process()':

CrashHandlerChild.cpp:(.text.unlikely+0x4a5): undefined reference to `version_time'
CrashHandlerChild.cpp:(.text.unlikely+0x4b9): undefined reference to `version_date'
CrashHandlerChild.cpp:(.text.unlikely+0x4c2): undefined reference to `version_num'
LuaManager.o: In function `LuaFunc_VersionDate(lua_State*)':
LuaManager.cpp:(.text+0x5c6): undefined reference to `version_date'
LuaManager.o: In function `LuaFunc_VersionTime(lua_State*)':
LuaManager.cpp:(.text+0x6e6): undefined reference to `version_time'
collect2: error: ld returned 1 exit status
make[2]: *** [test_audio_readers] Error 1
make[2]: Leaving directory `/home/david/Desktop/saucemania/src'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/david/Desktop/saucemania/src'
make: *** [check-recursive] Error 1
Reply
You probably didn't install the liblua5.1-0-dev package.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply