Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.7.51

Mark Alan
April 12, 2009 04:19PM
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
Subject Author Posted

nginx-0.7.51

Igor Sysoev April 12, 2009 05:44AM

Re: nginx-0.7.51

Mark Alan April 12, 2009 04:19PM

why not make ngx_http_static_module built in

dennis cao April 12, 2009 10:48PM

why not make post_to _static built in

dennis cao April 13, 2009 06:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 246
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready