LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 735|回复: 3

为什么在装PHP时会出现这样的错误阿

[复制链接]
发表于 2005-10-6 00:14:50 | 显示全部楼层 |阅读模式
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking whether ln -s works... yes
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 2422: lex: command not found
configure: error: cannot find output from lex; giving up
发表于 2005-10-6 00:16:33 | 显示全部楼层
装flex
何必编译
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-6 00:28:52 | 显示全部楼层
呵呵 谢谢
我以为是lex呢 所以去apt-get install lex
你怎么知道的是flex呢

不用编译吗?我要配PHP apache mysql
回复 支持 反对

使用道具 举报

发表于 2005-10-6 00:30:03 | 显示全部楼层
你直接apt-get install phpmyadmin mysql-client mysql-server三个包就好了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表