On Thu, July 19, 2007 1:46 am, Rasmus Lerdorf wrote:
> I don't see how this could possibly have anything to do with libxml.
Probably not.
It's just that I've never tried to not have libxml, and it always
worked before.
> zend_language_scanner.c is generated by flex from
> zend_language_scanner.l
>
> Your top-level Makefile should have a line that looks something like
> this:
>
> /Users/rasmus/php52/Zend/zend_language_scanner.c:
> /Users/rasmus/php52/Zend/zend_language_scanner.l
> @$(LEX) -Pzend -S/Users/rasmus/php52/Zend/flex.skl -o$@ -i
> /Users/rasmus/php52/Zend/zend_language_scanner.l
Yep.
> And at the top of the Makefile you should see LEX=flex
Nope.
LEX=exit 0;
I don't think that's right, eh?
How'd that get in there?
My flex is version 2.5.33
It's in /usr/bin/flex where it belongs, with all the other build
thingies.
I just emerege-d it like everything else, before I started.
[and before I tried to down-grade autoconf/automake/libtool]
If it helps, I did a `grep "LEX=" *` to try to see where it snuck in.
acinclude.m4 and aclocal.m4 both have LEX="exit 0;"
So whatever built those probably isn't behaving.
config.cache has ac_cv_prog_LEX=${ac_cv_prog_LEX=flex}
configure has a whole bunch of lines, and I suspect typing them here
out of context won't help, so:
http://l-i-e.com/flex/configure
genfiles has:
STD='... LEX="flex -L"...
So how come it didn't find my flex?
I can hack the Makefile and move on, I guess, eh?
I'm starting to think I'm not being a complete bonehead.
(This time.)
--
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?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php