> 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to