Re: WARNING: uuid.h: present but cannot be compiled

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: WARNING: uuid.h: present but cannot be compiled
Дата
Msg-id 20090417182827.GJ7709@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: WARNING: uuid.h: present but cannot be compiled  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: WARNING: uuid.h: present but cannot be compiled  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-bugs
David E. Wheeler wrote:
> On Apr 17, 2009, at 11:08 AM, Tom Lane wrote:
>
>> "David E. Wheeler" <david@kineticode.com> writes:
>>> I take that back. It can find it in the ossp subdirectiry, as
>>> RhodiumToad said, but it can't compile it:
>>
>>> checking ossp/uuid.h usability... no
>>> checking ossp/uuid.h presence... yes
>>> configure: WARNING: ossp/uuid.h: present but cannot be compiled
>>
>> Why not?  There should be compiler messages in config.log.
>
> Dunno. Here's the log for the latest build:

configure:13224: checking ossp/uuid.h usability
configure:13241: gcc -no-cpp-precomp -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels-fno-strict-aliasing -fwrapv  -I/usr/local/include/libxml2  -I/usr/local/include conftest.c >&5 
In file included from conftest.c:98:
/usr/local/include/ossp/uuid.h:94: error: conflicting types for 'uuid_t'
/usr/include/unistd.h:133: error: previous declaration of 'uuid_t' was here

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: WARNING: uuid.h: present but cannot be compiled
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: WARNING: uuid.h: present but cannot be compiled