Re: Perl 5.8 locale
At 12:50 -0500 3/2/03, Bill Metzinger wrote: perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = en You need to create a plist file and a directory for it: $HOME/.MacOSX/environment.plist and set up LC_ALL and LANG there. Setting them in your .login, .profile, or .***rc won't work. The file is read only once at login-to-OSneXt time. It is not read on a remote login via ssh. *** begin copy of mine - watch out for mail forwarders that add returns. *** ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyRCCOUNT/key string0/string keySHELLOG/key string/Users/doug/logs/shel_log/string keyLANG/key stringus_ENG/string keyLC_ALL/key stringC/string keyPATH/key string/Users/doug/bin:/opt/bin/perl/bin:/bin:/sbin:/usr/bin:/usr/sbin:/Developer/Tools/string /dict /plist -- Applescript syntax is like English spelling: Roughly, but not thoroughly, thought through.
Re: Perl 5.8 locale
Thank you! The link you provided led me to another http://duke.usask.ca/~dalglb/macosx/Perl_5.6.html which had a script that created the environment.plist file and ended my locale problem. Happy in Pennsylvania Bill
Perl 5.8 locale
I'm using OSXS 10.2.4. One of the perl modules I want needs me to upgrade my perl 5.6. So first I tried the Apple supplied Perl-5.8.0-MacOSX.tar.gz. That was a hassle free install but led to my following error. I thought going thru CPAN and getting stable.tar.gz would help. After the config and install I ended up in the same place: * Welcome to Darwin! [iBookServer:~] admin% perl -v perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = en are supported and installed on your system. perl: warning: Failed to fall back to the standard locale (C). This is perl, v5.8.0 built for darwin * Can someone tell me how to permanently fix this? The temporary setenv LC_ALL C works. TIA Bill