Re: configure problem --with-libxml

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: configure problem --with-libxml
Дата
Msg-id 24119.1166799087@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: configure problem --with-libxml  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: Load distributed checkpoint
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Operator class group proposal