From: SourceForge.net <no...@so...> - 2004-11-13 12:01:15
|
Bugs item #997968, was opened at 2004-07-26 12:55 Message generated for change (Comment added) made by zlatk0 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101627&aid=997968&group_id=1627 Category: Build Process Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Daniel Kobras (nold) Summary: No mp3-support with libmad installed Initial Comment: I build glame without having libmad installed, typed make uninstall und completly reinstalled it (new folder with source-files, configure, make, make install). Glame still complains about libmad not being installed! ---------------------------------------------------------------------- Comment By: Thomas Zajic (zlatk0) Date: 2004-11-13 13:01 Message: Logged In: YES user_id=150806 [zlatko@disclosure]:~$ cat ~/tmp/glame-1.0.3-configure.diff diff -ur glame-1.0.3-orig/configure glame-1.0.3/configure --- glame-1.0.3-orig/configure 2004-10-28 20:53:37.000000000 +0200 +++ glame-1.0.3/configure 2004-11-13 12:49:37.000000000 +0100 @@ -33844,12 +33844,15 @@ echo "$as_me:$LINENO: result: $MAD_LIBS" >&5 echo "${ECHO_T}$MAD_LIBS" >&6 else + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + succeeded=yes MAD_CFLAGS="" - MAD_LIBS="" + MAD_LIBS="-lmad" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. - MAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mad"` - echo $MAD_PKG_ERRORS + #MAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mad"` + #echo $MAD_PKG_ERRORS fi [zlatko@disclosure]:~$ ---------------------------------------------------------------------- Comment By: Thomas Zajic (zlatk0) Date: 2004-11-13 13:00 Message: Logged In: YES user_id=150806 It's a problem with the configure script. It tries to check for libmad via pkg-config, but libmad doesn't actually use pkg-config in its current version (libmad-0.15.1b, madplay-0.15.2b, libid3tag-0.15.1b). Here's the resulting files of a self-compiled libmad-0.15.1b installation - note the complete absence of anything related to pkg-config: [zlatko@disclosure]:~$ ls -1R /usr/local/stow/mad-libmad-0.15.1b/ /usr/local/stow/mad-libmad-0.15.1b/: include lib /usr/local/stow/mad-libmad-0.15.1b/include: mad.h /usr/local/stow/mad-libmad-0.15.1b/lib: libmad.a libmad.la libmad.so libmad.so.0 libmad.so.0.2.1 [zlatko@disclosure]:~$ I'll attach a patch (read: a dirty hack) against the configure script that fixes the problem. Note that it doesn't actually check whether libmad is available or not, it just assumes that it's there and available for linking via simply adding "-lmad" to the linker options. Adjust as necessary if your libmad is installed in an unusual place (eg. "-L/some/obscure/place/for/a/lib -lmad"). HTH. ---------------------------------------------------------------------- Comment By: Richard Guenther (richi) Date: 2004-07-26 13:12 Message: Logged In: YES user_id=7575 Look into the config.log file and try to understand (or quote the relevant section) why the test for libmad fails. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101627&aid=997968&group_id=1627 |