Tho*_* S. 7 git gettext msgfmt
我正在尝试在 Debian(Linux 的 Windows 子系统)上编译静态 Git 2.17.1:
$ mkdir _git
$ make configure
$ ./configure --prefix=$PWD/_git NO_TCLTK=true NO_GETTEXT=true CFLAGS="${CFLAGS} -static"
$ make all
Run Code Online (Sandbox Code Playgroud)
但我收到错误
...
MSGFMT po/build/locale/pt_PT/LC_MESSAGES/git.mo
/bin/sh: 1: msgfmt: not found
Makefile:2309: recipe for target 'po/build/locale/pt_PT/LC_MESSAGES/git.mo' failed
make: *** [po/build/locale/pt_PT/LC_MESSAGES/git.mo] Error 127
Run Code Online (Sandbox Code Playgroud)
NO_GETTEXT我从配置文件中得到的信息:
# Define NO_GETTEXT if you don't want Git output to be translated.
Run Code Online (Sandbox Code Playgroud)
还需要吗msgfmt?
尝试用 1 而不是 true...
https://www.atlassian.com/git/tutorials/install-git
NO_GETTEXT=1
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3408 次 |
| 最近记录: |