本帖最后由 MeowLove 于 2022-3-14 11:16 编辑
今天折腾linode家服务器,发现自带系统模板有问题。
当做记事本,也有助于其他遇到此问题的人排查和解决。
linode 家 debian 11 修复 nginx无法安装问题
具体报错如下
+ ngx_http_dav_ext_module was configured checking for zlib library … found checking for libxslt … not found checking for libxslt in /usr/local/ … not found checking for libxslt in /usr/pkg/ … not found checking for libxslt in /opt/local/ … not found
./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. ======================================================== /www/server/panel/install/public.sh: line 121: cmake: command not found Debian GNU/Linux 11 l Bit:64 Mem:1982M Core:1 gcc:10.2.1 cmake: Linux 5.10.0-11-amd64 x86_64 ERROR: nginx-1.21.4 installation failed.
经排查缺少以下依赖
- apt install -y libxml2 libxml2-dev libxslt1-dev
复制代码
|