php-4.3.2安装

由 Xiangbuilder 在 11-19-2003 12:27 发表:

php-4.3.2安装

我的REDHAT9上没有安装mysql, apache等网络组件,我从51.net购买了空间,准备做网站消遣。

安装时出现了下面的错误信息,怎么办?谢谢。

[root@localhost php-4.3.2]# ./configure --enable-track-vars

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... no

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

[root@localhost php-4.3.2]# ./configure

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 ranlib... ranlib

checking whether ln -s works... no<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus