mdirolf / nginx-gridfs

Nginx module for serving files from MongoDB's GridFS
http://www.mongodb.org
Other
796 stars 148 forks source link

Make nginx-gridfs wrong! #38

Open anhtuanbd opened 12 years ago

anhtuanbd commented 12 years ago

Hi all,

I'm a newbie. I'm try install nginx(nginx-1.0.10) with nginx-gridfs with configure: ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ipv6 --add-module=/soft/nginx/mdirolf-nginx-gridfs-e5d8cc7/

=> Configure success: Configuration summary

But, when i run make, It has error: -o objs/src/http/modules/ngx_http_stub_status_module.o \ src/http/modules/ngx_http_stub_status_module.c ', needed by objs/addon/mdirolf-nginx-gridfs-e5d8cc7/ngx_http_gridfs_module.o'. Stop.driver/src/*.h make[1]: Leaving directory/soft/nginx/nginx-1.0.10' make: *\ [build] Error 2

Please help me resolve this.

Thank you so much. TUAN NGO

Gluoo commented 8 years ago

I encountered such a issue before. Here is my solution: download a pcre source code from http://sourceforge.net/projects/pcre/, when configure add the pcre source code folder, eg: configure --with-pcre=../pcre-8.34 --add-module=/soft/nginx/mdirolf-nginx-gridfs-e5d8cc7/ Wish it can helps.