All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling Git in Mac OS X Leopard
@ 2008-02-07  7:09 Sami Maisniemi
  2008-02-07  7:23 ` Shawn O. Pearce
  2008-02-07  7:32 ` Luke Lu
  0 siblings, 2 replies; 3+ messages in thread
From: Sami Maisniemi @ 2008-02-07  7:09 UTC (permalink / raw)
  To: git

Hi,

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?

Regards Sami Maisniemi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling Git in Mac OS X Leopard
  2008-02-07  7:09 Compiling Git in Mac OS X Leopard Sami Maisniemi
@ 2008-02-07  7:23 ` Shawn O. Pearce
  2008-02-07  7:32 ` Luke Lu
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn O. Pearce @ 2008-02-07  7:23 UTC (permalink / raw)
  To: Sami Maisniemi; +Cc: git

Sami Maisniemi <sami@maisniemi.net> wrote:
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling Git in Mac OS X Leopard
  2008-02-07  7:09 Compiling Git in Mac OS X Leopard Sami Maisniemi
  2008-02-07  7:23 ` Shawn O. Pearce
@ 2008-02-07  7:32 ` Luke Lu
  1 sibling, 0 replies; 3+ messages in thread
From: Luke Lu @ 2008-02-07  7:32 UTC (permalink / raw)
  To: Sami Maisniemi; +Cc: git

On Feb 6, 2008, at 11:09 PM, Sami Maisniemi wrote:
> Hi,
>
> 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?
>
> Regards Sami Maisniemi

Install macports if you haven't and then

sudo port selfupdate
sudo port install git-core

macports should manage all the dependencies needed by the packages  
including gettext which provides msgfmt,  After that you can git  
clone the lastest git.git if you want to mess with git and it should  
compile without any problem.

__Luke

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-07  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-07  7:09 Compiling Git in Mac OS X Leopard Sami Maisniemi
2008-02-07  7:23 ` Shawn O. Pearce
2008-02-07  7:32 ` Luke Lu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.