PDA

View Full Version : Failed with lex


benkong2
1st August 2005, 23:16
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2422: lex: command not found
configure: error: cannot find output from lex; giving up
ERROR: Could not configure PHP

What am I missing on my system that causes this installation to fail

manu
1st August 2005, 23:32
Install bison and flex. If you use apt, you can use
apt-cache search flex
apt-cache search bison
to find appropriate packages.

benkong2
2nd August 2005, 01:42
Install bison and flex. If you use apt, you can use
apt-cache search flex
apt-cache search bison
to find appropriate packages.

That was exactly what I needed.