免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1790 | 回复: 4
打印 上一主题 下一主题

新手问题,安装PHP失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-04 08:40 |只看该作者 |倒序浏览
# ./configure --with-apxs=/usr/IBM/HTTPServer/bin/apxs
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... /usr/bin/sed
checking host system type... powerpc-ibm-aix5.2.0.0
checking target system type... powerpc-ibm-aix5.2.0.0
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... yes
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... no
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... no
checking for nawk... nawk
checking if nawk is broken... no
checking for bison... bison -y
checking for bison version... 2.1 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... Could not load program flex:
        Dependent module /usr/local/lib/libintl.a(libintl.so.3) could not be loaded.
        Member libintl.so.3 is not found in archive
configure: error: cannot find output from flex; giving up
试了好久都不成功,bison和flex都装了,不知道哪的问题,请大家帮忙。

论坛徽章:
0
2 [报告]
发表于 2006-11-04 11:08 |只看该作者
要安装一下libintl库吧!!!

论坛徽章:
0
3 [报告]
发表于 2006-11-04 15:36 |只看该作者
libintl库在/usr/lib下有,但是不知道为什么configure的时候会从/usr/local/lib下找

论坛徽章:
0
4 [报告]
发表于 2006-11-06 22:09 |只看该作者
g高手门帮忙

论坛徽章:
0
5 [报告]
发表于 2006-11-07 10:04 |只看该作者
你可以把/usr/lib的东西拷过去,再重新做好链接!
或者应该可以GCC带参数,这个我不懂!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP