locale support

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Jun 22 12:41:44 UTC 2009


On Mon, Jun 22, 2009 at 02:27:16PM +0200, Thomas Rega wrote:
>Hi
>
>were can I find the latest tarball with "Pre-generated Locale Data" ???

There is none.
http://lists.uclibc.org/pipermail/uclibc/2008-December/041624.html
>
>The only one which I have found is 
>http://uclibc.org/downloads/uClibc-locale-030818.tgz (September 2003)
>
>Is there any version of this file available, which is more 'uptudate'?

Turn off "Automatically download locale tarball" (like suggested in e.g.
http://docs.blackfin.uclinux.org/doku.php?id=toolchain:buildscript#building_a_toolchain_with_locale_support )
>
>How is this tarball generated?

Manually.
>
>What is my problem when I get such an error?:
>---8<---
>(cd ./extra/locale/ && find charmaps/ -name '*.pairs' | sort ) > 
>extra/locale/codesets.txt
>(cd extra/locale && ./gen_wc8bit `cat codesets.txt`)
>setlocale(LC_CTYPE,"en_US.UTF-8") failed!

To build a (pregenerated) locale, your build-machine has to have
that locale installed. Refer to extra/locale/README and extra/locale/*.c
for further details.

>make: *** [extra/locale/c8tables.h] Error 1
>---8<---


More information about the uClibc mailing list