Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31089 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86983 invoked by uid 1010); 19 Jul 2007 08:40:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86964 invoked from network); 19 Jul 2007 08:40:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2007 08:40:30 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:54599] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/12-02341-E732F964 for ; Thu, 19 Jul 2007 04:40:30 -0400 Received: from trainburn-lm-corp-yahoo-com.local (user-11fad8l.dsl.mindspring.com [66.245.53.21]) (authenticated bits=0) by mail.lerdorf.com (8.14.1/8.14.1/Debian-7) with ESMTP id l6J6kunU021865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 18 Jul 2007 23:46:57 -0700 Message-ID: <469F08DC.4070400@lerdorf.com> Date: Wed, 18 Jul 2007 23:46:52 -0700 User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: ceo@l-i-e.com CC: internals@lists.php.net 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> In-Reply-To: <4677.24.12.13.192.1184826604.squirrel@www.l-i-e.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.1/3697/Wed Jul 18 17:18:47 2007 on colo.lerdorf.com X-Virus-Status: Clean Subject: Re: [PHP-DEV] zend_language_scanner.c (WAS: buildconf hell) From: rasmus@lerdorf.com (Rasmus Lerdorf) Richard Lynch wrote: > I sure hope this isn't something particularly bone-headed... > > Meanwhile, what made me think that I was screwing up buildconf is > actually not related to any particular version of > automake/autoconf/libtool at all, as I get the same thing with all > combinations readily available under Gentoo, as well as using the > documented versions, so I've opened a bug report: > > And, actually, as far as I can tell, having no libtool at all, for > that matter. > > I forgot to symlink /usr/bin/libtool to /usr/local/bin/libtool after > installing 1.4.3 from source... > > I guess libtool comes into the picture later in the process than I am > getting. > > http://bugs.php.net/bug.php?id=42041 > > Short version: > > cvs co -r PHP_5_2 > > ./buildconf > > ./configure \ > --enable-fastcgi \ > --enable-debug \ > --with-pgsql \ > --disable-xml \ > --disable-libxml \ > --disable-simplexml \ > --disable-xmlreader \ > --disable-exmlwriter \ > --disable-dom \ > --without-pear > > make > > zend_language_scanner.c: No such file or directory > > Google turned up a bug from several distros allegedly fixed in > 4.mumble, but the bugs.php.net ticket was closed due to no feedback, > so I'm not sure it really got fixed. > > I'm hoping my report might be detailed enough to lead somebody to a > real resolution... :-) > > I'm guessing that insisting on not having all the XML stuff in there > is the issue?... > > Guess I'll try to install libxml tomorrow. > > Or maybe I want libxml2? I don't see how this could possibly have anything to do with libxml. zend_language_scanner.c is generated by flex from zend_language_scanner.l Your top-level Makefile should have a line that looks something like this: /Users/rasmus/php52/Zend/zend_language_scanner.c: /Users/rasmus/php52/Zend/zend_language_scanner.l @$(LEX) -Pzend -S/Users/rasmus/php52/Zend/flex.skl -o$@ -i /Users/rasmus/php52/Zend/zend_language_scanner.l And at the top of the Makefile you should see LEX=flex -Rasmus