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

Re: Git and gettext

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Aug 3, 2024, 16:00 UTC
Message-ID
<Zq5UFYnWL1jdgDaH@tapette.crustytoothpaste.net>
In-Reply-To
<bf5a7771-f616-47d9-a014-f9d3e0afaa08@scarborough.kim>
On 2024-08-03 at 07:58:55, Kim Scarborough wrote:
Show 5 quoted lines
> Hi folks,
> 
> Was wondering why I need gettext to compile git, even if I tell it I don't
> need NLS. I've not needed it to compile anything else. Is this really
> necessary to run git?

I believe you can use NO_GETTEXT=1 and NO_MSGFMT=1 (both must be set) to remove the need for gettext and msgfmt. The latter can be omitted if you're not building git-gui. You can see other configuration options at the top of the Makefile.

I will note that both of these commands are required as of POSIX 1003.1-2024, though.

-- 
brian m. carlson (they/them or he/him)
Toronto, Ontario, CA
Previous: Kim ScarboroughNext: Kim Scarborough
Message 2 of 8 in “Git and gettext”
  1. Kim ScarboroughAug 3, 2024
  2. brian m. carlsonAug 3, 2024
  3. Kim ScarboroughAug 3, 2024
  4. brian m. carlsonAug 3, 2024
  5. Kim ScarboroughAug 4, 2024
  6. Jeff KingAug 5, 2024
  7. Kim ScarboroughAug 6, 2024
  8. Jeff KingAug 12, 2024

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.