[Slackbuilds-users] SDL2_mixer compilation fails
Thomas Szteliga
ts at websafe.pl
Sat Jan 17 18:52:00 UTC 2015
SDL2_mixer
<http://slackbuilds.org/repository/14.1/development/SDL2_mixer>
compilation fails with:
~~~~
libtool: compile: gcc -O2 -fPIC -D_GNU_SOURCE=1 -D_REENTRANT
-I/usr/include/SDL2 -DHAVE_SIGNAL_H -DHAVE_SETBUF -fvisibility=hidden
-DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMODPLUG_MUSIC
-DMODPLUG_DYNAMIC=\"libmodplug.so.1\" -DMID_MUSIC -DUSE_TIMIDITY_MIDI
-I./timidity -DOGG_MUSIC -DOGG_DYNAMIC=\"libvorbisfile.so.3\"
-DFLAC_MUSIC -DFLAC_DYNAMIC=\"libFLAC.so.8\" -MMD -MT build/mixer.lo -c
mixer.c -fPIC -DPIC -o build/.libs/mixer.o
In file included from mixer.c:38:0:
dynamic_modplug.h:24:21: fatal error: modplug.h: No such file or directory
#include "modplug.h"
^
compilation terminated.
make: *** [build/mixer.lo] Error 1
Total build time for package SDL2_mixer : 6.16 Sec
~~~~
I found this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725564
Adding "-I/usr/include/libmodplug" to the compiler flags solved
the problem.
--
Thomas Szteliga
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3692 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150117/9bce53fa/attachment.p7s>
More information about the SlackBuilds-users
mailing list