Welcome! Log In Create A New Profile

Advanced

Re: no modules found after compiling

Maxim Dounin
May 30, 2017 11:24AM
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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

no modules found after compiling

Joel Parker May 30, 2017 11:16AM

Re: no modules found after compiling

Maxim Dounin May 30, 2017 11:24AM

Re: no modules found after compiling

Joel Parker May 30, 2017 12:24PM

Re: no modules found after compiling

Maxim Dounin May 30, 2017 12:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 112
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready