Comments (6)
@davidterranova I compiled nginx 1.7.4 with nginx-upload-module 2.2.0 (branch 2.2 is very important!) without any problems.
$ nginx -V
nginx version: nginx/1.7.4
built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
configure arguments: --add-module=nginx-upload-module
The second thing is you need the libssl-dev package (which contains the necessary md5.h file).
from nginx-upload-module.
same here, nginx 1.7.4 and nginx-upload-module 2.2 give me this error
In file included from /root/nginx-upload-module/ngx_http_upload_module.c:10:0:
/root/nginx-upload-module/ngx_http_upload.h:11:17: fatal error: md5.h: No such file or directory
compilation terminated.
make[1]: *** [objs/addon/nginx-upload-module/ngx_http_upload_module.o] Error 1
make[1]: Leaving directory `/root/nginx-1.7.4'
make: *** [build] Error 2
from nginx-upload-module.
Thanks ! I was not on the right branch.
Best regards,
Le 26 août 2014 à 16:23, illuminatis [email protected] a écrit :
@davidterranova I compiled nginx 1.7.4 with nginx-upload-module 2.2.0 (branch 2.2 is very important!) without any problems.
$ nginx -V
nginx version: nginx/1.7.4
built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
configure arguments: --add-module=nginx-upload-module
The second thing is you need the libssl-dev package (which contains the necessary md5.h file).—
Reply to this email directly or view it on GitHub.
from nginx-upload-module.
@lcharkiewicz , same error happens in nginx 1.9.5 and nginx_upload_module 2.2.0:
md5.h: no such file or directory
I've already installed libssl-dev and there is openssl/md5.h in my machine
but looks that the macro NGX_HAVE_OPENSSL_MD5_H is not enabled.
environment: Ubuntu 14.04
from nginx-upload-module.
I am seconding @jslhcl report that branch 2.2 fails to compile on nginx 1.11.4
I worked around the problem by adding
#define NGX_HAVE_OPENSSL_MD5_H 1
#define NGX_OPENSSL_MD5 1
#define NGX_HAVE_OPENSSL_SHA1_H 1
on line 11 of ngx_http_upload_module.c
This is only a HACK FIX that will only work if you know you have openssl libraries installed. If you do not have openssl installed this will make your build even less correct.
Long-term solution would be nice.
from nginx-upload-module.
@fdintino This issue can be closed as its irrelevant to the latest version
from nginx-upload-module.
Related Issues (20)
- build error with boringssl
- File name of 25 characters or more, corrupt the upload_field_name.path in the http header HOT 4
- POST form data are lost when using chunk mode of blueimp-jQuery-File-Upload HOT 1
- Compile errors on windows HOT 4
- Upload failing with http2 HOT 3
- Problem with compiling 2.2 with nginx 1.19 HOT 3
- nginx崩溃 HOT 3
- Upload to fastcgi backend HOT 2
- web client cross domain, not work HOT 1
- chunked upload file hashes dropped
- behind upload_pass only can use php? HOT 5
- why `upload_pass_form_field` does not work HOT 3
- Hi, when will you release a new tag ? HOT 2
- Does this support http3? HOT 1
- Uploaded files do not appear in the directory HOT 1
- unable to build with nginx HOT 2
- Nginx error - Page is temporarily unavailable.
- upload_file_name
- upload_pass_form_field does not work HOT 1
- I don't want to use the proxy feature. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-upload-module.