[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems with 1.9.7 and libxml2-2.4.19
From: |
Mike Castle |
Subject: |
problems with 1.9.7 and libxml2-2.4.19 |
Date: |
Sun, 7 Apr 2002 20:37:41 -0700 |
User-agent: |
Mutt/1.3.28i |
Not sure if CommonC++-1.9.7 is supported with the commoncpp2 stuff out, but
just in case:
The following change in libxml2 has bitten at least one other application
(gcompris):
Fri Mar 15 19:41:25 CET 2002 Daniel Veillard <address@hidden>
* configure,in: it was reported quite a few times that
xml2-config --cflags should not output
-I$includeprefix/libxml2/libxml because libxml2 header names
clashes with existing names like list.h from C++ stl.
Includes should be #include<libxml/xxx.h> so ...
So CommonC++ errors with the following:
c++ -DHAVE_CONFIG_H -I. -I../../CommonC++-1.9.7/src -I.
-I../../CommonC++-1.9.7/src -I/usr/include/libxml2 -I../src -g -O2
-D_GNU_SOURCE -D_REENTRANT -D_THREAD_
SAFE -c xml.cpp -fPIC -DPIC -o .libs/xml.lo
xml.cpp:54: parser.h: No such file or directory
xml.cpp:55: parserInternals.h: No such file or directory
xml.cpp:56: xmlIO.h: No such file or directory
make[1]: *** [xml.lo] Error 1
make[1]: Leaving directory `/usr/src/commonc++/CommonC++-1.9.7/src'
Haven't tried yet, but I assume that simply adding libxml/ to the #includes
will fix the issue.
Also haven't yet rebuild commoncpp2 to see if it has the same issue.
mrc
--
Mike Castle address@hidden www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
- problems with 1.9.7 and libxml2-2.4.19,
Mike Castle <=