LinuxSir.cn,穿越时空的Linuxsir!

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

在Mandrake 中,编译php时出错,求助

[复制链接]
发表于 2003-6-6 17:13:05 | 显示全部楼层 |阅读模式
[root@linux_server php-4.3.0]# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for working sed... sed
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 ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
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 2482: lex: command not found
configure: error: cannot find output from lex; giving up
看看时什么回事
发表于 2003-6-6 20:02:30 | 显示全部楼层
少一个包,是flex的RPM包。如果是MD 91,应该是如下的这个包

flex-2.5.4a-20mdk.i586.rpm
 楼主| 发表于 2003-6-8 11:13:22 | 显示全部楼层

谢谢管理员,我已经搞掂了

谢谢了,我已经搞掂了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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