安裝nginx 常見錯誤及 解決方法

問題:./configure: error: the HTTP XSLT module requires the libxml2/libxsltlinux

解決方案:yum -y install libxslt-develui

問題:checking for perl
 + perl version: This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.google

解決方案:yum -y install perl perl-devel perl-ExtUtils-Embedatom

問題:./configure: error: the GeoIP module requires the GeoIP library..net

解決方案:yum -y install GeoIP GeoIP-devel GeoIP-dataxml

問題:./configure: error: the Google perftools module requires the Google perftoolsget

解決方案:按順序執行1,2兩條命令便可解決。 1:yum -y install libunwind-devel       2:yum -y install google-perftools-develit

問題:./configure: error: libatomic_ops library was not found.io

解決方案:yum -y install libuuid-devel libblkid-devel libudev-devel fuse-devel libedit-devel libatomic_ops-develclass

相關文章
相關標籤/搜索