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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: WARNING: uuid.h: present but cannot be compiled
Date: 2009-04-17 18:28:27
Message-ID: 20090417182827.GJ7709@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

David E. Wheeler wrote:
> On Apr 17, 2009, at 11:08 AM, Tom Lane wrote:
>
>> "David E. Wheeler" <david(at)kineticode(dot)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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David E. Wheeler 2009-04-17 18:33:50 Re: WARNING: uuid.h: present but cannot be compiled
Previous Message David E. Wheeler 2009-04-17 18:13:21 Re: WARNING: uuid.h: present but cannot be compiled