Re: WARNING: uuid.h: present but cannot be compiled - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: WARNING: uuid.h: present but cannot be compiled
Date
Msg-id 20090417182827.GJ7709@alvh.no-ip.org
Whole thread Raw
In response to Re: WARNING: uuid.h: present but cannot be compiled  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: WARNING: uuid.h: present but cannot be compiled  ("David E. Wheeler" <david@kineticode.com>)
List 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 by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: WARNING: uuid.h: present but cannot be compiled
Next
From: "David E. Wheeler"
Date:
Subject: Re: WARNING: uuid.h: present but cannot be compiled