This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: locale complaints


Stephen L Moshier <moshier@mediaone.net> writes:

> Since installing libc 2.2.4 (and with the 2.2.5 branch also) I get
> complaint messages like these --
>
>>From Netscape:
>   Gdk-WARNING **: locale not supported by C library
>
>>From emacs:
>   Warning: locale not supported by C library, locale unchanged
>
>>From perl:
>   perl: warning: Setting locale failed.
>   perl: warning: Please check that your locale settings:
>           LANGUAGE = "usa_english",
>           LC_ALL = "usa_english",
>           LANG = "usa_english"
>       are supported and installed on your system.
>   perl: warning: Falling back to the standard locale ("C").
>
> That is quite a lot of graffiti to put up with in a build script!
> A few days ago it became necessary to upgrade perl in order to build
> gcc.  The perl build script fails with similar messages:
>
> # strict refs - error
> use strict ;
> my $fred ;
> my $a = ${"fred"} ;
> EXPECTED:
> Can't use string ("fred") as a SCALAR ref while "strict refs" in use
> at - line 5
> GOT:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = "usa_english",

usa_english?  That's not a supported locale.  Can you regenerate it
with localedef?  The on disk locale format changed and therefore it
needs all data needs to get regenerated.

Andreas

>         LC_ALL = "usa_english",
>         LANG = "usa_english"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Can't use string ("fred") as a SCALAR ref while "strict refs" in use
> at - line 5
> FAILED at test 1
>
>
>
>

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]