ID: 38762 Updated by: [EMAIL PROTECTED] 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:
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) Previous Comments: ------------------------------------------------------------------------ [2007-05-24 19:38:54] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2006-09-09 21:27:25] butterblume83 at gmx dot de It works after I downgraded flex (2.5.31-38) to flex-old (2.5.4a-7). Please edit php's configure script so that a fatal error is thrown if the flex version is invalid. ------------------------------------------------------------------------ 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