Welcome! Log In Create A New Profile

Advanced

Not able add nginx upload module to nginx 1.2.8

July 18, 2013 09:56AM
Hi,

I am trying add the nginx upload module 2.2.0 with nginx 1.2.8 and getting below error.

after./configure --add-module=<path to upload module sources>
and
make

this one fails

> make install
make -f objs/Makefile install
make[1]: Entering directory `/app/build/nginx-1.2.8'
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
-o objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o \
/app/build/nginx-1.2.8/nginx_upload_module-2.2.0/ngx_http_upload_module.c
/app/build/nginx-1.2.8/nginx_upload_module-2.2.0/ngx_http_upload_module.c:14:17: fatal error: md5.h: No such file or directory
compilation terminated.
make[1]: *** [objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o] Error 1
make[1]: Leaving directory `/app/build/nginx-1.2.8'
make: *** [install] Error 2


> make install
make -f objs/Makefile install
make[1]: Entering directory `/app/build/nginx-1.2.8'
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
-o objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o \
/app/build/nginx-1.2.8/nginx_upload_module-2.2.0/ngx_http_upload_module.c
/app/build/nginx-1.2.8/nginx_upload_module-2.2.0/ngx_http_upload_module.c:26:17: fatal error: sha.h: No such file or directory
compilation terminated.
make[1]: *** [objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o] Error 1
make[1]: Leaving directory `/app/build/nginx-1.2.8'
make: *** [install] Error 2


Should I try some lower version of this module?
SubjectAuthorPosted

Not able add nginx upload module to nginx 1.2.8

parulsood85July 18, 2013 09:56AM

Re: Not able add nginx upload module to nginx 1.2.8

parulsood85July 18, 2013 09:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready