Modules folder not created

Joel Parker at
Tue May 30 15:01:29 UTC 2017

I am running centos7 and am compiling the lua module and the ndk http
module. Everything seems to be configured correctly but after I  do a make
and make install, the modules directory doesn't exist and there are no sign
of the shared libraries :

Here is my configure command :

 ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log --pid-path=/var/run/
--http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx
--with-http_ssl_module --with-http_realip_module
--with-http_addition_module --with-http_sub_module --with-http_dav_module
--with-http_flv_module --with-http_mp4_module --with-http_gunzip_module
--with-http_gzip_static_module  --with-http_random_index_module
--with-http_secure_link_module --with-http_stub_status_module
--with-http_auth_request_module  --with-mail --with-mail_ssl_module
--with-file-aio --with-ipv6 --with-stream --with-stream_ssl_module
--with-ld-opt='-Wl,-rpath,/usr/local/lib' --with-cc-opt='-O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic'

In the directory /root/proxy/

I exported these two variables:

export LUA_LIB=/usr/local/lib
export LUA_INC=/usr/local/include

and these directories do include the headers and libs.

The configure command fails without error and finds the directories under
/root/proxy. The make and make install generate no errors but the shared
objects are nowhere to be found.

Here is nginx version: nginx version: nginx/1.11.2
OS: Centos 7

nothing found in :

/etc/nginx/ (not even modules folder)
/usr/share/ (no nginx folder)
/usr/app/    (doesn't exist on Centos 7)

what am I doing wrong ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list