[oe] autotools issues (MKINSTALLDIRS, -s_

Chris Larson clarson at kergoth.com
Sat Sep 4 03:46:39 UTC 2010


I noticed a long time ago that a certain error from the autoreconf is a sign
that your po/ makefiles are from old gettext, and will end up seeing the
mkinstalldirs failure.  See http://patchwork.openembedded.org/patch/1004/.
Haven't had a chance to do any further investigation on it since then,
however.

On Thu, Aug 12, 2010 at 3:32 PM, Jens Seidel <jensseidel at users.sf.net>wrote:

> On Sun, Aug 08, 2010 at 05:53:42PM +0200, Frans Meulenbroeks wrote:
> > I'm not too good in autotools. While makeing the git recipe for urjtag
> > I bumped into the following two issues:
> >
> > First of all it seems autoreconf needs the -s flag. This tells to use
> > symlinks. Guess things are done out of order or so.
> > I've fixed this by adding EXTRA_AUTORECONF = "-s" to my recipes. That
> > makes configure happy, but it does not really feel as a good solution.
>
> Don't know about this.
>
> > The second issue is that install fails.
> > Apparently MKINSTALLDIRS does not have the proper value (it should be
> > tools/mkinstalldirs, but it is an empty string).
> > I've tried some things, peeked at some other patches for MKINSTALLDIRS
> > but didn't really get to a satisfactory solution
>
> > Any wizard here who can give me some guidance?
>
> I noticed in the past also trouble with MKINSTALLDIRS and I think older
> gettext versions are buggy and affect this. I workaround it with
>
> AM_GNU_GETTEXT([external])
> # version 0.11 doesn't support make distcheck, see
> # http://lists.debian.org/debian-i18n/2009/09/msg00176.html
> # versions 0.12-0.14.6 require a mkinstalldirs hack for make distcheck
> # (at least for automake version 1.11)
> MKINSTALLDIRS=\$\(top_srcdir\)/autotools/mkinstalldirs
> AC_SUBST(MKINSTALLDIRS)
> AM_GNU_GETTEXT_VERSION(0.12)
>
> in my configure.ac. Try increasing the version of the required gettext
> version
> in the last line to verify that you have the same problem.
>
> If you don't use gettext than I cannot help you ...
>
> Jens
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list