Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31082 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59342 invoked by uid 1010); 19 Jul 2007 07:49:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59325 invoked from network); 19 Jul 2007 07:49:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2007 07:49:23 -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:3575] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/B0-53850-0871F964 for ; Thu, 19 Jul 2007 03:49:23 -0400 Received: (qmail 95509 invoked by uid 98); 19 Jul 2007 07:49:25 -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.077698 secs); 19 Jul 2007 07:49:25 -0000 Received: from localhost (HELO www.l-i-e.com) (127.0.0.1) by localhost with SMTP; 19 Jul 2007 07:49:25 -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:49:25 -0500 (CDT) Message-ID: <4851.24.12.13.192.1184831365.squirrel@www.l-i-e.com> In-Reply-To: <000301c7c9d2$57ab2ea0$07018be0$@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> <000301c7c9d2$57ab2ea0$07018be0$@com> Date: Thu, 19 Jul 2007 02:49:25 -0500 (CDT) To: "David" 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:59 am, David wrote: >> 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 > > I've had that exact same problem intermittently. Although there's a > line in > Makefile that tries to build this file (by using bison), it seems > non-functional. Try "make Zend/ zend_language_scanner.c". In my > experience, > this line returns without error but performs nothing. > > If you manually execute the line in the Makefile (substituting the > appropriate variables), you'll have a zend_language_scanner.c and > things > will be happy. So I dink around with the Makefile a bit changing LEX=flex and LEX= exit0; back and forth... I get past the zend_language_scanner bit, I guess, and then it blows up in my face with a whole bunch of errors about undefined reference in spl_autoload, basic_functions, tokenizer, php_execute_script, php_lint_script, zend_ini_parser, ... The undefined references are to things like: zend_destroy_file_handle zend_file_handle_dtor zif_highlight_file highlight_file zend_save_lexical_state open_file_for_scanning . . . Yeah, maybe I shoulda left the Makefile alone... :-) -- 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?