[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gmediaserver-devel] Problem building 0.13 for ubuntu
From: |
andreas.oh |
Subject: |
Re: [gmediaserver-devel] Problem building 0.13 for ubuntu |
Date: |
Thu, 29 Nov 2007 21:51:04 +0100 |
User-agent: |
RoundCube Webmail/0.1-rc2 |
Hi, thanks for your reply.
I did an uninstall on both libmagic-dev and a libupnp-1.6 that I had
installed (aside from the distribution supplied). and then reinstalled
libmagic-dev again. voila, it both configures and installs.
Thanks.
Andreas
On Thu, 29 Nov 2007 20:53:48 +0100, Oskar Liljeblad <address@hidden>
wrote:
> On Thursday, November 29, 2007 at 19:00, address@hidden
wrote:
>> AC_CHECK_HEADERS([magic.h], [], [AC_MSG_ERROR([libmagic magic.h header
> file
>> not found])]) generates the error, while:
>> AC_CHECK_LIB([magic], [magic_open], [AC_SUBST([LIBMAGIC], [-lmagic])],
>> [AC_MSG_ERROR([libmagic library or magic_open function not found])],
> [-lz])
>> runs fine.
> [..]
>
> libmagic is required. Please install libmagic-dev.
>
>> if I comment out the check for magic.h and issues a autoreconf, it will
> run
>> through configure fine, but generate a build error:
>> gcc -Wall -pthread -I/usr/local/include/upnp -I/usr/include/taglib
> -g
>> -O2 -L/usr/lib -o gmediaserver connectmgr.o contentdir.o interface.o
>> logging.o upnp.o webserver.o webclient.o main.o metadata.o url.o
>> search-lexer.o search-parser.o intutil.o hmap.o tmap.o strutil.o
> strbuf.o
>> ../lib/libgnu.a -luuid -L/usr/local/lib -lupnp -lthreadutil -lixml
>> -lid3 -ltag -ltag_c -lmagic
>> upnp.o: In function `say_document':
>> /home/andy/projects/gmediaserver-0.13.0/src/upnp.c:150: undefined
> reference
>> to `ixmlPrintDocument'
>
> ixmlPrintDocument should be in libupnp - what version of lib(p)upnp are
> you
> using?
>
> Regards,
>
> OSkar