Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32012 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32657 invoked by uid 1010); 3 Sep 2007 05:55:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32638 invoked from network); 3 Sep 2007 05:55:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2007 05:55:35 -0000 Authentication-Results: pb1.pair.com header.from=buildsmart@daleenterprise.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=buildsmart@daleenterprise.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daleenterprise.com from 67.78.11.229 cause and error) X-PHP-List-Original-Sender: buildsmart@daleenterprise.com X-Host-Fingerprint: 67.78.11.229 daleenterprise.com Received: from [67.78.11.229] ([67.78.11.229:63293] helo=daleenterprise.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/4C-58805-6D1ABD64 for ; Mon, 03 Sep 2007 01:55:35 -0400 Received: from localhost (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id 6DEE422FB7F for ; Mon, 3 Sep 2007 01:55:31 -0400 (EDT) Received: from daleenterprise.com ([127.0.0.1]) by localhost (daleenterprise.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18626-05 for ; Mon, 3 Sep 2007 01:55:27 -0400 (EDT) Received: from [10.1.100.11] (relay.mustangrestomods.com [67.78.11.226]) by daleenterprise.com (Postfix) with ESMTP id 6426922FB75 for ; Mon, 3 Sep 2007 01:55:17 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-ID: <20CECB37-7174-498C-85EA-A862923E594D@daleenterprise.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: PHP Developers Mailing List Date: Mon, 3 Sep 2007 01:55:15 -0400 X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) MTA-Interface: amavisd-new-2.3.3 (2005-08-22) + Maia Mailguard 1.1.0 at daleenterprise.com X-Spam-Scanned: using SpamAssassin 3.1.7 (2006-10-05) at daleenterprise.com X-Virus-Scanned: using ClamAV 0.88.6 (2006-11-05) at daleenterprise.com Subject: buildconf and the generated configure script for PHP6 is faulty. From: buildsmart@daleenterprise.com (BuildSmart) -----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-----