On Mon, Jun 15, 2009 at 12:27:17PM +0200, andan andan wrote:
> 2009/6/15 Igor Sysoev :
> > Changes with nginx 0.7.60 15 Jun 2009
> >
>
> Hi Igor,
>
> I got the following error compiling nginx 0.7.60:
>
> $> ./configure --with-http_stub_status_module --with-http_ssl_module
> --without-select_module --without-http_ssi_module
> --without-http_userid_module --without-http_autoindex_module
> --without-http_geo_module --without-http_map_module
> --without-http_referer_module --without-http_fastcgi_module
> --without-http_memcached_module --without-http_limit_zone_module
> --without-http_limit_req_module --without-http_empty_gif_module
> --without-http_browser_module --without-http_upstream_ip_hash_module
> --without-http-cache --without-mail_pop3_module
> --without-mail_imap_module --without-mail_smtp_module
>
> ....
>
> $> make
> ...
> src/http/ngx_http_upstream.c: In function 'ngx_http_upstream_hide_headers_hash':
> src/http/ngx_http_upstream.c:4089: error: 'ngx_http_upstream_conf_t'
> has no member named 'cache'
> src/http/ngx_http_upstream.c:4089: error: 'ngx_http_upstream_conf_t'
> has no member named 'cache'
> make[1]: *** [objs/src/http/ngx_http_upstream.o] Error 1
>
> Any idea ?
> Thanks in advance.
This is because of --without-http-cache.
The attached patch fixes the bug.
--
Igor Sysoev
http://sysoev.ru/en/