From: Shawn O. Pearce Date: Tue, 04 Mar 2008 07:07:35 GMT Subject: Re: msgmft segfaulting on ubuntu gutsy (clean) Message-ID: <20080304070735.GU8410@spearce.org> In-Reply-To: <47CCF40C.2070203@gmail.com> Gabriel Saldaa wrote: > I'm getting the msgmft error message when compiling git 1.5.4.3 on a > clean install of Ubuntu Gutsy. Installed dependencies using "apt-get > build-dep git-core". > > Here's make output: > > GITGUI_VERSION = 0.9.2.7.g3bae > * new locations or Tcl/Tk interpreter > GEN git-gui > INDEX lib/ > MSGFMT po/de.msg 371 translated. > MSGFMT po/fr.msg 371 translated. > MSGFMT po/hu.msg 371 translated. > MSGFMT po/it.msg 370 translated, 1 untranslated. > MSGFMT po/ja.msg 371 translated. > MSGFMT po/ru.msg 367 translated, 4 untranslated. > MSGFMT po/sv.msg 371 translated. > MSGFMT po/zh_cn.msg 53 translated, 57 fuzzy, 253 untranslated. > SUBDIR gitk-git > GEN gitk-wish > Generating catalog po/de.msg > 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 is very similar to Tiger's error message. Rebuild with "NO_MSGFMT=1", or install GNU msgfmt first. The issue is gitk's Makefile is missing the fallback rule that git-gui has, which is use our Tcl based msgfmt work-a-like if msgfmt is not found. That's exactly what you see above; git-gui fell back automatically to its work-a-like but gitk did not. -- Shawn.