GNOME Bugzilla – Bug 488235
AM_GLIB_GNU_GETTEXT don't explicitly check for msgfmt
Last modified: 2007-11-08 15:57:19 UTC
Please describe the problem: When an app is using AM_GLIB_GNU_GETTEXT to configure the gettext stuff but gettext isn't installed, the generated configure script continues without any errors. But in the generated po/Makefile the variable GMSGFMT are left empty which causes build errors. E.g. on Ubuntu systems by default gettext-base is installed which let configure pass but /usr/bin/msgfmt is still missing unless the package gettext is installed. So, AM_GLIB_GNU_GETTEXT should explicitly check for msgfmt and let configure fail if it is missing. Steps to reproduce: Actual results: Example make error message when trying to execute make in a po/ directory when GMSGFMT in po/Makefile is empty: file=`echo be | sed 's,.*/,,'`.gmo \ && rm -f $file && -o $file be.po /bin/sh: line 1: -o: command not found make: *** [be.gmo] Error 127 Expected results: Does this happen every time? Other information:
I guess we can close this one, once the bug belongs to intltool and it has been fixed last week. *** This bug has been marked as a duplicate of 490845 ***