如果出现下面的错误
    SUBDIR git-gui
    MSGFMT    po/de.msg make[1]: *** [po/de.msg] Error 127
make: *** [all] Error 2
则先安装tk

yum install tk

除了安装

yum install zlib-devel 
yum install openssl-devel 
yum install perl 
yum install cpio 
yum install expat-devel 
yum install gettext-devel 

还需要安装gettext 否则make 会出现

    SUBDIR perl

    SUBDIR git_remote_helpers

    SUBDIR templates

    MSGFMT po/build/locale/is/LC_MESSAGES/git.mo

/bin/sh: msgfmt: command not found

make: *** [po/build/locale/is/LC_MESSAGES/git.mo] Error 127