Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group