Forum: NGINX Nginx-1.4.1 fails when adding nginx_upload_module-2.2.0

2974d09ac2541e892966b762aad84943?d=identicon&s=25 iwitham (Guest)
on 2013-09-26 16:28
(Received via mailing list)
I am attempting to configure ngixn-1.4.1 on a SLES box for a galaxy
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
the configuration it fails as shown below:

../nginx_upload_module-2.2.0/ngx_http_upload_module.c: In function
../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
../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]: ***
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/ --error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log --user=galaxy --group=galaxy

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


Iry Witham

Posted at Nginx Forum:,243166,243166#msg-243166
8959bd8252c998c82459fd8140c08455?d=identicon&s=25 Cyril Lavier (Guest)
on 2013-09-26 16:53
(Received via mailing list)
On 09/26/2013 04:27 PM, iwitham wrote:
> ../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2687: error:
> Error 1
> --with-debug
> _______________________________________________
> nginx mailing list
Hello Iwitham.

For nginx starting 1.3.9, it's a known problem.

I produced a patch (a kludge then corrected by another person), and the
github issue is here :

The modified patch seems to work with nginx 1.5.1.


Cyril "Davromaniak" Lavier
KeyID 59E9A881
2974d09ac2541e892966b762aad84943?d=identicon&s=25 iwitham (Guest)
on 2013-09-26 19:11
(Received via mailing list)
Hello Davromaniak

Thanks for pointing me to this patch.  I have made the needed changes
was able to compile it just fine.


Posted at Nginx Forum:,243166,243169#msg-243169
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.