免费注册 查看新帖 |

Chinaunix

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

[Web] apache编译在configure阶段失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-04 15:01 |只看该作者 |倒序浏览
下载的apache httpd-2.2.6源码,在configure阶段报错退出,大家有遇到这种情况么?

apache version: 2.2.6
platform: Sun-Fire-V440
os version: 5.10
command line for the configure:
./configure --prefix=/opt/apache --enable-rewrite --enable-so --enable-static-support --enable-proxy=shared --build=sparc-sun-solaris2.10 --host=sparc-sun-solaris2.10 --target=sparc-sun-solaris2.10 CC=/opt/swe/tools/ext/sun/workshop_c++-11.0_p1/SUNWspro/bin/CC CFLAGS=-O2
error information:
...
checking size of ssize_t... 0
checking size of size_t... 0
checking size of off_t... 0
checking which type to use for apr_off_t... configure: error: could not determine the size of off_t
configure failed for srclib/apr

大概就是在configure他自带的APR(Apache Portable Runtime)出的错,如果只用参数--prefix=/opt/apache的话出错一样。不知道是不是我用的CC(C complier)的问题。
#/opt/swe/tools/ext/sun/workshop_c++-11.0_p1/SUNWspro/bin/CC -V
CC: Sun C++ 5.8 Patch 121017-10 2007/02/21
#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP