请教rh9+apache2+oracle9i+php4的安装问题
今天想做一个rh9+apache2+oracle9i+php4,rh9+apache2+oracle9i已经装好,再装PHP4时遇见了这样的问题:
[root@localhost php-4.3.11]# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/httpd/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 whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2422: lex: command not found
configure: error: cannot find output from lex; giving up
我觉得是configure是的问题,可是具体还是不太明白,请各位帮帮忙
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
晕!大家快点发表下意见
谁能给我提供个文档也行啊,谢谢大家了
看来问题最终还要自己解决,缺少lex,我装了一个flex-2.5.4a-29.i386.rpm,就没有这个错误了