--- Begin Message ---
Subject: |
SDL_mixer not linked against libmikmod |
Date: |
Mon, 10 Nov 2014 23:16:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Contrary to what’s intended, SDL_mixer ends up not linking against
libmikmod. Its ./configure run goes like this:
--8<---------------cut here---------------start------------->8---
checking for fork... yes
checking for vfork... yes
checking for libmikmod-config...
/gnu/store/32mqj92g8bmq8bmr84sw2gckifld0ga0-libmikmod-3.3.3/bin/libmikmod-config
checking for libmikmod - version >= 3.1.10... configure: WARNING: *** Unable to
find MikMod library (http://mikmod.raphnet.net/)
configure: WARNING: MOD support disabled
--8<---------------cut here---------------end--------------->8---
So it’s failing somewhere after the AC_PATH_PROG for libmikmod-config.
Ludo’.
--- End Message ---
--- Begin Message ---
Subject: |
Fixed |
Date: |
Tue, 10 Mar 2015 17:02:24 +0800 |
Fixed in commit 2cb4ca6 by remove asla-lib from inputs.
SDL_mixer do a testing for libmikmod using libmikmod-config.
libmikmod-config.in has:
--libs)
echo address@hidden@ -lmikmod @LIBRARY_LIB@
When built with alsa driver support, @LIBRARY_LIB@ become "-lm -lasound",
require alsa-lib presented to get the test success. But in fact the
use of libmikmod
library don't depends on the drivers (alsa), and the libmikmod.pc
file doesn't have them
in Libs (and Libs.private). So I think it's a bug where @LIBRARY_LIB@
contains '-lasound'.
Instead of dropping @LIBRARY_LIB@ from libmikmod-config.in, I notice
that the only user
of libmikmod is sdl-mixer, which use it's own audio output drivers.
So I'm temped to remove
alsa-lib from libmikmod (the libx11 is unused IIRC).
--- End Message ---