Re: [Cooker] Re: libxml2-devel: wrong #include in libxml.m4
Hi! On Fre, 29 Mär 2002 19:40:59 Frédéric Crozat wrote: In /usr/share/aclocal/libxml.m4 one can find #include xmlversion.h two times. This is wrong, it has to be #include libxml/xmlversion.h. For libxml2, when using AM_PATH_XML macro, xml2-config --cflags is used and add -I/usr/include/libxml2/libxml -I/usr/include/libxml2 to compile test program.. mr@nibbler ~ $ xml2-config --cflags -I/usr/include/libxml2 There is nothing wrong here.. OK, then maybe xml2-config is broken? -- Michael Reinsch [EMAIL PROTECTED] http://mr.uue.org
Re: [Cooker] Re: libxml2-devel: wrong #include in libxml.m4
Le ven 29/03/2002 à 19:47, Michael Reinsch a écrit : Hi! On Fre, 29 Mär 2002 19:40:59 Frédéric Crozat wrote: In /usr/share/aclocal/libxml.m4 one can find #include xmlversion.h two times. This is wrong, it has to be #include libxml/xmlversion.h. For libxml2, when using AM_PATH_XML macro, xml2-config --cflags is used and add -I/usr/include/libxml2/libxml -I/usr/include/libxml2 to compile test program.. mr@nibbler ~ $ xml2-config --cflags -I/usr/include/libxml2 There is nothing wrong here.. OK, then maybe xml2-config is broken? In fact, this is a problem with version 2.4.18 and above (and I was testing with Mdk 8.2 version..) I'll check with libxml author to see if this is the right fix to do.. -- Frédéric Crozat MandrakeSoft
Re: [Cooker] Re: libxml2-devel: wrong #include in libxml.m4
On 29 Mar 2002, [ISO-8859-1] Frédéric Crozat wrote: In /usr/share/aclocal/libxml.m4 one can find #include xmlversion.h two times. This is wrong, it has to be #include libxml/xmlversion.h. For libxml2, when using AM_PATH_XML macro, xml2-config --cflags is used and add -I/usr/include/libxml2/libxml -I/usr/include/libxml2 to compile test program.. mr@nibbler ~ $ xml2-config --cflags -I/usr/include/libxml2 There is nothing wrong here.. OK, then maybe xml2-config is broken? In fact, this is a problem with version 2.4.18 and above (and I was testing with Mdk 8.2 version..) I'll check with libxml author to see if this is the right fix to do.. I vaguely remembered this change is intentionally done by libxml author. Abel -- Abel Cheung GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc