nginx编译安装报错

1./configure: error: the HTTP XSLT module requires the libxml2/libxslt
yum -y install libxml2 libxml2-dev
yum -y install libxslt-devel

2.error: perl module ExtUtils::Embed is required
yum -y install perl-devel perl-ExtUtils-Embed

3…/configure: no supported file AIO was found
Currently file AIO is supported on FreeBSD 4.3+ and Linux 2.6.22+ only
###路径不对或者没有找到AIO这个模块,同上,再编译参数中去掉。

4.can not detect int size
发现“–with-cc-opt=‘-m32 -march=i386’”,我的操作系统是 64 位,所以我删除它

5.Error: Protected multilib versions:
yum list all libcurl 查出有两个库冲突,32位与64位冲突
删除32位冲突库,只保留64位库(也可以根据需要删除64位的库,保留32位的库)。
命令: yum erase libcurl-7.19.7-46.el6.i686

6.the Google perftools module requires the Google perftools library
yum install -y gperftools-devel

7.the HTTP image filter module requires the GD library
yum install gd gd-devel

8.perl module ExtUtils::Embed is required
yum -y install perl-devel perl-ExtUtils-Embed

9.Can‘t locate IPC/Cmd.pm
参考:https://blog.csdn.net/sd4493091/article/details/122220902
参考:https://www.cnblogs.com/huanghongbo/p/6218975.html

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值