Re: [xml] prb building libxml
- From: "Robert Collins" <robert collins itdomain com au>
- To: <xml gnome org>
- Subject: Re: [xml] prb building libxml
- Date: Sat, 2 Jun 2001 21:00:19 +1000
Sorry folks, this may be so much noise. I found an old link in the build
dir to libxml2-2.3.9, and removing that cured my ills.
OTOH, it may still be valid as I'd already removed the system headers
that I suspected at first.
Rob
----- Original Message -----
From: "Robert Collins" <robert collins itdomain com au>
To: <xml gnome org>
Sent: Saturday, June 02, 2001 10:00 AM
Subject: [xml] prb building libxml
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
_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]