Richard W.M. Jones wrote:
Jim, this is the error message I had seen before:
> make[2]: Entering directory `/home/rjones/d/libguestfs/po'
> *** error: gettext infrastructure mismatch: using a Makefile.in.in
> from gettext version 0.17 but the autoconf macros are from gettext
> version 0.18
> make[2]: *** [check-macro-version] Error 1
> make[2]: Leaving directory `/home/rjones/d/libguestfs/po'
Hi Rich,
Yes, I've seen that.
When gettextize creates po/makefile.in.in, it hard-codes
the version of gettext m4 macros used in a variable there, e.g.,
GETTEXT_MACRO_VERSION = 0.18
That version must match at "make" run time the version
that was used at ./configure run time (and that was
then expanded into po/Makefile:
m4/po.m4: AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])