locale complaints

Stephen L Moshier moshier@mediaone.net
Wed Dec 19 13:38:00 GMT 2001


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",
        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






More information about the Libc-alpha mailing list