centos6.4 安裝SVN1.8.17: Can't locate ExtUtils/Embed.pm in @INC ...



CENTOS6.4 安裝SVN1.8.17時,遇到如下錯誤:

checking perl version... 5010001
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.
checking for ctypesgen.py... none

.......

解決方法如下:

yum install cpan -y
yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker -y
cpan ExtUtils::Install
 
如果不想用cpan安裝,那就使用下面這條命令
yum install perl-ExtUtils-Embed -y


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章