#38762 [Csd]: build dir != src dir results in "Zend/zend_language_parser.c: No such file"
| From: | sniper@php.net | Date: | Thu, 24 May 2007 21:42:05 +0000 |
| Subject: | #38762 [Csd]: build dir != src dir results in "Zend/zend_language_parser.c: No such file" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113007@lists.php.net to get a copy of this message | ||
ID: 38762
Updated by: sniper@php.net
Reported By: butterblume83 at gmx dot de
Status: Closed
Bug Type: Compile Failure
Operating System: Ubuntu Dapper Drake
PHP Version: 5.1.6
New Comment:
I'm feeling a bit stupid: There was more to fix but now everything is
okay, even when you don't have flex/bison installed at all.
Previous Comments:
------------------------------------------------------------------------
[2007-05-24 19:56:30] sniper@php.net
Recheck: This was Stefan's fault in PHP 5.2.x. We bundle flex generated
scanner files with source distribution. You don't need any flex
installed for building PHP. (I remembered it was required, my bad)
And about the "build dir != src dir" builds: I do that always, no
problems whatsoever. (using PHP 5.2 from CVS that is)
If you can't build php outside source directory, submit a new bug
report. (when using snapshot / 5.2.3)
------------------------------------------------------------------------
[2007-05-24 19:38:54] sniper@php.net
The bad logic introduced in some point. (Stefan had nothing to do with
it)
As flex is required to build PHP from sources, then configure must
bailout if wrong version/none is available.
------------------------------------------------------------------------
[2006-09-10 08:35:49] tony2001@php.net
Hi have tested 5.2 snapshot:
>[9 Sep 8:09pm UTC] butterblume83 at gmx dot de
>the exact same error with 5.2 snapshot.
------------------------------------------------------------------------
[2006-09-09 22:45:17] sesser@php.net
The flex check works. The behaviour introduced with PHP 5.2 was
unwanted. The original reporter reported the issue with PHP 5.1.6 which
is proof enough, that my change that is only in 5.2 is NOT responsible.
------------------------------------------------------------------------
[2006-09-09 21:38:58] tony2001@php.net
Stefan, your change broke the check for flex:
http://cvs.php.net/viewvc.cgi/php-src/acinclude.m4?r1=1.332.2.14.2.1&r2=1.332.2.14.2.2
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38762
--
Edit this bug report at http://bugs.php.net/?id=38762&edit=1