当前时区 GMT+8, 现在时间是 2008-9-5 21:00 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: 装php5出错 求助。。。。
xiaochangsql
新手上路
Rank: 1



UID 230004
精华 0
积分 5
帖子 2
阅读权限 10
注册 2006-11-7
状态 离线
发表于 2006-11-7 18:13  资料  短消息  加为好友  QQ
装php5出错 求助。。。。

> --with-mcrypt \
> --enable-roxen-zts \
> --enable-zend-multibyte \
> --enable-track-vars \
> --enable-mbstring \
> --enable-mbregex
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target 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 whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none).
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 3276: lex: command not found
configure: error: cannot find output from lex; giving up
[root@cs11 php-5.2.0]#





linux 群,群号码:5545111 本群讨论 设计,Redhat,FreeBSD,Java,Jsp,Php,Mysql,Oracle,网络技术,黑客! -①℃冰洁/昌!
顶部
on-fire
新手上路
Rank: 1



UID 200889
精华 0
积分 45
帖子 18
阅读权限 10
注册 2005-9-25
状态 离线
发表于 2006-11-11 00:27  资料  短消息  加为好友 
我也碰到类似错误,我一开始以为是apxs问题,在我找不到apxs后我重新编译apache2.2,但问题依旧,请知道答案顺便copy给我一份。
Email:sunbbs21@21cn.com





感谢帮助过我的人,尽我所能帮助有需要的人。
顶部
on-fire
新手上路
Rank: 1



UID 200889
精华 0
积分 45
帖子 18
阅读权限 10
注册 2005-9-25
状态 离线
发表于 2006-11-11 13:49  资料  短消息  加为好友 
今天静下心来想了一下可能是缺少了一些必要的软件,例如:re2c、bison等。
下载re2c-0.10.6.tar.gz,编译安装后少了一个警告。
下载bison-2.3.tar.bz2,编译安装后又少个警告。
下载flex-2.5.33.tar.bz2,编译安装后上面的错误基本消除。
安装好软件后记得做ln到/bin目录下,不然系统找不到re2c、bison、flex这几个工具。





感谢帮助过我的人,尽我所能帮助有需要的人。
顶部
on-fire
新手上路
Rank: 1



UID 200889
精华 0
积分 45
帖子 18
阅读权限 10
注册 2005-9-25
状态 离线
发表于 2006-11-12 00:59  资料  短消息  加为好友 
然后就是安装libxml2这个软件,这个软件不用设置--prefix参数,只是./configure安装就行了,不然php5会找不到的。





感谢帮助过我的人,尽我所能帮助有需要的人。
顶部
on-fire
新手上路
Rank: 1



UID 200889
精华 0
积分 45
帖子 18
阅读权限 10
注册 2005-9-25
状态 离线
发表于 2006-11-12 01:01  资料  短消息  加为好友 
经过了两天的折磨,终于安装成功 apache2.2.3+php5.2.0





感谢帮助过我的人,尽我所能帮助有需要的人。
顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP