Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31096 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75612 invoked by uid 1010); 19 Jul 2007 12:38:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75597 invoked from network); 19 Jul 2007 12:38:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2007 12:38:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; 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:1379] helo=outbound.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/F0-02284-43B5F964 for ; Thu, 19 Jul 2007 08:38:13 -0400 Received: from [81.22.163.71] (helo=[10.6.109.93]) by outbound.mailhop.org with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.63) (envelope-from ) id 1IBVGi-000Dnb-Un; Thu, 19 Jul 2007 08:38:09 -0400 X-MHO-User: U2FsdGVkX1+He9uy7a7nvt63ntUX59/layr07hVJg3U= X-MHO-User: U2FsdGVkX18W6mEAf36FlZ5Xvlj973T6Cl9xTnJhOBg= X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 81.22.163.71 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18DL0r0X2f6G+TdCjTU9RJtUPs4VFDTA6c= Reply-To: jani.taskinen@iki.fi To: David Cc: ceo@l-i-e.com, internals@lists.php.net In-Reply-To: <000401c7c9da$7e66ac60$7b340520$@com> References: <4615.24.12.13.192.1184823782.squirrel@www.l-i-e.com> <469EFA66.2000404@lerdorf.com> <4677.24.12.13.192.1184826604.squirrel@www.l-i-e.com> <000401c7c9da$7e66ac60$7b340520$@com> Content-Type: text/plain Date: Thu, 19 Jul 2007 15:38:06 +0300 Message-ID: <1184848686.3328.8.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] zend_language_scanner.c (WAS: buildconf hell) From: jani.taskinen@sci.fi (Jani Taskinen) Short version: Fixed in CVS. :D --Jani On Thu, 2007-07-19 at 00:57 -0700, David wrote: > > zend_language_scanner.c: No such file or directory > > Found the issue (at least for me). The problem was that the version of flex > I had was 2.5.33, which is the latest version. However, 2.5.4 (an older > version, confusingly) is the only version supported by PHP (which is noted > in the documentation). 2.5.33 is not supported because backward > compatibility was broken. (http://bugs.php.net/bug.php?id=39895) > > However, configure sees this as a warning and not a fatal error. But since > there's no copy of zend_language_scanner.c in CVS, this is in fact, fatal. > To make it even more difficult for people to figure out what's wrong, it > changes $(LEX) to "exit 0;" which of course makes the make of > zend_language_scanner.c succeed silently. I suppose if it returned anything > else, there would be problems if zend_language_scanner.l was accidentally > touched. > > I think the moral of the story is probably to add zend_language_scanner.c to > CVS. > > David >