Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13310 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10936 invoked by uid 1010); 13 Oct 2004 07:14:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10899 invoked from network); 13 Oct 2004 07:14:27 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 13 Oct 2004 07:14:27 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i9D7EQf3008675 for ; Wed, 13 Oct 2004 09:14:26 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i9D7EJsW008656; Wed, 13 Oct 2004 09:14:19 +0200 Date: Wed, 13 Oct 2004 09:14:20 +0200 (CEST) X-X-Sender: derick@localhost To: Hans Zaunere cc: Robert Silva , internals@lists.php.net In-Reply-To: <41EE526EC2D3C74286415780D3BA9F8704E58AAE@ehost011-1.exch011.intermedia.net> Message-ID: References: <41EE526EC2D3C74286415780D3BA9F8704E58AAE@ehost011-1.exch011.intermedia.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: RE: [PHP-DEV] ./configure, PHP, SuSE and the AMD64 From: derick@php.net (Derick Rethans) On Tue, 12 Oct 2004, Hans Zaunere wrote: > > > > The patch shown is what SuSE did for their RPM distribution of PHP. > > > > > > One solution may be with the --with-= directive is to assume > that > > > dir may be an absolute path as well. > > > > > > --with-domxml=/usr/lib64 > > > > No, this is too different from what PHP always has been doing... thus > a > > bad idea. > > Out of curiosity, what has PHP been doing? I always see people specify > a full directory, which typically works. That's a co-incidence then, as this: --with-domxml=/usr/lib is NOT working as you might think. You always need to do: --with-domxml=/usr as the php checks add /lib for you. > As I mentioned in my original post, --with-module and > --with-module-dir seem to have some inconsistencies themselves as > well. What is the behavior? Where are the inconsistencies, can you point those out? > Going back to 64bit platforms, this is going to be a problem moving > forward. AMD64 is all over the place, and thus having lib and lib64 > directories. While a SuSE patch works for SuSE, what about other AMD64 > distros? What happens on FreeBSD? Can PHP's ./configure be fixed to be > flexible, as a ./configure script should be, or will platform specific > hacks need to be made (which seems counter-intuitive, since that's what > ./configure is for). PHP's ./configure needs to be fixed of course, though for now the suggested patches are a bit suboptimal iirc. I would like to give it a shot, but I'll need to have access to a linux running on 64bit first :) Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org