CentOS6上安装部署git1.8


 
CentOS6上安装部署git1.8

yum -y install make curl-devel gcc openssl-devel expat-devel cpan xmlto asciidoc gettext

make prefix=/usr/local all doc
make prefix=/usr/local install install-doc install-html


问题及解决方案:
/bin/sh: curl-config: command not found
yum install curl-devel


/bin/sh: cc: command not found
yum install gcc


git-compat-util.h:208:25: warning: openssl/ssl.h: No such file or directory g
yum install openssl-devel


http-push.c:14:19: warning: expat.h: No such file or directory
yum install expat-devel


Can't locate ExtUtils/MakeMaker.pm
Can't locate ExtUtils/MakeMaker.pm in @INC  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
yum install cpan


MSGFMT po/de.msg make[1]: *** [po/de.msg] Error 127
yum install gettext

 
标签: CentOS git
评论: 0 | 引用: 0 | 阅读: 7565