gettext vs automake

Jens Petersen petersen at redhat.com
Fri Jan 30 08:14:53 UTC 2004


>>>>> "Owen" == Owen Taylor <otaylor at redhat.com> writes:

    Owen> On Thu, 2004-01-29 at 10:56, Tim Waugh wrote:
    >> The automake we have in Fedora development no longer
    >> provides mkinstalldirs, but the gettext m4 macros and
    >> Makefile.in.in still want to use it.  The same goes
    >> for glib-gettext.m4.

Well at least gettext still includes "/usr/share/gettext/mkinstalldirs".

>From Automake 1.8 entry in the NEWS file:

  - Because `mkdir -p' is available on most platforms, and we can use
    `install-sh -d' when it is not, the use of the mkinstalldirs
    script is being phased out.  `automake --add-missing' no longer
    installs it, and if you remove mkinstalldirs from your package,
    automake will define $(mkinstalldirs) as an alias for $(mkdir_p).

    Gettext 0.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.

So I think you can run "gettextize -f -c" in your bootstrap
script or just copy over /usr/share/gettext/mkinstalldirs
directly if you're using glib-gettext as a "workaround".

(Fwiw gettext-0.14.1 still seems to require mkinstalldirs too.)

    >> Are these things that we need to fix before release?
    >> I guess they'll prevent maintainers from being able
    >> to release packages using Fedora Core 2..

    Owen> Well, you can always just use automake-1.7. We are
    Owen> (I assume, since it's what GNOME-2.6 will require)
    Owen> still shipping it.

We don't have an automake17 package yet, but since there
have been requests for it, I will probably be adding one soon.

    Owen>  http://bugzilla.gnome.org/show_bug.cgi?id=132858

In the long term I guess the requirement for mkinstalldirs
will go away from gettext and the glib wrapper.

Jens





More information about the devel mailing list