no modules found after compiling
Joel Parker
joel.parker.gm at gmail.com
Tue May 30 16:21:46 UTC 2017
how can I compile them as external modules (shared objects) ?
Joel Parker
On Tue, May 30, 2017 at 10:22 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Tue, May 30, 2017 at 10:14:32AM -0500, Joel Parker wrote:
>
> > 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 ?
>
> The configure line you are using instructs nginx to compile all
> modules statically into nginx itself.
>
> --
> Maxim Dounin
> http://nginx.org/
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170530/67a79819/attachment-0001.html>
More information about the nginx
mailing list