ILD

--disable-nls
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2025-2-7 站点:Inside Linux Development

编译util-linux的时候报错了:

et.po: warning: Charset "ISO-8859-15" is not supported. msgfmt relies on iconv(),

                and iconv() does not support "ISO-8859-15".

                Installing GNU libiconv and then reinstalling GNU gettext

                would fix this problem.

                Continuing anyway.

msgfmt: Cannot convert from "ISO-8859-15" to "UTF-8". msgfmt relies on iconv(), and iconv() does not support this conversion.


配置如下:

./configure --host=aarch64-poky-linux --disable-liblastlog2 --disable-pam-lastlog2 --without-tinfo --without-systemd --disable-wall --disable-mount --disable-poman


找了一圈,原来是多国语言编译不过,缺少charset的支持。

 --disable-nls           do not use Native Language Support


开启上面这个选项即可。

Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.