Click to See Complete Forum and Search --> : locale not supported/?


scoobydope
12-06-2000, 09:23 PM
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en",
LC_ALL = "en",
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
2.95.2

what the heck to I do about that?

tminos
12-06-2000, 11:29 PM
I don't know. I get these all the time in GTK programs so I've started ignoring it.

pdc
12-07-2000, 04:11 AM
Those are env variables. You can muck with them to match what perl expects and the noise will go away. I usually ignore them unless someone bugs me about it. Then I figure out the settings, set them and promptly forget what I did until next time.

Paul

scoobydope
12-13-2000, 07:04 PM
narrowing it down i think...i type the following:


[bowzer@linuxb0y lib]$ gcc --version
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en",
LC_ALL = "en",
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
2.95.2


according to the man page for locale(5), there are supposed to be settings under /usr/lib/locale (which my mandrake box doesn't adhere to.)
anyways, look what i get if i type the locale command as follows:

[bowzer@linuxb0y lib]$ locale
LANG=en
LC_CTYPE="en"
LC_NUMERIC="en"
LC_TIME="en"
LC_COLLATE="en"
LC_MONETARY="en"
LC_MESSAGES="en"
LC_ALL=en

notice that some of them aren't in brackets. Where would i change this? Something tells me this is getting closer to the solution

scoobydope
12-14-2000, 09:30 PM
well, the lack of brackets didn't mean anything. I just checked with my home system that works fine... and the locale command gives me exactly the same output, yet the gcc --version command works fine.

hmmmmm