git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Help needed for solving a few issues with building git

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 3, 2017, 20:11 UTC
Message-ID
<xmqqk23pl1q8.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<xmqqshidl76n.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 21 quoted lines
>> While trying to build (without the 'gettext' library that's required
>> for localization) I get the following error,
>>
>>     Manifying 8 pod documents
>>         SUBDIR templates
>>         MSGFMT po/build/locale/pt_PT/LC_MESSAGES/git.mo
>>     /bin/sh: 1: msgfmt: not found
>>     Makefile:2179: 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
>>
>>     What could I be missing?
>
> There is
>
>     ifndef NO_GETTEXT
>     all:: $(MOFILES)
>     endif
>
> which attempts to avoid generating *.mo files, but that does not
> seem to be working.

The above comes from one of the Tcl things (probably gitk-git) For now

    $ make NO_GETTEXT=1 NO_MSGFMT=1
may help.

NO_GETTEXT is "My build environment may or may not be capable of doing the gettext things, but I choose not to use it in my build result" but NO_MSGFMT is simply "I do not have the msgfmt tool".

Having to specify both is rather unfortunate and we may want to streamline this.

Previous: Junio C HamanoNext: Kaartic Sivaraam
Message 4 of 6 in “Help needed for solving a few issues with building git”
  1. Kaartic SivaraamJul 3, 2017
  2. Torsten BögershausenJul 3, 2017
  3. Junio C HamanoJul 3, 2017
  4. Junio C HamanoJul 3, 2017
  5. Kaartic SivaraamJul 4, 2017
  6. Kaartic SivaraamJul 5, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.