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

【已完成】Nginx安装一直报错

发表在 Linux面板2023-4-24 19:16 [复制链接] 7 2391

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

7.9.9
系统版本:

Debian 23.05.0
问题描述:

Nginx
相关截图(日志、错误):

使用道具 举报 只看该作者 回复
发表于 2023-4-24 19:18:03 | 显示全部楼层
./configure: error: the HTTP XSLT module requires the libxml2/libxslt
libraries. You can either do not enable the module or install the libraries.

make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
Armbian 23.05.0-trunk Jammy \l

Linux 5.15.100-flippy-82+o aarch64忘记附上日志信息
使用道具 举报 回复 支持 反对
发表于 2023-4-24 19:49:23 | 显示全部楼层
宝塔用_dd75 发表于 2023-4-24 19:18
./configure: error: the HTTP XSLT module requires the libxml2/libxslt
libraries. You can either do n ...

您好,您这个错误是安装nginx的时候缺少以下的组件包,您复制下面的命令到终端中执行,执行成功后再次安装nginx,如果执行失败,可能是存在另外的错误,请截图发出来
  1. apt-get update
  2. apt-get install libxml2 libxml2-dev libxslt-dev
复制代码

另外,您使用的Armbian 23.05.0-trunk Jammy系统,面板并未做过兼容支持,面板支持的系统列表请参考下面的链接
https://docs.qq.com/sheet/DUm54VUtyTVNlc21H?tab=BB08J2
https://docs.qq.com/sheet/DUkFtbmZaVFp4Z1NB?tab=BB08J2
使用道具 举报 回复 支持 反对
发表于 2023-4-24 22:16:25 | 显示全部楼层
堡塔运维小林 发表于 2023-4-24 19:49
您好,您这个错误是安装nginx的时候缺少以下的组件包,您复制下面的命令到终端中执行,执行成功后再次安 ...

年前7.9.8版本我装过两个相同的系统,安装没有问题呢,不知道是不是现在7.9.9版本的问题了,明天我再试一下
使用道具 举报 回复 支持 反对
发表于 2023-4-25 08:11:44 | 显示全部楼层
./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.1/, 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.
现在报错这个了
使用道具 举报 回复 支持 反对
发表于 2023-4-25 08:12:33 | 显示全部楼层
./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.1/, 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.
现在报错这个了
使用道具 举报 回复 支持 反对
发表于 2023-4-25 08:13:13 | 显示全部楼层
堡塔运维小林 发表于 2023-4-24 19:49
您好,您这个错误是安装nginx的时候缺少以下的组件包,您复制下面的命令到终端中执行,执行成功后再次安 ...

./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.1/, 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.
看下这个报错怎么处理呢
使用道具 举报 回复 支持 反对
发表于 2023-4-25 11:35:30 | 显示全部楼层
找到问题了,已搞定,谢谢
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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