编译器错误-找不到msgfmt命令 [英] Compiler error - msgfmt command not found
本文介绍了编译器错误-找不到msgfmt命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从共享主机中更新Git。为此,我按照以下步骤操作:
I'm trying to update Git from my shared hosting. For that I'm following these steps:
- 下载最新的Git版本
- 解压并放置它在服务器上
- 配置并创建Makefile->
。/configure --prefix = $ HOME / dev / git / src --without-tcltk
- 构建软件包->
make
然后make install
- 更新路径.bash_profile
- Download latest Git version
- Unpack and place it on the server
- Configure and create the Makefile ->
./configure --prefix=$HOME/dev/git/src --without-tcltk
- Build the package ->
make
thenmake install
- Update PATH .bash_profile
我停留在第4点。 make
命令,得到以下内容:
I'm stuck at point 4. When I run the make
command, I get the following:
user@ssh1:~/dev/git/src$ make
SUBDIR gitweb
SUBDIR ../
make[2]: ? GIT-VERSION-FILE ? est ? jour.
GEN git-instaweb
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] Erreur 127
编译器抛出 msgfmt命令错误。
我用Google搜索了它,它似乎与gettext程序包有关。
I Googled it and it seems to be related to the gettext package.
任何想法如何在共享主机上修复该错误?
Any idea how to fix that error on a shared hosting?
推荐答案
我遇到了同样的问题。多亏了您发现它与gettext有关的工作,一个简单的 apt-get安装gettext
为我修复了它。
I had the same issue. Thanks to your work on finding it was related to gettext, a simple apt-get install gettext
fixed it for me.
这篇关于编译器错误-找不到msgfmt命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文