Subject: Re: perl: warning: Setting locale failed.? (Darwin & pkgsrc question)
To: Bang Jun-Young <junyoung@netbsd.org>
From: Sean J. Schluntz <schluntz@workofstone.com>
List: tech-pkg
Date: 12/03/2002 09:54:04
>> Perl compiles just fine now that I have the pkgsrc tree bootstrapped in
>> to MacOS 10.2.2.  Problem is everytimg Perl gets called I get the following
>> error:
>> 
>>   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").
>> 
>> Do any of you know what I can do to remove this error?  It really interfeers
>> with any scripts I run (though the scripts still run, just noisly.)
>
>I had the same problem some months ago. Read this:
>
>http://mail-index.netbsd.org/tech-pkg/2002/08/05/0005.html

Ok, following that thread I found that a number of the LC fixes listed 
did not work under Darwin.  But "LC_ALL=C ; export LC_ALL" does fix
the problem with Perl.

Thanks for pointing out the refrence.

-Sean