1. 程式人生 > >centos安裝git高版本報錯

centos安裝git高版本報錯

/usr/bin/perl Makefile.PL PREFIX='/usr/local' INSTALL_BASE='' --localedir='/usr/local/share/locale' Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vend

安裝 sudo yum install perl-ExtUtils-MakeMaker package

git-compat-util.h:280:25: warning: openssl/ssl.h: No such file or directory

安裝  sudo yum install curl-devel expat-devel gettext-devel

依賴git-core

安裝:yum install git-core