标签:fatal lib64 comm ext failed ref lsh cal http
问题一:问题现象:
[root@localhost git-2.5.0]# autoconf 无法执行:
解决方案:
[root@localhost git-2.5.0]# yum install -y autoconf
问题二:
问题现象:
[root@localhost git-2.5.0]# make
/usr/bin/perl Makefile.PL PREFIX=‘/usr/local/git‘ INSTALL_BASE=‘‘ --localedir=‘/usr/local/git/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/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 3.
BEGIN failed--compilation aborted at Makefile.PL line 3.
make[1]: *** [perl.mak] Error 2
make: *** [perl/perl.mak] Error 2
解决方案:
[root@localhost git-2.5.0]# yum install -y perl-ExtUtils-MakeMaker package
问题三:
问题现象:
[root@localhost git-2.5.0]# make
/bin/sh: msgfmt: command not found
解决方案:
[root@localhost git-2.5.0]# yum install gettext-devel
问题四:
问题现象:
[root@localhost git-2.5.0]# make
Can‘t locate ExtUtils/MakeMaker.pm in @INC
解决方案:
[root@localhost git-2.5.0]# yum -y install perl-devel perl-CPAN
问题五:
问题现象:
[root@localhost git-2.5.0]# make
tclsh failed; using unoptimized loading
MSGFMT po/bg.msg make[1]: *** [po/bg.msg] 错误 127
解决方案:
[root@localhost git-2.5.0]#yum install tcl build-essential tk gettext
问题六:
问题现象:
[root@localhost git-2.5.0]# https:
fatal: Unable to find remote helper for ‘https‘ //安装之后使用https操作git报错:
解决方案:
[root@localhost git-2.5.0]# yum install -y curl curl-devel
问题七:
问题现象:
//git安装时不使用--prefix指定安装目录,默认安装在/usr/local/bin/git 需要把/usr/local/bin/git 复制或者ln到 /usr/bin/git
[root@localhost git-2.5.0]# git --version
git version 1.8.13 //安装之后发现和程序包版本不一致:
解决方案:
[root@localhost git-2.5.0]# [root@localhost ~]# ln -s /usr/local/git/bin/git /usr/bin/git //创建软连接,把程序包中的git文件软连接到/usr/bin/git下
[root@localhost git-2.5.0]# git version
git version 2.5.0
标签:fatal lib64 comm ext failed ref lsh cal http
原文地址:https://blog.51cto.com/15005403/2553641