免费注册 查看新帖 |

Chinaunix

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

[Web] 安装NGNIX时出错,HELP [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-05-24 08:54 |只看该作者 |倒序浏览
src/core/ngx_md5.h:18:17: error: md5.h: No such file or directory
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ngx_md5_t’
src/http/ngx_http_file_cache.c: In function ‘ngx_http_file_cache_create_key’:
src/http/ngx_http_file_cache.c:120: error: ‘ngx_md5_t’ undeclared (first use in this function)
src/http/ngx_http_file_cache.c:120: error: (Each undeclared identifier is reported only once
src/http/ngx_http_file_cache.c:120: error: for each function it appears in.)
src/http/ngx_http_file_cache.c:120: error: expected ‘;’ before ‘md5’
cc1: warnings being treated as errors
src/http/ngx_http_file_cache.c:128: warning: implicit declaration of function ‘MD5Init’
src/http/ngx_http_file_cache.c:128: error: ‘md5’ undeclared (first use in this function)
src/http/ngx_http_file_cache.c:138: warning: implicit declaration of function ‘MD5Update’
src/http/ngx_http_file_cache.c:145: warning: implicit declaration of function ‘MD5Final’
make[1]: *** [objs/src/http/ngx_http_file_cache.o] Error 1
make[1]: Leaving directory `/home/nginx-0.7.58'
make: *** [build] Error 2

./configure --prefix=/usr/local/ngnix/ --user=www --group=www --with-http_stub_status_module 编译没有问题,
make 时出现上述问题,请高手帮忙看看,我的GCC是4.1的!

论坛徽章:
0
2 [报告]
发表于 2009-05-24 08:59 |只看该作者
安装0.6.37版本竟然没有问题,是否是gcc太低的缘故?

论坛徽章:
0
3 [报告]
发表于 2009-05-26 10:25 |只看该作者
cyrus-sasl-devel
装上这个包再试试~

论坛徽章:
0
4 [报告]
发表于 2009-05-30 21:56 |只看该作者
你的是那个版本的,必须按照core
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP