unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19015: SDL_mixer not linked against libmikmod
@ 2014-11-10 22:16 Ludovic Courtès
  2015-03-10  9:02 ` bug#19015: Fixed 宋文武
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-11-10 22:16 UTC (permalink / raw)
  To: 19015

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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#19015: Fixed
  2014-11-10 22:16 bug#19015: SDL_mixer not linked against libmikmod Ludovic Courtès
@ 2015-03-10  9:02 ` 宋文武
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2015-03-10  9:02 UTC (permalink / raw)
  To: 19015-close

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 -L@libdir@ -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).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-10  9:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 22:16 bug#19015: SDL_mixer not linked against libmikmod Ludovic Courtès
2015-03-10  9:02 ` bug#19015: Fixed 宋文武

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).