Re: build postgresql on Mac OS X mountain lion with ossp-uuid

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Palle Girgensohn <girgen(at)pingpong(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: build postgresql on Mac OS X mountain lion with ossp-uuid
Date: 2012-07-31 20:03:32
Message-ID: 4918.1343765012@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Palle Girgensohn <girgen(at)pingpong(dot)net> writes:
> Hi,
> On the new Darwin 10.8 (aka mountain lion), I had to add

> #ifdef __APPLE__
> #if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1080)
> #define _XOPEN_SOURCE
> #endif
> #endif

> to the very beginning of contrib/uuid-ossp/uuid-ossp.c to get the build
> working with --with-ossp-uuid.

This is not a postgres bug; this is an ossp bug, and that's the place
to fix it. If you try, I suspect you'll find that uuid.h doesn't
compile on ML, quite independently of anything Postgres.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-07-31 20:06:19 Re: New statistics for WAL buffer dirty writes
Previous Message Robert Haas 2012-07-31 19:32:56 Re: New statistics for WAL buffer dirty writes