Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22889 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68070 invoked by uid 1010); 19 Apr 2006 22:40:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68055 invoked from network); 19 Apr 2006 22:40:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2006 22:40:25 -0000 X-Host-Fingerprint: 209.47.178.20 unknown FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (1) Received: from ([209.47.178.20:58079] helo=skywolf.cyberflowsolutions.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B7/F4-19715-85CB6444 for ; Wed, 19 Apr 2006 18:40:24 -0400 Received: from [10.0.1.30] (unknown [38.98.1.66]) by skywolf.cyberflowsolutions.com (Postfix) with ESMTP id 21E0A13EF47; Wed, 19 Apr 2006 15:40:17 -0700 (PDT) Message-ID: <4446BC50.5010704@cyberflowsolutions.com> Date: Wed, 19 Apr 2006 15:40:16 -0700 User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Brion Vibber Cc: internals@lists.php.net References: <0D.72.19715.621B6444@pb1.pair.com> <4446BBD2.2060206@pobox.com> In-Reply-To: <4446BBD2.2060206@pobox.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] compiling a 64-bit PHP on a mac G5 From: jon@cyberflowsolutions.com (Jonathan Whiteman) Ok, I may do that. Thanks for the tip. Brion Vibber wrote: > Jon wrote: >> I'm using os X and 64-bit mysql on a G5 and I'm trying to compile >> a 64-bit PHP but I seem to be having trouble with the libraries. > [snip] >> ... then it dies with this stuff in the config.log: >> >> ld64 warning: in /usr/lib/libxml2.dylib, file does not contain requested >> architecture >> ld64 warning: in /usr/lib/libz.dylib, file does not contain requested >> architecture >> ld64 warning: in /usr/lib/libiconv.dylib, file does not contain >> requested architecture > > Most libraries on Mac OS X only ship as 32-bit. > > Since these are standard open-source components you could probably recompile > them and link against those instead of the system copies; but do you really need > to compile PHP as 64-bit in the first place? > > Unless you really want 64-bit integers in PHP for some reason, you could simply > link against the 32-bit MySQL libraries. (Install a 32-bit package in another > directory, if they're not shipping them with the 64-bit server.) Communication > with the server happens over a socket, so you don't have to compile as the same > arch as the server. > > -- brion vibber (brion @ pobox.com) >