Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31087 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76585 invoked by uid 1010); 19 Jul 2007 08:24:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76539 invoked from network); 19 Jul 2007 08:24:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2007 08:24:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3402] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/00-51627-6841F964 for ; Thu, 19 Jul 2007 03:36:50 -0400 Received: (qmail 81639 invoked by uid 98); 19 Jul 2007 07:35:33 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3693. Clear:RC:1(127.0.0.1):. Processed in 0.134361 secs); 19 Jul 2007 07:35:33 -0000 Received: from localhost (HELO www.l-i-e.com) (127.0.0.1) by localhost with SMTP; 19 Jul 2007 07:35:33 -0000 Received: from 24.12.13.192 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 19 Jul 2007 02:35:33 -0500 (CDT) Message-ID: <4829.24.12.13.192.1184830533.squirrel@www.l-i-e.com> In-Reply-To: <469F08DC.4070400@lerdorf.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> <469F08DC.4070400@lerdorf.com> Date: Thu, 19 Jul 2007 02:35:33 -0500 (CDT) To: "Rasmus Lerdorf" Cc: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] zend_language_scanner.c (WAS: buildconf hell) From: ceo@l-i-e.com ("Richard Lynch") On Thu, July 19, 2007 1:46 am, Rasmus Lerdorf wrote: > I don't see how this could possibly have anything to do with libxml. Probably not. It's just that I've never tried to not have libxml, and it always worked before. > 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 Yep. > And at the top of the Makefile you should see LEX=flex Nope. LEX=exit 0; I don't think that's right, eh? How'd that get in there? My flex is version 2.5.33 It's in /usr/bin/flex where it belongs, with all the other build thingies. I just emerege-d it like everything else, before I started. [and before I tried to down-grade autoconf/automake/libtool] If it helps, I did a `grep "LEX=" *` to try to see where it snuck in. acinclude.m4 and aclocal.m4 both have LEX="exit 0;" So whatever built those probably isn't behaving. config.cache has ac_cv_prog_LEX=${ac_cv_prog_LEX=flex} configure has a whole bunch of lines, and I suspect typing them here out of context won't help, so: http://l-i-e.com/flex/configure genfiles has: STD='... LEX="flex -L"... So how come it didn't find my flex? I can hack the Makefile and move on, I guess, eh? I'm starting to think I'm not being a complete bonehead. (This time.) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?