Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14287 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62447 invoked by uid 1010); 5 Jan 2005 13:26:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62399 invoked from network); 5 Jan 2005 13:26:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2005 13:26:08 -0000 X-Host-Fingerprint: 209.251.159.130 nameserver1.brainwerkz.net Linux 2.5 (sometimes 2.4) (4) Received: from ([209.251.159.130:50555] helo=nameserver1.mcve.com) by pb1.pair.com (ecelerity HEAD (r3992M)) with SMTP id 39/D4-25400-EEAEBD14 for ; Wed, 05 Jan 2005 08:26:06 -0500 Received: from [192.168.1.172] (ip24-250-202-143.ga.at.cox.net [24.250.202.143]) by nameserver1.mcve.com (Postfix) with ESMTP id 81AB114C011; Wed, 5 Jan 2005 08:26:02 -0500 (EST) Message-ID: <41DBEAE5.3020100@mainstreetsoftworks.com> Date: Wed, 05 Jan 2005 08:25:57 -0500 User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jani Taskinen Cc: internals@lists.php.net References: <41DB0A01.2000007@mainstreetsoftworks.com> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP_SHLIB_SUFFIX not being properly set on MacOSX From: brad@mainstreetsoftworks.com (Brad House) brad@laptop ~ $ autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. brad@laptop ~ $ automake --version automake (GNU automake) 1.9.3 Written by Tom Tromey . Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. brad@laptop ~ $ libtool --version ltmain.sh (GNU libtool) 1.5.10 (1.1220.2.131 2004/09/19 12:46:56) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I just ran phpize which gave no errors, then ./configure make make install make distclean on a Linux box then tarred it up, and sent it to my MacOSX box, and ./configure barfed on an OpenSSL detection because it was looking for libssl.so and libcrypto.so instead of libssl.dylib and libcrypto.dylib. config.log _clearly_ showed that host_alias was blank. -Brad Jani Taskinen wrote: > > How exactly did you run the phpize and the generated configure? > What are the autoconf, libtool and automake versions in your system? > > Checking configure generated on my machine, it's impossible > for $host_alias to be empty unless you specify it to be > empty with --host="" or something like that. > > I wouldn't want to fix something that really isn't broken. :) > > --Jani > > On Tue, 4 Jan 2005, Brad House wrote: > >> Just tried to phpize an extension, and it appears as though >> there is a problem on MacOSX. PHP_SHLIB_SUFFIX defaults to .so >> because a check is run on $host_alias, which is set to "". >> >> Attached is a patch to use $host_os instead which fixes the >> problem. >> >> This is against php-4.3.10 by the way. I have not confirmed >> if PHP 5 has this issue or not. >> >> -Brad >> >