Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I fix this locale problem?



On Sun, 28 Jan 2001, Duane Morin wrote:
>I seem to have updated something along the line on my Redhat6.2 box that is
>causing almost every application to throw a warning about the locale.  Each
>app throws it differently, but they all have the same information --
>
>perl: warning: Please check that your locale settings:
>	LANGUAGE = (unset),
>	LC_ALL = (unset),
>	LANG = "en"
>    are supported and installed on your system.
>perl: warning: Falling back to the standard locale ("C").
>
>This doesn't seem to crash anything, but it's annoying, especially on code
>like the Gimp where it throws this message many, many times.  What controls
>this, and how can I fix it?

I seem to recall having this problem at one time as well.
Those are environment variables which you can set.
Those ones in particular are documented in `perldoc perllocale`,
where it explains exactly that error message and how to fix the
problem.

For what it's worth, when I look for those environment variables
on my system, I get the following:

    bash$ set | fgrep LANG
    LANG=en_US
    bash$ set | fgrep LC_
    bash$

I've read that LANG is looked up as a last resort, so maybe the
setting you have -- "en" -- isn't a valid value for the LANG
environment variable. You might first try setting LANG to the
value I have and see if the warnings go away.

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org