Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32013 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71260 invoked by uid 1010); 3 Sep 2007 08:59:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71244 invoked from network); 3 Sep 2007 08:59:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2007 08:59:11 -0000 Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 63.208.196.171 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 63.208.196.171 outbound.mailhop.org FreeBSD 4.6-4.9 Received: from [63.208.196.171] ([63.208.196.171:3271] helo=outbound.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/04-58805-CDCCBD64 for ; Mon, 03 Sep 2007 04:59:09 -0400 Received: from pc128.sanomamagazines.fi ([194.211.146.128] helo=[10.26.8.44]) by outbound.mailhop.org with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.63) (envelope-from ) id 1IS7lk-000CkJ-PZ; Mon, 03 Sep 2007 04:58:53 -0400 X-MHO-User: U2FsdGVkX18spAP4dC56vbZkeV7HpOQEnM681AQdJfI= X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 194.211.146.128 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18hXhR5GwbScFGvr7HKXDLDlBvv167/9Ag= Reply-To: jani.taskinen@iki.fi To: BuildSmart Cc: PHP Developers Mailing List In-Reply-To: <20CECB37-7174-498C-85EA-A862923E594D@daleenterprise.com> References: <20CECB37-7174-498C-85EA-A862923E594D@daleenterprise.com> Content-Type: text/plain Date: Mon, 03 Sep 2007 11:58:51 +0300 Message-ID: <1188809931.3317.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] buildconf and the generated configure script for PHP6 is faulty. From: jani.taskinen@sci.fi (Jani Taskinen) Perhaps you should stick to using the pre-generated configure and not try to hack things since you obviously have no clue. If you want to build configure (which usually is very bad thing!) yourself, install autoconf-2.13. Any other version is not supported. --Jani On Mon, 2007-09-03 at 01:55 -0400, BuildSmart wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > There appears to be an issue with the configure script generation > that warrants further examination which might just be related to > Darwin / Mac OSX but unconfirmed at this time. > > I have tested this on 3 different machines with the same results and > it places 2 lines in an incorrect/premature location within the > configure script. > > daleenterprise:/php6 root# ./buildconf --force > Forcing buildconf > using default Zend directory > buildconf: checking installation... > buildconf: autoconf version 2.59 (ok) > buildconf: Your version of autoconf likely contains buggy cache code. > Running cvsclean for you. > To avoid this, install autoconf-2.13. > rebuilding aclocal.m4 > rebuilding configure > aclocal.m4:2141: PHP_PROG_LEX is expanded from... > rebuilding acconfig.h > rebuilding main/php_config.h.in > autoheader: WARNING: Using auxiliary files such as `acconfig.h', > `config.h.bot' > autoheader: WARNING: and `config.h.top', to define templates for > `config.h.in' > autoheader: WARNING: is deprecated and discouraged. > autoheader: > autoheader: WARNING: Using the third argument of `AC_DEFINE' and > autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template > without > autoheader: WARNING: `acconfig.h': > autoheader: > autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, > autoheader: [Define if a function `main' is needed.]) > autoheader: > autoheader: WARNING: More sophisticated templates can also be > produced, see the > autoheader: WARNING: documentation. > aclocal.m4:2141: PHP_PROG_LEX is expanded from... > daleenterprise:/php6 root# ./configure --help|more > /configure: line 447: 5: Bad file descriptor > /configure: line 448: 6: Bad file descriptor > `configure' configures this package to adapt to many kinds of systems. > > ____________________________________________ > > > The offending lines: (showing 447 - 453) > echo "$as_me:$LINENO: checking whether rounding works as expected" >&5 > echo $ECHO_N "checking whether rounding works as expected... $ECHO_C" > >&6 > > # Name of the host. > # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, > # so uname gets run too. > ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` > > ____________________________________________ > > > The two offending lines should be much further into the configure > script: (just before 105676 - 105680) > if test "$cross_compiling" = yes; then > > PHP_ROUND_FUZZ=0.50000000001 > echo "$as_me:$LINENO: result: cross compile" >&5 > echo "${ECHO_T}cross compile" >&6 > > ____________________________________________ > > > The faulty configure script can be obtained at: > http://daleenterprise.com/patches/configure > > > - -- Dale > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (Darwin) > > iD8DBQFG26HE0hzWbkf0eKgRAlsEAJoCu/cQbjCLuwx0bbB5qfnCiKktLwCgsFKw > omQjpISlRuVjPmIKfAG/+po= > =/yla > -----END PGP SIGNATURE----- > -- Make me happy: http://pecl.php.net/wishlist.php/jani