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

make: *** No rule to make target 'build', needed by 'default'. Stop #266

Open
redscience opened this issue Feb 9, 2023 · 3 comments
Open

Comments

@redscience
Copy link

I installed packages in "Debian 11"

apt install libplib-dev gcc openssl* pcre* zlib* git

but error continued

make: *** No rule to make target 'build', needed by 'default'. Stop

please guide me about resolution method

@yaoweibin
Copy link
Owner

yaoweibin commented Feb 10, 2023 via email

@redscience
Copy link
Author

nginx -v
nginx version: nginx/1.18.0

@redscience
Copy link
Author

redscience commented Feb 10, 2023

Additional details:

cd nginx-1.8.0
patch -p1 < /path/nginx_upstream_check_module/check.patch
./configure --add-module=/path/nginx_upstream_check_module
make
make: *** No targets specified and no makefile found. Stop.

vim Makefile

default:        build

clean:
        rm -rf Makefile objs

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