应该是你用的NGINX版本已经不支持这些数据结构了, 尝试一下老的NGINX版本吧, 比如0.6.26之类
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其他第三方插件无法安装的问题也得到很好的解决,再次由衷的表示感谢,更感谢回复和指导!