Modules folder not created
Joel Parker
joel.parker.gm at gmail.com
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 :
ndk_http_module.so
ngx_http_ula_module.so
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/nginx.pid
--lock-path=/var/run/nginx.lock
--http-client-body-temp-path=/var/cache/nginx/client_temp
--http-proxy-temp-path=/var/cache/nginx/proxy_temp
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
--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
--add-module='/root/proxy/ngx_devel_kit-0.3.0'
--add-module='/root/proxy/lua-nginx-module-0.10.8'
--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/
ngx_devel_kit-0.3.0
lua-nginx-module-0.10.8
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: <http://mailman.nginx.org/pipermail/nginx/attachments/20170530/154682e5/attachment.html>
More information about the nginx
mailing list