Subject: bug#11235: automake build fails: "Can't locate Locale/gettext.pm"

From: Stefano Lattarini <[email-masked]>
Date: Fri, 13 Apr 2012 15:08:12 +0200

On a Fedora 16 system (the ppc64 one provided by the GCC compile farm,
"gcc110"), when I try to build automake from a distribution tarball, I
get this error:

    GEN      doc/aclocal.1
    GEN      automake
    GEN      doc/automake.1
    GEN      aclocal
    GEN      lib/Automake/Config.pm
    GEN      doc/aclocal-1.11c.1
  Can't locate Locale/gettext.pm in @INC [...] at ./doc/help2man line 29.
  BEGIN failed--compilation aborted at ./doc/help2man line 29.
  make: *** [doc/aclocal-1.11c.1] Error 2
  make: *** Waiting for unfinished jobs....

This is clearly caused by commit 'v1.11b-17-gda0f9ab', "build: generate
doc/*.1 files; include help2man".

Jim, any idea on which is the best way to fix this?  Should we downgrade
the bundled help2man further?  Or should we patch it?  Or what else?

Regards,
  Stefano