ncache安装问题请教与回复

应该是你用的NGINX版本已经不支持这些数据结构了, 尝试一下老的NGINX版本吧, 比如0.6.26之类

-- 
_______________________________________________________
Pang Fan - 庞帆           pangfan@staff.sina.com.cn
研发中心 - 系统开发部 - 系统工程师
R&D Center. - System Develop Dept. - System Engineer

Tel: (8610) 82628888 - 6407, 62676407, 13651178751
Fax: (8610) 82607510
Add: 北京市海淀区北四环西路58号理想国际大厦17层
_______________________________________________________
http://www.sina.com.cn                  You're the One
新浪.北京                                     一切由你开始!
_______________________________________________________

 

On 2009-9-29, at 下午6:55, liuyunfengheda wrote:

pangfan您好!
       我在安装和配置的过程中遇到下面的问题,make编译始终通不过,从网上查找但是都无答案,在ncache group里面也有不少网友遇到类似的问题:
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_http_proxy_get_request_path':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:531: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:533: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:534: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:543: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:545: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:546: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:558: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:563: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:567: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_http_proxy_get_md5':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:576: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:576: error: structure has no member named `path'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:577: error: structure has no member named `md5'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_http_proxy_get_hash_index':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:587: error: structure has no member named `md5'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_http_proxy_get_path':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:987: error: structure has no member named `md5'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_http_proxy_shm_is_timeout':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1243: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1246: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1247: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1250: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1252: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1253: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_http_proxy_set_gzip':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1305: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_http_get_cache_handler':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1381: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1392: error: structure has no member named `md5'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:1397: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ngx_http_upstream_cache_lio_write':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2153: error: structure has no member named `expires'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2154: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2155: error: structure has no member named `md5'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_get_hash_index':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2215: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2222: error: structure has no member named `md5'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2225: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ngx_http_shm_hash_del':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2240: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2240: error: structure has no member named `md5'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2246: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2249: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2251: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ncache_http_proxy_purge_handler':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2302: error: structure has no member named `md5'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2304: error: structure has no member named `crc'
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c: In function `ngx_http_upstream_cache_header_filter':
src/http/modules/ncache-2.2/ncache_http_get_cache_module.c:2535: error: structure has no member named `expires'
make[1]: *** [objs/addon/ncache-2.2/ncache_http_get_cache_module.o] Error 1
make[1]: Leaving directory `/root/nginx-0.8.16'
make: *** [build] Error 2
     我的系统是rhl4 el,望您指教,感激不尽!热盼回复!
     祝工作顺利
换成旧版本之后问题解决,同时nginx其他第三方插件无法安装的问题也得到很好的解决,再次由衷的表示感谢,更感谢回复和指导!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值