分页: 1 / 1

请问 lex是干什么的

发表于 : 2005-10-30 19:44
freespirit
我自己在编译PHP时,configure时用的命令是

代码: 全选

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
却有如下得输出,不知是怎么回事

代码: 全选

checking for gawk... no
checking for mawk... mawk
checking for bison... no
checking for byacc... no
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 2425: lex: command not found
configure: error: cannot find output from lex; giving up
请问lex是干什么的?

发表于 : 2005-10-30 20:12
firstrose
lex是词法分析器

可能你没有lex