Package: automake
Version: 1:1.11-1

Hi,

automake and gettext don't like each other :-(( I tried to be conservative
with my project requirements and support also gettext version 0.12. With
this version and the attached example I get:

./autogen
mkdir build
cd build
make distcheck

...
Making install in po
make[2]: Entering directory `/tmp/helloWorld/build/helloworld-0.1/_build/po'
/bin/sh @MKINSTALLDIRS@ /tmp/helloWorld/build/helloworld-0.1/_inst/share
/bin/sh: Can't open @MKINSTALLDIRS@
make[2]: *** [install-data-yes] Fehler 2

If I change AM_GNU_GETTEXT_VERSION(0.12) to contain 0.15 it works.

My problem is that I found the announcement "Automake 1.7b uploaded
(beta for Automake 1.8)"
http://sources.redhat.com/ml/automake/2003-11/msg00049.html
(where can I *easily* find newer announcemets)?
which explicitly states:

   "Gettext 1.12.1 still requires mkinstalldirs.  Fortunately
    gettextize and autopoint will install it when needed.  Automake
    will continue to define the $(mkinstalldirs) and to distribute
    mkinstalldirs when this script is in the source tree."

It says that $(mkinstalldirs) will be defined and since this uses
MKINSTALLDIRS it should work. When did the gettext support of 0.12
stopped?

Searching /usr/share/doc/automake/changelog.gz for mkinstalldirs or gettext
doesn't reveals anything. The same is true for
http://sources.redhat.com/automake/automake.html.

So either update the documentation or fix this nasty bug. I work around it
by using

MKINSTALLDIRS=\$\(top_srcdir\)/mkinstalldirs
AC_SUBST(MKINSTALLDIRS)

in configure.ac.

Jens

Attachment: helloWorld.tgz
Description: GNU Unix tar archive

Reply via email to