How to Compiling nginx-upload-progress-module

António P. P. Almeida appa at perusio.net
Sat Oct 23 15:56:22 MSD 2010


On 23 Out 2010 08h13 WEST, nginx-forum at nginx.us wrote:

> I not sure how to compile nginx-upload-progress-module, This is my
> step for ubuntu 10.04 in linode server. i create a temp folder to
> dump all the source there.
>
> cd temp wget http://nginx.org/download/nginx-0.8.53.tar.gz (download
> from http://github.com/masterzen/nginx-upload-progress-module and
> sftp to "temp")
> masterzen-nginx-upload-progress-module-v0.8.1-0-gc740674.tar.gz
>
> upzip them
> tar xzvf nginx-0.8.53.tar.gz
> tar xzvf
> masterzen-nginx-upload-progress-module-v0.8.1-0-gc740674.tar.gz

It's simpler to clone the git repo and work from there. No strange
names issues.

> I got funny folder name for
> masterzen-nginx-upload-progress-module-c740674, anyway i rename it
> as nginx_uploadprogress_module
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

> cd nginx-0.8.53
> ./configure --prefix=/opt \
> --sbin-path=/opt/sbin/nginx \
> --conf-path=/opt/etc/nginx/http-nginx.conf \
> --error-log-path=/var/log/http-nginx/error.log \
> --http-log-path=/var/log/http-nginx/access.log \
> --pid-path=/var/run/http-nginx.pid \
> --lock-path=/var/lock/http-nginx.lock \
> --user=www-data \
> --group=www-data \
> --with-http_realip_module \
> --with-rtsig_module \
> --with-http_gzip_static_module \
> --with-http_stub_status_module \
> --with-http_ssl_module \
> --without-mail_pop3_module \
> --without-mail_imap_module \
> --without-mail_smtp_module \
> --add-module=/root/temp/nginx-uploadprogress-module/ 
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Unless it's a typo above: no. The --add-module option must point to a
valid path. See above: _ instead of -. 

Where does source for the module live in the filesystem? Point
add-module to that.
--- appa




More information about the nginx mailing list