On Tue, Aug 13, 2002 at 06:58:53PM -0400, Morbus Iff wrote:
> Anyone seen this one before, or can give me some insight?
>
> [disobey:local/src/perl-5.8.0] morbus% perl -v
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LC_ALL = (unset),
> LANG = "en_US"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
>
> This is perl, v5.8.0 built for darwin
You need to set two environment variables: LC_ALL and LANG.
I use this in my .profile (I use bash as my login shell):
export LC_ALL=C
export LANG=en_US
If you can translate that to [t]csh, the problem should go away when
you log in again (or restart terminal, or whatever). The tcsh fix
is documented in a few OSX-type places, but I don't have any URLs
offhand.
HTH,
Z.