openresty / openresty/lua-nginx-module

make[1]: *** No rule to make target 'lua-nginx-module/src/ngx_http_lua_autoconf.h', needed by 'objs/addon/src/ndk.o'. Stop.

Open
#1,778 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.8k
Forks
2.1k
Avg merge
6h 1m
Merged PRs (30d)
6

Description

./configure --with-ld-opt="-Wl,-rpath,/usr/local/luajit/lib" --add-module=./ngx_devel_kit --add-module=./lua-nginx-module
The operation ended normally, but then make an error,
make -j2

make[1]: *** No rule to make target 'lua-nginx-module/src/ngx_http_lua_autoconf.h', needed by 'objs/addon/src/ndk.o'. Stop.
make[1]: Leaving directory '/home/chaoshu/nginx/nginx-1.19.2'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the provided ./configure command and make -j2 invocation. Inspect the generated Makefile references to lua-nginx-module/src/ngx_http_lua_autoconf.h and the objs/addon/src/ndk.o target; done means the configured tree builds without the reported missing-rule error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua, nginx
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.