Forum: NGINX Not able add nginx upload module to nginx 1.2.8

2974d09ac2541e892966b762aad84943?d=identicon&s=25 parulsood85 (Guest)
on 2013-07-18 15:56
(Received via mailing list)
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?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,240999,240999#msg-240999
2974d09ac2541e892966b762aad84943?d=identicon&s=25 parulsood85 (Guest)
on 2013-07-18 15:58
(Received via mailing list)
Please reply...

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,240999,241000#msg-241000
F8cb5bda7afc6c1acfc9eac4299c6335?d=identicon&s=25 Ivan (Guest)
on 2013-07-18 17:51
(Received via mailing list)
http://portage.perestoroniny.ru/www-servers/nginx/files/

use nginx-1.3.9_upload_module.patch


Четверг, 18 июля 2013, 9:57 -04:00 от "parulsood85"
<nginx-forum@nginx.us>:
F8cb5bda7afc6c1acfc9eac4299c6335?d=identicon&s=25 Ivan (Guest)
on 2013-07-18 17:54
(Received via mailing list)
: fatal error: md5.h: No such file or directory
fatal error: sha.h: No such file or directory

try to install openssl-devel  package


Четверг, 18 июля 2013, 19:50 +04:00 от Ivan <bdfy@mail.ru>:
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.