On Wed, 16 Jan 2008 08:13:59 +0100 Enrico Tröger enrico.troeger@uvena.de wrote:
GMSGFMT = MSGFMT = /usr/local/bin/msgfmt XGETTEXT = :
So the problem is simple to witness, only I don't know what GMSGFMT should be. Can it be the same as MSGFMT? I can send the result of
At least on Linux systems GMSGFMT and MSGFMT are the same, they point to "msgfmt". You should try to set GMSGFMT also to /usr/local/bin/msgfmt and I guess it will work.
That does work, thanks.
But I'm not sure why it happens. Do you have (GNU) gettext installed on your system?
I do, from Ports, which is as MSGFMT is defined. Why the configure script doesn't pick that up for GMSGFMT as well I'm not sure.
I don't know what's when building Geany from the ports system but as far as I know it's working there out of the box.
It does work just fine the way it is from Ports, and GMSGFMT is defined correctly in the po/Makefile that results, although seemingly not by any post-download patching. Diffing the configure scripts yields no useful information, at least to my eyes, although the version built from Ports does come from the 0.11 release, so it's a bit older perhaps?
So in short I'm not sure why it's not being detected, but making GMSGFMT point to /usr/local/bin/msgfmt effectively solves it. For convenience sake, you can also define an environment variable GMSGFMT which causes that value to be inserted into the Makefile.
Thanks.