[xml] Where are the header files?
- From: Bill Moseley <moseley hank org>
- To: xml gnome org
- Subject: [xml] Where are the header files?
- Date: Sun, 07 Oct 2001 08:40:05 -0700
I've been using:
/* libxml2 */
#include <libxml/HTMLparser.h>
#include <libxml/xmlerror.h>
#include <libxml/uri.h>
And that's worked fine on my Linux machine.
Now, I just installed libxml2 on another machine using
./configure --prefix=$HOME/local && make && make install
I ended up with everything where I expected, but the header files ended up in
$HOME/local/include/libxml2/libxml/
Now, I can specify
#include <libxml2/libxml/HTMLparser.h>
but then HTMLparser.h tries to include
#include <libxml/parser.h>
On my Linux machine I have:
/usr/local/include/libxml <-- dated Sept 1
/usr/local/include/libxml2 <-- dated Oct 6
diff -u libxml2-2.4.3/configure.in libxml2-2.4.5
--- libxml2-2.4.3/configure.in Thu Aug 23 16:21:29 2001
+++ libxml2-2.4.5/configure.in Fri Sep 14 10:34:21 2001
@@ -6,7 +6,7 @@
LIBXML_MAJOR_VERSION=2
LIBXML_MINOR_VERSION=4
-LIBXML_MICRO_VERSION=3
+LIBXML_MICRO_VERSION=5
LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VER
SION
LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION +
$LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
@@ -143,7 +143,7 @@
[AC_DEFINE(HAVE_ISINF)]))
XML_LIBDIR='-L${libdir}'
-XML_INCLUDEDIR='-I${includedir}/libxml -I${includedir}'
+XML_INCLUDEDIR='-I${includedir}/libxml2/libxml -I${includedir}/libxml2'
dnl
dnl Extra flags
Bill Moseley
mailto:moseley hank org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]