Nginx-1.4.1 fails when adding nginx_upload_module-2.2.0

iwitham nginx-forum at nginx.us
Thu Sep 26 14:27:53 UTC 2013


I am attempting to configure ngixn-1.4.1 on a SLES box for a galaxy server
deployment.  I am able to get it to work fine as long as I do not try to
--add-module=../nginx_upload_module-2.2.0.  When I add the upload_module to
the configuration it fails as shown below:

		../nginx_upload_module-2.2.0/ngx_http_upload_module.c
../nginx_upload_module-2.2.0/ngx_http_upload_module.c: In function
‘ngx_http_read_upload_client_request_body’:
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2628: error:
‘ngx_http_request_body_t’ has no member named ‘to_write’
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2687: error:
‘ngx_http_request_body_t’ has no member named ‘to_write’
../nginx_upload_module-2.2.0/ngx_http_upload_module.c: In function
‘ngx_http_do_read_upload_client_request_body’:
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2769: error:
‘ngx_http_request_body_t’ has no member named ‘to_write’
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2785: error:
‘ngx_http_request_body_t’ has no member named ‘to_write’
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2877: error:
‘ngx_http_request_body_t’ has no member named ‘to_write’
make[1]: *** [objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o]
Error 1
make[1]: Leaving directory `/root/nginx-1.4.1'
make: *** [build] Error 2

My configuration script is:

./configure --add-module=/var/tmp/ldap/nginx-auth-ldap-master
--add-module=../nginx_upload_module-2.2.0 --with-pcre=../pcre-8.33
--with-http_ssl_module --conf-path=/usr/local/nginx/conf/nginx.conf
--pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log --user=galaxy --group=galaxy
--with-debug

Is there a known issue with this version of nginx_upload_module?  Is there a
work around?

Thanks,

Iry Witham

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243166,243166#msg-243166



More information about the nginx mailing list