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

Re: Compiling Git in Mac OS X Leopard

From
Shawn O. Pearce <spearce@spearce.org>
Date
Feb 7, 2008, 07:23 UTC
Message-ID
<20080207072359.GR24004@spearce.org>
In-Reply-To
<E9380AA8-2E38-4733-9940-FFD51BB84700@maisniemi.net>
Sami Maisniemi <sami@maisniemi.net> wrote:
Show 12 quoted lines
> I tried to compile Git in Mac OS X Leopard, because I was unable to  
> find any precompiled binaries. However, the compilation was aborted  
> due to the following error:
> 
> msgfmt --statistics --tcl po/de.po -l de -d po/
> make[1]: msgfmt: Command not found
> make[1]: *** [po/de.msg] Error 127
> make: *** [all] Error 2
> 
> It seems that the makefile uses an application called msgfmt that is  
> not available in Mac OS X Leopard. What is application msgfmt and why  
> it is required? Is there any kind of workaround available?
Use:
	make NO_MSGFMT=1

to use the msgfmt work-somewhat-alike that ships with git, for this exact purpose. Newer versions than what you are trying to build should be automatically detecting if msgfmt isn't available and falling back to that work-somewhat-alike version. gitgui-0.9.2, which ships with git 1.5.4, does have that fallback.

-- 
Shawn.
Previous: Sami MaisniemiNext: Luke Lu
Message 2 of 3 in “Compiling Git in Mac OS X Leopard”
  1. Sami MaisniemiFeb 7, 2008
  2. Shawn O. PearceFeb 7, 2008
  3. Luke LuFeb 7, 2008

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.