[Buildroot] util-linux compile problems

Sven Neumann s.neumann at raumfeld.com
Thu Aug 11 07:56:05 UTC 2011


Hi,

On Tue, 2011-08-09 at 16:18 +0200, Peter Korsgaard wrote:

>  Sven> Well, it works for me in that configuration as well. But it
>  Sven> doesn't work for the configuration that has locale support
>  Sven> enabled and gettext/libintl:
> 
>  Sven> BR2_ENABLE_LOCALE=y
>  Sven> BR2_NEEDS_GETTEXT=y
>  Sven> BR2_NEEDS_GETTEXT_IF_LOCALE=y
>  Sven> BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
>  Sven> BR2_PACKAGE_GETTEXT=y
>  Sven> BR2_PACKAGE_LIBINTL=y
> 
>  Sven> I've tried the following patch, but it doesn't seem to help:
> 
> Ahh, ok - That's easy to fix, similar to how we do it E.G. with
> avahi. I've committed a fix doing that.

That fix seems to do the trick. But now the build fails when it tries to
install the translations:

Making install in po
make[2]: Entering directory
`/home/sven/git/buildroot/output/build/util-linux-2.19.1/po'
/bin/sh
@MKINSTALLDIRS@ /home/sven/git/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/share
/bin/sh: Can't open @MKINSTALLDIRS@
make[2]: *** [install-data-yes] Error 127


Sven





More information about the buildroot mailing list