gmediaserver-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gmediaserver-devel] Re: [Fwd: Re: Gmediaserver 0.12.0 Configure Error]


From: Richard Lapointe
Subject: [gmediaserver-devel] Re: [Fwd: Re: Gmediaserver 0.12.0 Configure Error]
Date: Mon, 04 Sep 2006 13:19:28 -0400
User-agent: Thunderbird 1.5.0.5 (X11/20060719)

Hi Osker

That fixed it. Although I could not apply the patch, (my lack of Linux knowledge) I eventually figured out that it's purpose was to edited the configure.ac file. I managed to manually edit the file by adding the "[-lz]" at the end of the "AC_CHECK_LIB [magic]" line. After editing I ran autoconf and then was able to configure, make, and install. So, it working now, serving mp3's to my MP10!

Also, just to let you know, I sent the original email to the mailing list (address@hidden) but got a delivery failure message from Yahoo. This happen twice, once on the original and then when I cc'ed the mailing list on the email I sent directly to you.

Regards

Rich

Hi Richard!

Thank you once again for gmediaserver. I've enjoyed using version 0.11 this past summer serving music media to my MP101.

I just tried to compile and install the new 0.12.0 version and got an error during ./configure. The configure error is " libmagic library or magic_open function not found". I've tried it three times, getting the same error message each time. I checked my system for libmagic and file and both are included with the file version being 4.17 I'm running Zenwalk Linux which is based on Slackware 10.2

I have attached two files, one is the log file generated by configure and the other is the text output I get on the terminal when configure is running .

Looks like someone (slackware people) forgot to link libmagic with libz!
Apply the attached patch (patch -p0 diff), run autoconf (you'll need
autoconf installed), and then ./configure again. Let me know if it works!

Regards,

Oskar
------------------------------------------------------------------------

diff -u configure.ac.v0 configure.ac
--- configure.ac.v0     2006-09-04 07:11:33.000000000 +0200
+++ configure.ac        2006-09-04 07:11:45.000000000 +0200
@@ -49,7 +49,7 @@
 fi
 # - libmagic
 AC_CHECK_HEADERS([magic.h], [], [AC_MSG_ERROR([libmagic magic.h header file 
not found])])
-AC_CHECK_LIB([magic], [magic_open], [AC_SUBST([LIBMAGIC], [-lmagic])], 
[AC_MSG_ERROR([libmagic library or magic_open function not found])])
+AC_CHECK_LIB([magic], [magic_open], [AC_SUBST([LIBMAGIC], [-lmagic])], 
[AC_MSG_ERROR([libmagic library or magic_open function not found])], [-lz])
# - ID3Lib
 AC_LIB_ID3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]