# Not able add nginx upload module to nginx 1.2.8

**URL:** <https://www.ruby-forum.com/t/not-able-add-nginx-upload-module-to-nginx-1-2-8/235833>\
**Category:** NGINX\
**Created:** [July 18, 2013, 3:56pm UTC](https://www.ruby-forum.com/t/not-able-add-nginx-upload-module-to-nginx-1-2-8/235833 "2013-07-18T15:56:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 18, 2013, 3:56pm UTC](https://www.ruby-forum.com/t/not-able-add-nginx-upload-module-to-nginx-1-2-8/235833/1 "2013-07-18T15:56:31Z")

</div>

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=  
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:

> **[Not able add nginx upload module to nginx 1.2.8](https://forum.nginx.org/read.php?2,240999,240999#msg-240999)**
>
> 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/Mak

---

<div class="post-metadata">

**Author:** ![parulsood85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@parulsood85](https://www.ruby-forum.com/u/parulsood85)\
**Post date:** [July 18, 2013, 3:58pm UTC](https://www.ruby-forum.com/t/not-able-add-nginx-upload-module-to-nginx-1-2-8/235833/2 "2013-07-18T15:58:17Z")

</div>

Please reply…

Posted at Nginx Forum:

> **[Re: Not able add nginx upload module to nginx 1.2.8](https://forum.nginx.org/read.php?2,240999,241000#msg-241000)**
>
> 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/Mak

---

<div class="post-metadata">

**Author:** ![parulsood85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@parulsood85](https://www.ruby-forum.com/u/parulsood85)\
**Post date:** [July 18, 2013, 5:51pm UTC](https://www.ruby-forum.com/t/not-able-add-nginx-upload-module-to-nginx-1-2-8/235833/3 "2013-07-18T17:51:05Z")

</div>

[http://portage.perestoroniny.ru/www-servers/nginx/files/](http://portage.perestoroniny.ru/www-servers/nginx/files/)

use nginx-1.3.9\_upload\_module.patch

Четверг, 18 июля 2013, 9:57 -04:00 от “parulsood85”  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![parulsood85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@parulsood85](https://www.ruby-forum.com/u/parulsood85)\
**Post date:** [July 18, 2013, 5:54pm UTC](https://www.ruby-forum.com/t/not-able-add-nginx-upload-module-to-nginx-1-2-8/235833/4 "2013-07-18T17:54:35Z")

</div>

: 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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
