[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Modules folder not created
From:       Joel Parker <joel.parker.gm () gmail ! com>
Date:       2017-05-30 15:01:29
Message-ID: CAG6CpSBcFUA8V=RJSDvSx=bbD8wNbudr4cG48bbRtTcnAL=Zvw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 ?

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>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&#39;t exist and there are no sign 
of the shared libraries \
:<br><br>ndk_http_module.so<br>ngx_http_ula_module.so<br><br></div>Here is my \
configure command :<br><br>  ./configure --prefix=/etc/nginx \
--sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.c<wbr>onf \
--error-log-path=/var/log/ngin<wbr>x/error.log \
--http-log-path=/var/log/nginx<wbr>/access.log --pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.loc<wbr>k \
--http-client-body-temp-path=/<wbr>var/cache/nginx/client_temp \
--http-proxy-temp-path=/var/ca<wbr>che/nginx/proxy_temp \
--http-fastcgi-temp-path=/var/<wbr>cache/nginx/fastcgi_temp \
--http-uwsgi-temp-path=/var/ca<wbr>che/nginx/uwsgi_temp \
                --http-scgi-temp-path=/var/cac<wbr>he/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<wbr>   --with-http_random_index_modul<wbr>e \
--with-http_secure_link_module --with-http_stub_status_module \
                --with-http_auth_request_modul<wbr>e  
 --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 
--with-stream --with-stream_ssl_module \
--add-module=&#39;/root/proxy/ngx_<wbr>devel_kit-0.3.0&#39; \
--add-module=&#39;/root/proxy/lua-<wbr>nginx-module-0.10.8&#39; \
                --with-ld-opt=&#39;-Wl,-rpath,/usr<wbr>/local/lib&#39;
 --with-cc-opt=&#39;-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic&#39;<br><br></div>In \
the directory /root/proxy/ <br>ngx_devel_kit-0.3.0 \
<br>lua-nginx-module-0.10.8<br><br></div>I exported these two \
variables:<br><br>export LUA_LIB=/usr/local/lib<br>export \
LUA_INC=/usr/local/include<br><br></div>and these directories do include the headers \
and libs.<br><br></div>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.<br><br></div>Here is nginx version: nginx version: \
nginx/1.11.2<br></div>OS: Centos 7<br><br>nothing found in :<br><br></div>/etc/nginx/ \
(not even modules folder)<br></div>/usr/share/ (no nginx folder)<br></div>/usr/app/   \
(doesn&#39;t exist on Centos 7)<br><br></div>what am I doing wrong ?</div>



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic