tengine增加模块再编译时出错

问答中心分类: Nginxtengine增加模块再编译时出错
weo asked 6 年 ago

-o objs/addon/src/ngx_http_lua_script.o \
../lua-nginx-module/src/ngx_http_lua_script.c
In file included from ../lua-nginx-module/src/ngx_http_lua_script.h:11:0,
from ../lua-nginx-module/src/ngx_http_lua_script.c:13:
../lua-nginx-module/src/ngx_http_lua_common.h:20:20: fatal error: luajit.h: No such file or directory
#include <luajit.h>
^
compilation terminated.
make[1]: *** [objs/addon/src/ngx_http_lua_script.o] Error 1
make[1]: Leaving directory `/root/oneinstack/src/tengine-2.2.3'
make: *** [build] Error 2
不知道怎么处理这个啊

1 Answers
oneinstack answered 6 年 ago
luajit没有安装!