On 09/26/2013 04:27 PM, iwitham wrote: > 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 > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx 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 : https://github.com/vkholodkov/nginx-upload-module/issues/41 The modified patch seems to work with nginx 1.5.1. Thanks. -- Cyril "Davromaniak" Lavier KeyID 59E9A881 http://www.davromaniak.eu _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
