You are not logged in.
Hello,
I've been trying to install Stepmania from the AUR, but in the building process, I receive this error:
*** liblua is required to build StepMania; please make sure that
*** it is installed to continue the installation process.
What can I do to be able to compile it?
Greetings
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
Reading the comments for the AUR PKGBUILD is a good habit ![]()
If you indeed have lua installed:
Comment by: Beini on Mon, 28 Sep 2009 10:59:58 +0000
Build fails to find lua with the new LDFLAGS. I'm not sure if it's a lua problem and will be fixed there but in the meantime
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
can be added to the PKGBUILD to make it build.
archlinux x86_64 user || My PKGBUILDs
Offline
I'm sorry for not reading it previously
, I'll take into account for the next time.
I could begin the compiling process, however the compiling fails at some point. First, it fail in a point which I could solve using the tip of the last comment from the AUR package (I'm using a 64bits system):
did not compile on 64 bit without this simple patch from gentoo: http://bugs.gentoo.org/attachment.cgi?id=196884 (from: http://bugs.gentoo.org/276717 )
However now I receive another compiling error:
mv -f .deps/RageSurface_Load.Tpo .deps/RageSurface_Load.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -finline-limit=300 -march=x86-64 -mtune=generic -O2 -pipe -MT RageSurface_Load_PNG.o -MD -MP -MF .deps/RageSurface_Load_PNG.Tpo -c -o RageSurface_Load_PNG.o RageSurface_Load_PNG.cpp
RageSurface_Load_PNG.cpp: In function 'void<unnamed>::RageFile_png_read(png_struct*, png_byte*, png_size_t)':
RageSurface_Load_PNG.cpp:43: warning: 'png_struct_def::io_ptr' is deprecated (declared at /usr/include/png.h:1090)
RageSurface_Load_PNG.cpp:43: warning: 'png_struct_def::io_ptr' is deprecated (declared at /usr/include/png.h:1090)
RageSurface_Load_PNG.cpp: In function 'void<unnamed>::PNG_Error(png_struct*, const char*)':
RageSurface_Load_PNG.cpp:69: warning: 'png_struct_def::error_ptr' is deprecated (declared at /usr/include/png.h:1087)
RageSurface_Load_PNG.cpp:69: warning: 'png_struct_def::error_ptr' is deprecated (declared at /usr/include/png.h:1087)
RageSurface_Load_PNG.cpp: In function 'void<unnamed>::PNG_Warning(png_struct*, const char*)':
RageSurface_Load_PNG.cpp:79: warning: 'png_struct_def::error_ptr' is deprecated (declared at /usr/include/png.h:1087)
RageSurface_Load_PNG.cpp:79: warning: 'png_struct_def::error_ptr' is deprecated (declared at /usr/include/png.h:1087)
RageSurface_Load_PNG.cpp: In function 'RageSurface*<unnamed>::RageSurface_Load_PNG(RageFile*, const char*, char*, bool)':
RageSurface_Load_PNG.cpp:142: error: 'png_set_gray_1_2_4_to_8' was not declared in this scope
make[2]: *** [RageSurface_Load_PNG.o] Error 1
make[2]: Leaving directory `/home/davigetto/CentroPruebas/stepmania/src/StepMania-3.9-src/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/davigetto/CentroPruebas/stepmania/src/StepMania-3.9-src/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...Any ideas?
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
Yeah, that's because of the new libpng. So you need one more patch. ![]()
Here's a quick patch I made:
http://shelli.fi/~bane/stepmania-3.9-libpng14.patch
At least I was able to compile it successfully with that patch.
archlinux x86_64 user || My PKGBUILDs
Offline
Now, It worked fine (it compiled well and executes fine, not as good as in windows for now in my pc...)
I wonder why there is not a good PKGBUILD in AUR (a newbie may not be able to compile it). Is modifying the PKGBUILD exclusive responsability of the mantainer or is there something I can do, for example?
Greetings and thanks Belni!
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline