LinuxSir.cn,穿越时空的Linuxsir!

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

#./configure出现的错误提示<------郁闷-->

[复制链接]
发表于 2004-10-8 17:39:24 | 显示全部楼层 |阅读模式
偶的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
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .
/*****************************************************************************
/


好象是缺少一个什么flex 或者是 什么lex的模块
郁闷啊!

请高手指点 不胜感激!!!
 楼主| 发表于 2004-10-9 12:06:55 | 显示全部楼层
顶上去...............
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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