Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./configure: error: no ~/nginx_upstream_check_module/config was found #263

Open
ghost opened this issue Sep 20, 2022 · 2 comments
Open

./configure: error: no ~/nginx_upstream_check_module/config was found #263

ghost opened this issue Sep 20, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 20, 2022

I have done the following:

  1. wget 'http://nginx.org/download/nginx-1.20.2.tar.gz'
  2. tar -xzvf nginx-1.20.2.tar.gz
  3. cd nginx-1.20.2/
  4. cd ~/
  5. git clone https://github.com/yaoweibin/nginx_upstream_check_module.git
  6. cd nginx-1.20.2/
  7. patch -p1 < ~/nginx_upstream_check_module/check_1.20.1+.patch
  8. ./configure --add-module=~/nginx_upstream_check_module

After step 8 : ./configure: error: no ~/nginx_upstream_check_module/config was found

What is the problem?

@yaoweibin
Copy link
Owner

Can you read the file of ~/nginx_upstream_check_module/config?

@neorazor
Copy link

neorazor commented Jun 13, 2024

Greetings! I seem to be experiencing the same issues as the OP. And yes, I can read the file of ~/nginx_upstream_check_module/config.

Here is the output:

xxxxx@xxxxxx:~/nginx-1.20.1$ sudo cat ~/nginx_upstream_check_module/config
ngx_feature="ngx_http_upstream_check_module"
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs=
ngx_feature_libs=""
ngx_feature_path="$ngx_addon_dir"
ngx_feature_deps="$ngx_addon_dir/ngx_http_upstream_check_module.h"
ngx_check_src="$ngx_addon_dir/ngx_http_upstream_check_module.c"
ngx_feature_test="int a;"
. auto/feature

if [ $ngx_found = yes ]; then
have=NGX_HTTP_UPSTREAM_CHECK . auto/have
CORE_INCS="$CORE_INCS $ngx_feature_path"
ngx_addon_name=ngx_http_upstream_check_module
HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_check_module"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_feature_deps"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_check_src"
else
cat << END
$0: error: the ngx_http_upstream_check_module addon error.
END
exit 1
fi

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants