Re: can't build contrib/uuid-ossp

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: can't build contrib/uuid-ossp
Дата
Msg-id AANLkTimbyq74s-XiP0F0_rT2ZKuiJjf+N5WbNDzV5Oou@mail.gmail.com
обсуждение исходный текст
Ответ на can't build contrib/uuid-ossp  (Jeff Hamann <jeff.hamann@forestinformatics.com>)
Ответы Re: can't build contrib/uuid-ossp  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thu, Mar 3, 2011 at 11:16 AM, Jeff Hamann <jeff.d.hamann@gmail.com> wrote:
> I've attached the config.log file.

It looks like the trouble is here:

In file included from conftest.c:92:
/usr/local/include/uuid.h:94: error: conflicting types for 'uuid_t'
/usr/include/unistd.h:133: error: previous declaration of 'uuid_t' was here

So the problem is, apparently, that Darwin defines its own version of
uuid_t that clashes with the one provided by uuid-ossp.  There are
some #ifdefs around that bit of stuff on my machine, so it might be
possible to #define your way out of the problem.

If you figure out how to get it working, I think we'd be happy to
accept a patch that fixes it, unless it's only failing due to some
funky detail of your configuration, which I suspect isn't the case
based on a quick look at my system.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5911: pg_notify() function only works when channel name is lower case
Следующее
От: Dave Page
Дата:
Сообщение: Re: BUG #5865: Problem regarding Postgresql installation and ODBC driver installation in 64 bit Windows Vista OS