locale in uclibc

Peter S. Mazinger ps.m at gmx.net
Thu Oct 20 08:41:07 UTC 2005


On Thu, 20 Oct 2005, Chien-Yu Chen wrote:

> Hi!
>   here is the latest stuff I tried....
> 
>   since I was not having much luck, I decided to use the Xorg package
> (within buildroot) instead of download the Xfree86 source and
> compile..
> 
>   I had to specify  BuildServersOnly since rxvt (or xterm, can't
> remember) won't build since I don't have ncurse......
> 
> for my buildroot .config, I have
> BR2_ENABLE_LOCALE=y
> 
> for my  uClibc.config-locale, I have
> UCLIBC_HAS_LOCALE=y
> UCLIBC_PREGENERATED_LOCALE_DATA=y
> UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y
> UCLIBC_HAS_XLOCALE=y

I do not enable XLOCALE

> 
> after that, I compiled glib-1.2, gtk-1.2 against the buildroot
> toolchain...(with configure --help, there is no locale related
> stuff...so I assume I don't need anything special)

I wonder if you do not need glib/gtk+ >= 2 , my firefox is built against 
version 2 of these (I have also atk/pango/expat/freetype/fontconfig 
dependency on firefox-bin)

Peter

> 
> then compile firefox....but I still end up with same error.....
> is there some step that I might be missing? thanks
> 
> chen
> 
> On 9/14/05, Peter S. Mazinger <ps.m at gmx.net> wrote:
> > On Wed, 14 Sep 2005, Chien-Yu Chen wrote:
> >
> > > yeah, I did read extra/locale/README
> > > guess I just missed it...
> > > I think now the problem is with X
> > > if I set to C, fluxbox comes up fine, if I set to en_US.UTF-8,
> > > fluxbox won't start....so...have to check if I got the complete X
> > > stuff...thanks for all the reply
> >
> > the same happens w/ mozilla and firefox
> >
> > Peter
> > >
> > > chen
> > >
> > > On 9/9/05, Peter S. Mazinger <ps.m at gmx.net> wrote:
> > > > On Fri, 9 Sep 2005, Chien-Yu Chen wrote:
> > > >
> > > > > I compiled buildroot with i18n support...
> > > > > then compiled Xfree86 4.5, then firefox
> > > > >
> > > > > however, when I tried to startx firefox, it's telling me something like this
> > > > >
> > > > > gdk: locale not supported, setting to C
> > > > > gdk: can not set locale modifier
> > > >
> > > > seems that glib and/or gtk+ was not built against a locale enabled uClibc
> > > > or the locale chosen does not have correct syntax
> > > >
> > > > for LANG/LC_ALL
> > > > en_US.UTF-8
> > > > de_DE.ISO-8859-1
> > > >
> > > > >
> > > > > the failing function call that generate this is
> > > > >
> > > > > XSupportsLocale() in xlib
> > > > > X was compiled with the buildroot patch....so...
> > > > >
> > > > > I have tried to set all the LC stuff to both C, or POSIX...but still
> > > > > not working..
> > > > > was wondering if because the char map is not set up right or something
> > > > > in that direction
> > > > >
> > > > > thanks for any comment
> > > > >
> > > > > chen
> > > > >
> > > > > On 9/9/05, Manuel Novoa III <mjn3 at codepoet.org> wrote:
> > > > > > On Thu, Sep 08, 2005 at 11:36:30PM -0800, Chien-Yu Chen wrote:
> > > > > > >   I was wondering if there is any docs on locales in uclibc....I am
> > > > > > > still having trouble getting firefox to run with some locale
> > > > > > > problem....thanks
> > > >
> > > > extra/locale/README* is all you have iirc
> > > >
> > > > > >
> > > > > > I don't recall writing any docs.  What kinds of problems are you seeing?
> > > > > >
> > > > > > Manuel
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
> > > > Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
> > > >
> > > >
> > >
> > >
> > >
> >
> > --
> > Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
> > Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
> >
> >
> 
> 
> --
>        .--.
>       |o_o |                   Freedom of Choice
>       |:_/ |           __
>      //   \ \         / /     __  __  __  __  __ __  __
>     (|     | )       / /__   / / /  \/ / / /_/ / \ \/ /
>    /'\_   _/`\      /_____/ /_/ /_/\__/ /_____/  /_/\_\
>    \___)=(___/
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list