[NTLUG:Discuss] perl: warning: Falling back to the standard locale ("C")

Chris Cox cjcox at acm.org
Tue Nov 27 22:02:01 CST 2001


What do you get when you type:
$ locale

See what locales are installed on your machine....
for example the path:
$ ls /usr/share/locale

I use SuSE (btw), as a test:
$ LC_TIME=af_ZA date
Di Nov 27 21:59:53 CST 2001

You can do an:
$ ls /usr/share/locale/*/LC_TIME
to see what installed locales have a LC_TIME localization.

Hope this helps (this is just some troubleshooting
to see if locales are present and working at all),
Chris


"Michael B. Lee" wrote:
> 
> Hi.
> 
> Help?
> 
> I keep seeing this pop up whenever I do various things (run mcc, aumix,
> whatever).
> 
> I tried upgrading the locales and locales-en packages to the newest
> versions (I run Manduck with a 2.4.13-7 kernel) because i saw that in a
> posting somewhere as a fix.
> 
> But it still ain't fixed.
> 
> I keep getting the message. More specifically, it looks like this:
> 
> perl: warning: Falling back to the standard locale ("C").
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = "en",
>         LC_ALL = (unset),
>         LC_MESSAGES = "en",
>         LC_TIME = "en_US",
>         LC_NUMERIC = "en_US",
>         LC_CTYPE = "en_US",
>         LC_MONETARY = "en_US",
>         LC_COLLATE = "en_US",
>         LANG = "en"
>     are supported and installed on your system.
> 
> It only started doing it recently. Perhaps the kernel upgrade was the
> culprit.
> 
> So like I say.... help? Please?  :)
> Thanks!
> 
> -- Michael
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss




More information about the Discuss mailing list