Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 9848B2E0032 for ; Thu, 3 Jan 2008 02:27:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 10614-01 for ; Thu, 3 Jan 2008 02:27:07 -0400 (AST) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by postgresql.org (Postfix) with ESMTP id 534AE2E3337 for ; Thu, 3 Jan 2008 02:27:08 -0400 (AST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlwPAG8MfEfLevdH/2dsb2JhbAAsgSunJQ X-IronPort-AV: E=Sophos;i="4.24,237,1196602200"; d="scan'208";a="16533302" Received: from ppp247-71.static.internode.on.net (HELO DevBox.local) ([203.122.247.71]) by ipmail01.adl6.internode.on.net with ESMTP; 03 Jan 2008 16:57:04 +1030 Message-ID: <477C8036.1060004@Sheeky.Biz> Date: Thu, 03 Jan 2008 16:57:02 +1030 From: Shane Ambler User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Chris Ruprecht CC: pgsql-admin@postgresql.org Subject: Re: MacOS X 10.5.1 and compiling for multiple Architectures References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/34 X-Sequence-Number: 27808 Chris Ruprecht wrote: > Hello all, > > I am trying to build PG 8.3Beta4 for MacOS Leopard. > It works fine when using the default i386 architecture. However, this is > not an option as Apple, in their wisdom, have chosen to build Apache as > a 64-bit application and their PHP 5.2.4 module without PG support as a > Intel 32, Intel 64, PPC 32 and PPC 64 type module. For those that don't > know: Under MacOS, it is possible to build executables that will run > native on multiple architectures, all contained in a single file - kind > of weird, and pretty bloated. > It was noted a while back that pg had issues with 64 bit on osx - unsure if it was resolved. http://archives.postgresql.org/pgsql-general/2007-08/msg01410.php I do recall some time back there was discussion about getting pg to be built as a fat binary on osx, but it doesn't seem to have made it into the source. one place that may help you for now is http://www.entropy.ch/blog/Software/2006/02/04/PostgreSQL-Universal-Binary-Build-Tips.html and http://www.entropy.ch/phpbb2/viewtopic.php?p=9579#9579 -- Shane Ambler pgSQL (at) Sheeky (dot) Biz Get Sheeky @ http://Sheeky.Biz