报错:

make[1]: Leaving directory `/opt/openresty-1.15.8.2/build/lua-geoip-0.1.2'
cd /opt/openresty-1.15.8.2/build/lua-libinjection-3.9.1 && make DESTDIR= LUA_INCLUDE_DIR=/opt/openresty-1.15.8.2/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 LU
A_LIB_DIR=/usr/local/openresty/lualib CC=ccmake[1]: Entering directory `/opt/openresty-1.15.8.2/build/lua-libinjection-3.9.1'
(cd lua; make)
make[2]: Entering directory `/opt/openresty-1.15.8.2/build/lua-libinjection-3.9.1/lua'
cp ../src/libinjection*.h ../src/libinjection*.c .
make[2]: *** No rule to make target `libinjection.h', needed by `libinjection_wrap.c'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/openresty-1.15.8.2/build/lua-libinjection-3.9.1/lua'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/openresty-1.15.8.2/build/lua-libinjection-3.9.1'
make: *** [all] Error 2

gmake即可:

gmake -j 8 
gmake install

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code