0

I have an Openresty installation with the following configure settings:

$ openresty -V 2>&1
nginx version: openresty/1.17.8.1
built by gcc 9.3.0 (Ubuntu 9.3.0-10ubuntu2) 
built with OpenSSL 1.1.1f  31 Mar 2020
TLS SNI support enabled

Wrapped argument list for better readability:

configure arguments:
--prefix=/usr/local/openresty/nginx
--with-cc-opt=-O2
--add-module=../ngx_devel_kit-0.3.1
--add-module=../echo-nginx-module-0.62
--add-module=../xss-nginx-module-0.06
--add-module=../ngx_coolkit-0.2
--add-module=../set-misc-nginx-module-0.32
--add-module=../form-input-nginx-module-0.12
--add-module=../encrypted-session-nginx-module-0.08
--add-module=../srcache-nginx-module-0.32
--add-module=../ngx_lua-0.10.17
--add-module=../ngx_lua_upstream-0.07
--add-module=../headers-more-nginx-module-0.33
--add-module=../array-var-nginx-module-0.05
--add-module=../memc-nginx-module-0.19
--add-module=../redis2-nginx-module-0.15
--add-module=../redis-nginx-module-0.3.7
--add-module=../rds-json-nginx-module-0.15
--add-module=../rds-csv-nginx-module-0.09
--add-module=../ngx_stream_lua-0.0.8
--with-ld-opt=-Wl,-rpath,/usr/local/openresty/luajit/lib
--with-http_ssl_module
--with-pcre-jit
--with-ipv6
--with-http_v2_module
--add-module=/home/ubuntu/incubator-pagespeed-ngx-1.13.35.2-stable
--with-stream
--with-stream_ssl_module
--with-stream_ssl_preread_module

I tried to simply copy all arguments and add --with-http_stub_status_module at the end (the extra module I want to add), and got the following error:

 + ngx_stream_lua_module was configured
adding module in /home/ubuntu/openresty-1.17.8.1/../ngx_devel_kit-0.3.1
./configure: error: no /home/ubuntu/openresty-1.17.8.1/../ngx_devel_kit-0.3.1/config was found
ERROR: failed to run command: sh ./configure --prefix=/usr/local/openresty/nginx/nginx \...
ubuntu@ip-172-31-43-162:~/openresty-1.17.8.1$ openresty -V 2>&1

The bottomline is: I need to install --with-http_stub_status_module and I want to do it the safest way without breaking anything.

Paul
  • 2,755
  • 6
  • 24
  • 35
  • `./configure: error: no /home/ubuntu/openresty-1.17.8.1/../ngx_devel_kit-0.3.1/config` was found` mean it's lookinh in open retry for directory ngy devel and there for the config file which seems not to exist – djdomi Jul 02 '22 at 05:19

0 Answers0