Skip site navigation (1) Skip section navigation (2)

Re: configure problem --with-libxml

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, nikolay(at)samokhvalov(dot)com, Pavel Stehule <pavel(dot)stehule(at)hotmail(dot)com>
Subject: Re: configure problem --with-libxml
Date: 2006-12-22 14:51:27
Message-ID: 24119.1166799087@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> On Fri, Dec 22, 2006 at 03:03:49PM +0100, Peter Eisentraut wrote:
>> The reason why I did not do this was that this could resolve
>> to -I/usr/include or -I/usr/local/include, but adding such a standard
>> path explicitly is wrong on some systems.

> But if people on such a system want to use libxml2, and they install it
> in /usr/include then they're screwed anyway. There's no way to tell the
> compiler to use only some files in a directory.

That's not the point, the point is that an *explicit* -I can be wrong
(because it can change the search order of the default directories).

Perhaps it'd be worth trying to add xml2-config's output only if the
first probe for the headers fails?

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Gregory StarkDate: 2006-12-22 15:48:23
Subject: Re: Operator class group proposal
Previous:From: Martijn van OosterhoutDate: 2006-12-22 14:12:49
Subject: Re: configure problem --with-libxml

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group