Hello,
I'm having trouble building Geany from Subversion on FreeBSD 7.0-RC1 -- actually it's the same problem I have building the stable source on Ubuntu 7.10 GNU/Linux as well (however, building from Subversion works fine on that system). The error during build is late in the process:
---------------------------------------------------------------------- Making all in po gmake[2]: Entering directory `/usr/home/taylor/geany/po' file=`echo be | sed 's,.*/,,'`.gmo \ && rm -f $file && -o $file be.po -o: not found gmake[2]: *** [be.gmo] Error 127 ----------------------------------------------------------------------
This comes from po/Makefile, specifically these lines:
---------------------------------------------------------------------- .po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< ----------------------------------------------------------------------
Derived from an empty expansion of the GMSGFMT variable:
---------------------------------------------------------------------- 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 the autogen script if it will help, but I don't want to waste people's email bandwidth if it is of no use. I don't see anything particularly out of place, but then again I'm not sure exactly what to look for.
Thanks
On Tue, 15 Jan 2008 23:29:24 -0500, Taylor Venable taylor@metasyntax.net wrote:
Hi,
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. But I'm not sure why it happens. Do you have (GNU) gettext installed on your system? 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.
Regards, Enrico
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.
On Wed, 16 Jan 2008 19:52:48 -0500, Taylor Venable taylor@metasyntax.net wrote:
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?
The release versions are not the difference. If I remember correctly, I had the same problem when I played last time with FreeBSD(more than a year ago). There is something different when software is built from the ports. Maybe an experienced FreeBSD user may answer you this question, I can't ;-).
Regards, Enrico