i.MX6 Yocto Jethro release problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX6 Yocto Jethro release problem

ソリューションへジャンプ
1,189件の閲覧回数
eric_lee1
Contributor II

Lately, NXP released a Yocto Jethro BSP. Has anyone one noticed the locale library incompatible problem?

root:~# sh -c "LANG=en_US"

sh: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.

Aborted

root:~#

How to work this around?

ラベル(2)
1 解決策
903件の閲覧回数
OtavioSalvador
Senior Contributor II

The IMAGE_LINGUAS handles which locale packages are installed into the image. It does not handle the environment default.

The locale system works as in every Linux based distribution, it respects the locale environment setting.

You can try setting:

LC_ALL=...

and opening the application you want.

元の投稿で解決策を見る

2 返答(返信)
903件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Eric Lee,

The en_US.UTF-8 (IMAGE_LINGUAS = "en-us") should be set as default as far as I know but you can make sure it's generated using GLIB_GENERATE_LOCALES = "en_US.UTF-8" on the local.conf file.

OtavioSalvador​, would you know how locales are handled on the Jethro branch?

Regards,

0 件の賞賛
返信
904件の閲覧回数
OtavioSalvador
Senior Contributor II

The IMAGE_LINGUAS handles which locale packages are installed into the image. It does not handle the environment default.

The locale system works as in every Linux based distribution, it respects the locale environment setting.

You can try setting:

LC_ALL=...

and opening the application you want.