LinuxSir.cn,穿越时空的Linuxsir!

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

php我编译不过去,有如下错误,

[复制链接]
发表于 2004-6-9 19:05:23 | 显示全部楼层 |阅读模式
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2584: lex: command not found
configure: error: cannot find output from lex; giving up
[chh@wake php-4.1.2]$
发表于 2004-6-9 19:07:51 | 显示全部楼层
cannot find output from lex
你什么系统
这种系统建议直接安装二进制包
 楼主| 发表于 2004-6-9 19:11:37 | 显示全部楼层
我用的mandrake 9.1  
lex是什么东西, 我以前也编译过很多次没出现过这种情况
发表于 2004-6-9 19:14:04 | 显示全部楼层
MDK光盘上肯定有phph的 rpm还是元配的比较好
lex好象是个语法分析的命令
 楼主| 发表于 2004-6-9 19:18:03 | 显示全部楼层
不知道是什么原因引起的?
我所做的事就是升级了 Gtk2.4库,
加了防火墙,其它的没做过什么
发表于 2004-6-9 19:21:27 | 显示全部楼层
whereis lex
看你check的时候有的
要是没有就重新装一下flex这个rpm
 楼主| 发表于 2004-6-9 19:36:48 | 显示全部楼层
configure过去了,谢谢你
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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