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