由 lizi02 在 10-08-2004 17:39 发表:
**#./configure出现的错误提示 <------郁闷--> **
偶的linux是硬盘安装 安装的时候精间了不少东西
以后装东西的时候老是提示这样那样的包缺少
我的gcc是后来从光盘里面找了几个包装上去的 不知道装的完整不完整 反正老是提示出
错
我装php的时候 ./configure的错误提示为:
/*****************************************************************************
*/
[root@kestrel php-4.3.4]# ./configure --prefix=/www/mysql --enable-force-cgi-r
edirect --with-xml --enable-calendar --with-apxs=/www/apache/bin/apxs
creating 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 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 pars
ers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command not foun
d
configure: error: cannot find output from lex; giving up
/*****************************************************************************
/
然后我装上网认证程序的时候也是出错 而且从错误提示上看好象是缺少同一个东西
/*****************************************************************************
/
configure: error: Your operating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including <br /