The Myth of the Muttering Madman is a project in self-realization.

Thursday, February 21, 2008

Building git on OS X 10.5

I had to install GNU gettext (instructions).

Apparently you don't need to install XML Expat on Leopard, but I did (instructions).

However, I still kept getting:

GITGUI_VERSION = 0.9.2
* new locations or Tcl/Tk interpreter
GEN git-gui
INDEX lib/
MSGFMT po/de.msg make[1]: *** [po/de.msg] Error
make: *** [all] Error 2

So I did:
./configure --prefix=/usr/local
NO_MSGFMT=1 make
sudo make install

to use make with the environment variable NO_MSGFMT set to 1 (which bypasses the need to have gettext installed - so I guess it's not worth installing gettext). A bit of digging in google showed gettext can't understand the commandline arguments passed to it during git build - I haven't checked this out myself though.

No comments:

about me