Re: Build universal binary on Mac OS X 10.6?

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Israel Brewster <israel(at)frontierflying(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Build universal binary on Mac OS X 10.6?
Date: 2009-12-02 08:46:42
Message-ID: 937d27e10912020046i206c760exf5d700dbe6b6c653@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Dec 2, 2009 at 1:14 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Israel Brewster <israel(at)frontierflying(dot)com> writes:
>> I am trying to create a static, universal (x86 and ppc at least - 64
>> bit architectures are optional) build of the PostgreSQL libraries on a
>> Mac OS X 10.6 machine.
>
> I think what you're missing is that the header files generated by
> configure are arch-sensitive.  You need to take steps to make sure that
> each build reads the appropriate header declarations.  Check the
> pgsql-hackers archives for previous discussions of building universal
> binaries on Darwin --- I think the last one was mid-2008 or so.
>
>> I have tried both with PostgreSQL version 8.4.1 and 8.3.8 with the
>> same result.
>
> My recollection is that you want 8.4 for this, previous releases would
> have had even more hoops to jump through to get there.

If you get it to work Israel, please report back to the list. I tried
briefly and failed completely at building a 3 way binary on one
machine. My next attempt was going to involve multiple build machines
and lipo...

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message River Tarnell 2009-12-02 08:56:09 Postgres performance on Veritas VxVM
Previous Message silly8888 2009-12-02 07:41:33 Re: Postgres Dump out of order