LinuxSir.cn,穿越时空的Linuxsir!

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

安装php-4.3.2 不成功

[复制链接]
发表于 2003-8-20 23:19:49 | 显示全部楼层 |阅读模式
# ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
Updated main/php_version.h
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 2356: lex: command not found
configure: error: cannot find output from lex; giving up

是不是要安装flex? 我找到了flex,但安装也报错,郁闷啊。。。。
到底应该怎么办? 3q 各位了
发表于 2003-8-21 14:05:31 | 显示全部楼层
安装flex
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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