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

Re: configure problem --with-libxml

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: 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:12:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Fri, Dec 22, 2006 at 03:03:49PM +0100, Peter Eisentraut wrote:
> Nikolay Samokhvalov wrote:
> > another way is:
> > export CPPFLAGS=$(xml2-config --cflags); ./configure --with-libxml
> >
> > I think that such thing can be used in configure script itself,
> > overwise a lot of people will try, fail and do not use SQL/XML at
> > all.
> 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.

Put another way, if adding the include path for libxml2 breaks their
build environment, they can't use libxml2. Have configure play dumb
isn't helping anyone. It won't work on any more or less systems.

Have a nice day,
Martijn van Oosterhout   <kleptog(at)svana(dot)org>
> From each according to his ability. To each according to his ability to litigate.

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2006-12-22 14:51:27
Subject: Re: configure problem --with-libxml
Previous:From: Peter EisentrautDate: 2006-12-22 14:05:30
Subject: Re: xmlagg is not supported?

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