当前位置:论坛首页 > Linux面板 > 求助

【已回应】宝塔无法安装Nginx

发表在 Linux面板2019-12-16 12:44 [复制链接] 4 2503

本帖最后由 谢花郎 于 2019-12-16 14:21 编辑

adding module in /www/server/nginx/src/ngx_devel_kit
+ ngx_devel_kit was configured
adding module in /www/server/nginx/src/lua_nginx_module
checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.0/ (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... not found
checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.0/ (specified by the LUAJIT_LIB and LUAJIT_INC env) ... not found
        ./configure: error: ngx_http_lua_module requires the Lua or LuaJIT library and LUAJIT_LIB is defined as /usr/local/lib and LUAJIT_INC (path for lua.h) /usr/local/include/luajit-2.0/, but we cannot find LuaJIT there.
make: *** No rule to make target 'build', needed by 'default'.  Stop.
make: *** No rule to make target 'install'.  Stop.
==================================
这个是执行日志 不管快速安装还是编译都行 缺了少依赖包吗

使用道具 举报 只看该作者 回复
发表于 2019-12-16 12:49:28 | 显示全部楼层
更新 LuaJIT 试一下
使用道具 举报 回复 支持 反对
发表于 2019-12-16 14:21:00 | 显示全部楼层
Ubuntu系统?执行下面安装一下lua依赖。

apt-get install lua5.1 lua5.1-dev
使用道具 举报 回复 支持 反对
发表于 2019-12-16 20:28:35 | 显示全部楼层
谢花郎 发表于 2019-12-16 14:21
Ubuntu系统?执行下面安装一下lua依赖。

apt-get install lua5.1 lua5.1-dev

安装了还是不行
使用道具 举报 回复 支持 反对
发表于 2020-6-26 01:12:10 | 显示全部楼层
楼主解决了吗
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表