git 源码安装

来源:互联网 发布:淘宝卖家登入 编辑:程序博客网 时间:2024/05/19 16:19

git clone git://git.kernel.org/pub/scm/git/git.git



sudo apt-get install libcurl4-openssl-dev  libexpat1-dev

make all 报错:

MSGFMT    po/bg.msg make[1]: *** [po/bg.msg] 错误 127

应该:

sudo apt-get install tcl

make all 报错:

/bin/sh: 1: msgfmt: not found
make: *** [po/build/locale/bg/LC_MESSAGES/git.mo] 错误 127

应该:

sudo apt-get install gettext

然后:

make prefix=/usr/local all

sudo make prefix=/usr/local install



0 0
原创粉丝点击