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