On Mon, 19 Aug 2002 11:38:32 +0000, Oden Eriksson wrote: > Hi > > I'm trying to build a new module for apache2 but I keep getting: > > /usr/include/libxml2/libxml/uri.h:14:25: libxml/tree.h: No such file or > directory > > I think I add the right include paths, but it simply doesn't seem to > matter... I guess it would work without problems if there were a libxml > softlink in /usr/include pointing to libxml2/libxml.
If you are building with libxml1, pkgconfig --cflags libxml will give you the correct includedir.. If you are building with libxml2, pkgconfig --cflags libxml-2.0 will give you the correct includedir.. -- Frederic Crozat MandrakeSoft