Re: Build fails on OSX using wx 2.7.0

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: Chris Campbell <chris(at)bignerdranch(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Build fails on OSX using wx 2.7.0
Date: 2006-08-31 18:38:56
Message-ID: C11CEB50.12E5C%dpage@vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On 31/8/06 16:17, "Chris Campbell" <chris(at)bignerdranch(dot)com> wrote:

> On Aug 31, 2006, at 11:00, Dave Page wrote:
>
>> Yeah. They can include ppc64 as well. GCC will create them just
>> fine, or
>> you can build them individually and combine the resulting executables
>> and libs using the lipo tool.
>
> That's how I build my Universal PostgreSQL binaries (and any other
> configure-based project). I "./configure && make && make install" on
> both a PowerPC Mac and an Intel Mac (because configure looks at the
> host system to make decisions), then lipo the results together
> (that's how Xcode does it, BTW). It's worked beautifully thus far,
> but it does require two machines.

Yeah, that's the downside - and until I find another generous sponsor for
the project we're stuck!!

> Here's the script I use to run lipo. I create a directory structure
> like the following ("ppc" contains the binaries built on the PowerPC
> machine, "i386" contains the binaries built on the x86 machine, I
> duplicate one of them as "fat" so that I have the directory structure
> and non-binary files in place). When I'm done, the I install the
> "fat" directory on the local machine as /usr/local/pgsql and I'm set.
>
> A full run looks something like:
>
> $ cd postgresql-8.1.4
> $ scp -r powerpc-mac:/usr/local/pgsql ppc
> $ scp -r intel-mac:/usr/local/pgsql i386
> $ cp -R ppc fat
> $ ./run.sh
> $ sudo cp -R fat /usr/local/pgsql

That's a potentially useful technique - thanks for sharing.

Regards, Dave.

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2006-08-31 19:07:14 Re: Build fails on OSX using wx 2.7.0
Previous Message svn 2006-08-31 16:03:31 SVN Commit by dpage: r5316 - in trunk/pgadmin3/src: . frm include main