git - 为什么会出现问题将 git 1.8 更新到 2.20 CentOS 7.6

标签 git centos centos7

更新时,我执行命令。
产生以下错误。
将 git 1.8 更新到 2.20 时出错。 CentOS 7.6
如何安装所需的依赖项。

# ./configure
checking for library containing clock_gettime... none required
checking for CLOCK_MONOTONIC... yes
checking for setitimer... yes
checking for library containing setitimer... none required
checking for strcasestr... yes
checking for library containing strcasestr... none required
checking for memmem... yes
checking for library containing memmem... none required
checking for getdelim... yes
checking for library containing getdelim... none required
checking for BSD sysctl... no
checking for POSIX Threads with ''... no
checking for POSIX Threads with '-mt'... no
checking for POSIX Threads with '-pthread'... yes
configure: creating ./config.status
config.status: creating config.mak.autogen
config.status: executing config.mak.autogen commands
# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
#git --version
git version 1.8.3.1
# make
SUBDIR git-gui
MSGFMT po/pt_pt.msg make[1]: *** [po/pt_pt.msg] Error 127
make: *** [all] Error 2

最佳答案

看起来您缺少本地化和国际化库。使用您的包管理器 (yum) 安装它们或在没有它们的情况下构建它们:
make NO_GETTEXT=1

关于git - 为什么会出现问题将 git 1.8 更新到 2.20 CentOS 7.6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54422757/

相关文章:

git - 获取私有(private) gitlab 存储库

user-interface - 如何在centos7上安装Rabbitvcs?

linux - 如何在命令中插入循环

git - 交互式 git rebase 失败,返回 "git-rebase-todo: No such file or directory"

git svn - 在提交 <hash> 中找不到 <file>

windows - 取消链接文件失败

python - 警告 : The script pip3. 8 安装在不在 PATH 上的 '/usr/local/bin'

mysql - 错误代码 : 1264. 第 1 行 'XXX' 列的值超出范围

apache - CentOS 5.8 上的 SVN 服务器

centos - 在 CentOS/Fedora 上安装 OpenBLAS