[xml] prb building libxml
- From: "Robert Collins" <robert collins itdomain com au>
- To: <xml gnome org>
- Subject: [xml] prb building libxml
- Date: Sat, 2 Jun 2001 10:00:08 +1000
libxml has a chicken and egg #include problem - for me at least.
The functions in encoding.h changed from 2.3.9 to 2.3.10 which is why I
caught it
symptoms: gcc includes the system copy of libxml/headername rather than
the one from the source archive.
Gcc is being called with:
gcc -DHAVE_CONFIG_H -I. -I../libxml2-2.3.10 -I. -I../libxml2-2.3.10/incl
ude -I./include -g -O2 -Wall -c ../libxml2-2.3.10/xpath.c -o xpath.o
I don't know if this is a problem with my configuration...
Anyway, I'm about to remove the old installed headers as a workaround.
IMO the source for libxml should include
"libxml/foo.h" not <libxml/foo.h> as you are building a new library that
should not use the system headers if they exist.
This is particularly likely to be an issue if macros change between
versions.
Rob
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]