After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 488235 - AM_GLIB_GNU_GETTEXT don't explicitly check for msgfmt
AM_GLIB_GNU_GETTEXT don't explicitly check for msgfmt
Status: RESOLVED DUPLICATE of bug 490845
Product: glib
Classification: Platform
Component: general
2.14.x
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2007-10-19 12:17 UTC by Enrico Tröger
Modified: 2007-11-08 15:57 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Enrico Tröger 2007-10-19 12:17:46 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:
Comment 1 Jonh Wendell 2007-11-08 15:57:19 UTC
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 ***