Code Monkey home page Code Monkey logo

Comments (6)

lcharkiewicz avatar lcharkiewicz commented on August 18, 2024 1

@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.

davidterranova avatar davidterranova commented on August 18, 2024

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.

davidterranova avatar davidterranova commented on August 18, 2024

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.

jslhcl avatar jslhcl commented on August 18, 2024

@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.

jfwblog avatar jfwblog commented on August 18, 2024

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.

khavishbhundoo avatar khavishbhundoo commented on August 18, 2024

@fdintino This issue can be closed as its irrelevant to the latest version

from nginx-upload-module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.