QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 791|回复: 4

安装PHP出问题了,麻烦大家看看

[复制链接]
发表于 2005-10-29 11:32:38 | 显示全部楼层 |阅读模式
[root@Linux php-4.4.0]#  ./configure --prefix=/usr/local/php5 --with-mysql=/usr/bin/mysql --with-mail --with-apxs2=/usr/local/apache/bin/apxs
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 re2c... exit 0;
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 2425: lex: command not found
configure: error: cannot find output from lex; giving up
[root@Linux php-4.4.0]#
发表于 2005-10-29 12:27:38 | 显示全部楼层
会不会你的开发工具没有安装完全啊
回复

使用道具 举报

发表于 2005-10-29 22:36:15 | 显示全部楼层
checking lex output file root... ./configure: line 2425: lex: command not found

lex 没装
回复

使用道具 举报

 楼主| 发表于 2005-10-29 22:41:20 | 显示全部楼层
[quote:422ebe5408="linky_fan"]
checking lex output file root... ./configure: line 2425: lex: command not found

lex 没装[/quote]

lex包能通过"添加删除程序"安装上吗?具体是哪个包?谢谢.
回复

使用道具 举报

发表于 2005-10-30 21:47:35 | 显示全部楼层
Flex-2.x.x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 20:33 , Processed in 0.045322 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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