宝塔安装nginx报错/configure: error: the HTTP XSLT module requires the libxml2/libxslt
【代码】宝塔安装nginx报错/configure: error: the HTTP XSLT module requires the libxml2/libxslt。
·
1.configure: error: the HTTP image filter module requires the GD library
yum install gd gd-devel
or
apt-get update
apt-get install libgd2-xpm libgd2-xpm-dev libgd-dev
2.configure: error: the HTTP XSLT module requires the libxml2/libxslt
yum -y install libxml2 libxml2-dev libxslt-devel
or
apt-get update
apt-get install libxml2 libxml2-dev libxslt-dev
3.configure: error: BROTLI libs and/or directories were not found where specified!
brotli brotli-devel两个组件需要EPEL源才能安装
yum -y install brotli brotli-devel
or
apt-get update
apt-get install libbrotli1 libbrotli-dev
4.configure: error: the HTTP rewrite module requires the PCRE library.:
yum -y install pcre pcre-devel
or
apt-get update
apt-get install libpcre3 libpcre3-dev
5.configure: error: C compiler cc is not found
yum update
yum -y install gcc gcc-c++ autoconf automake make
or
apt-get update
apt-get install build-essential
6.configure: error: perl module ExtUtils::Embed is required
yum -y install perl-ExtUtils-Embed
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐



所有评论(0)