RE: [PHP-DEV] zend_language_scanner.c (WAS: buildconf hell)
| From: | Jani Taskinen | Date: | Thu, 19 Jul 2007 12:38:06 +0000 |
| Subject: | RE: [PHP-DEV] zend_language_scanner.c (WAS: buildconf hell) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31096@lists.php.net to get a copy of this message | ||
Short version: Fixed in CVS. :D
--Jani
On Thu, 2007-07-19 at 00:57 -0700, David wrote:
> > zend_language_scanner.c: No such file or directory
>
> Found the issue (at least for me). The problem was that the version of flex
> I had was 2.5.33, which is the latest version. However, 2.5.4 (an older
> version, confusingly) is the only version supported by PHP (which is noted
> in the documentation). 2.5.33 is not supported because backward
> compatibility was broken. (http://bugs.php.net/bug.php?id=39895)
>
> However, configure sees this as a warning and not a fatal error. But since
> there's no copy of zend_language_scanner.c in CVS, this is in fact, fatal.
> To make it even more difficult for people to figure out what's wrong, it
> changes $(LEX) to "exit 0;" which of course makes the make of
> zend_language_scanner.c succeed silently. I suppose if it returned anything
> else, there would be problems if zend_language_scanner.l was accidentally
> touched.
>
> I think the moral of the story is probably to add zend_language_scanner.c to
> CVS.
>
> David
>