nginx-0.7.51

Mark Alan varia at e-healthexpert.org
Mon Apr 13 00:19:29 MSD 2009


Igor Sysoev wrote:
> Changes with nginx 0.7.51                                        12 Apr 2009

I do not know if it is a bug or a feature.

Version 0.7.51 compiles without any problems using the following config:
	./configure $(CONFIGURE_OPTS) \
	--conf-path=/etc/nginx/nginx.conf \
	--error-log-path=/var/log/nginx/error.log \
	--pid-path=/var/run/nginx.pid \
	--lock-path=/var/lock/nginx.lock \
	--http-log-path=/var/log/nginx/access.log \
	--http-client-body-temp-path=/var/lib/nginx/body \
	--http-proxy-temp-path=/var/lib/nginx/proxy \
	--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
	--with-http_ssl_module \
	--without-http_limit_req_module \
	--without-mail_pop3_module \
	--without-mail_smtp_module \
	--without-mail_imap_module

Version 0.7.51 DOES NOT COMPILE if one adds the "--without-http-cache" 
option  (giving the errors that I am attaching bellow):

	./configure $(CONFIGURE_OPTS) \
	--conf-path=/etc/nginx/nginx.conf \
	--error-log-path=/var/log/nginx/error.log \
	--pid-path=/var/run/nginx.pid \
	--lock-path=/var/lock/nginx.lock \
	--http-log-path=/var/log/nginx/access.log \
	--http-client-body-temp-path=/var/lib/nginx/body \
	--http-proxy-temp-path=/var/lib/nginx/proxy \
	--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
	--with-http_ssl_module \
	--without-http_limit_req_module \
	--without-mail_pop3_module \
	--without-mail_smtp_module \
	--without-mail_imap_module \
	--without-http-cache


M.

===
Compile time errors in a i386 machine running Ubuntu 8.10, using the 
standard settings from the nginx-0.x.xx/debian file, except the above 
tuning to the nginx-0.x.xx/debian/rules file:

gcc -c -Wall -g -O2  -I src/core -I src/event -I src/event/modules -I 
src/os/unix -I objs -I src/http -I src/http/modules \
		-o objs/src/http/ngx_http_upstream.o \
		src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.c: In function 
‘ngx_http_upstream_process_cache_control’:
src/http/ngx_http_upstream.c:2843: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
src/http/ngx_http_upstream.c:2847: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
src/http/ngx_http_upstream.c:2887: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
src/http/ngx_http_upstream.c: In function 
‘ngx_http_upstream_process_expires’:
src/http/ngx_http_upstream.c:2900: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
src/http/ngx_http_upstream.c:2904: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
src/http/ngx_http_upstream.c:2915: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
src/http/ngx_http_upstream.c: In function 
‘ngx_http_upstream_process_accel_expires’:
src/http/ngx_http_upstream.c:2931: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
src/http/ngx_http_upstream.c:2948: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
src/http/ngx_http_upstream.c:2959: error: ‘ngx_http_request_t’ has no 
member named ‘cache’
make[2]: *** [objs/src/http/ngx_http_upstream.o] Error 1
make[2]: Leaving directory `/home/jdesk/tmp/nginx-0.7.51'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/jdesk/tmp/nginx-0.7.51'
make: *** [build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
debuild: fatal error at line 1329:
dpkg-buildpackage -rfakeroot -D -us -uc -i failed





More information about the nginx mailing list