Re: Locale weirdness

2007-10-26 Thread Joel Rees
play with, he found that ... What I found out, is that locale -a says that nl_NL exists, and /sw/share/locale/nl/glibc.mo is present. However, LANG=nl ls /xx is still in English. Don't know why. This seems rather odd. Anyone know what's going on? My memory is that Apple

Locale weirdness

2007-10-23 Thread David Cantrell
As some of you may know, I'm one of the cpan-testers. I recently sent a test failure for Log-Report-0.11 on OS X. The author is most puzzled about what's happening, and once I gave him a guest account he could play with, he found that ... What I found out, is that locale -a says that nl_NL

Re: Locale setting errors in Perl

2003-09-28 Thread Chris Cantrall
to perl 5.6.0 and upgraded rather painlessly to 5.8.0. Now I get the error below when running any perl scripts: 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

Re: Locale setting errors in Perl

2003-09-28 Thread Doug McNutt
At 01:58 -0700 9/28/03, Chris Cantrall wrote: If your shell is tcsh, put the following 2 lines in your .tcshrc login/setup file. setenv LANG en_US setenv LC_ALL C Remember though that your .login script will not be executed unless you log in to Darwin using Terminal or externally with ssh. The

Re: Locale setting errors in Perl

2003-09-28 Thread Vic Norton
And, if you run scripts from BBEdit like I do, you should write something like ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist SYSTEM file://localhost/System/Library/DTDs/PropertyList.dtd plist version=0.9 dict keyLANG/key stringen_US/string

Re: Locale setting errors in Perl

2003-09-25 Thread Phil Dobbin
On 25/9/03 22:19, Kevin Barry [EMAIL PROTECTED] wrote: I gave up trying to add modules to perl 5.6.0 and upgraded rather painlessly to 5.8.0. Now I get the error below when running any perl scripts: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings

Re: Locale setting errors in Perl

2003-09-25 Thread Doug McNutt
At 17:19 -0400 9/25/03, Kevin Barry wrote: perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = en_US environment.plist lives in $HOME/.MacOSX/ (with a leading dot) It is read only at login time. And that means login to the OS neXt GUI and not login via

Re: perl: warning: Setting locale failed.

2003-03-10 Thread Robin
On Monday, March 10, 2003, at 08:12 am, Vicki Brown wrote: 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: Falling back to the standard locale

Re: perl: warning: Setting locale failed.

2003-03-10 Thread Robin
), though not life threatening, it does introduce weaknesses which could be exploited, this is also covered in perllocale. Of course the *proper* way of doing this involves your suggestion fixing the locale files. A lot of darwin users would be obliged to you ;-) Technically you could do this yourself

Fwd: Re: perl: warning: Setting locale failed.

2003-03-09 Thread Kay Roepke
oops, forgot to CC: the list. Kay Begin forwarded message: From: Kay Roepke [EMAIL PROTECTED] Date: Mon Mar 10, 2003 3:15:26 AM Europe/Berlin To: Vicki Brown [EMAIL PROTECTED] Subject: Re: perl: warning: Setting locale failed. On Monday, March 10, 2003, at 12:12 AM, Vicki Brown wrote: perl

Re: Perl 5.8 locale

2003-03-02 Thread Doug McNutt
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

Re: Perl 5.8 locale

2003-03-02 Thread Bill Metzinger
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

2003-03-02 Thread Bill Metzinger
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

Re: locale in carbon emacs (was: OS X Installed numbers)

2002-11-19 Thread William H. Magill
On Tuesday, November 19, 2002, at 01:17 AM, Heather Madrone wrote: I also got the developer tools unpacked, so the Darwin shell is starting to look a bit more like home. One thing about the Shells under OS X -- you have neither csh nor sh! csh is a link to tcsh and sh a link to bash. zsh is

Re: locale in carbon emacs (was: OS X Installed numbers)

2002-11-18 Thread Chris Devers
On Thu, 14 Nov 2002, Heather Madrone wrote: At 12:46 PM 11/15/2002 +1100, Ken Williams wrote: On Friday, November 15, 2002, at 11:17 AM, Heather Madrone wrote: However, these past few days have been so discouraging that I have considered selling the Powerbook and surrendering to the evil of

Re: locale in carbon emacs (was: OS X Installed numbers)

2002-11-18 Thread Heather Madrone
At 12:49 AM 11/19/2002 -0500, Chris Devers wrote: Actually, I'm a bit curious how you managed to install Perl 5.8.0 without first installing the Tools. Maybe I missed some detail... I downloaded a binary. Those Apple switch ads currently make steam come out my ears. Kill Your Television.

Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-15 Thread Chris Nandor
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Heather Madrone) wrote: At 09:45 PM 11/14/2002 -0500, Kee Hinckley wrote: Two possibilities. 1. You're used to some version of make which does cpan installs? sudo perl -MCPAN -e shell install xxx I'm used to

Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-15 Thread William H. Magill
On Friday, November 15, 2002, at 02:05 AM, Heather Madrone wrote: More to the point though, if you haven't installed the developer package, you don't have a make at all--that may be your problem. Which developer package would that be? As others have mentioned, it is the Developer Tools CD.

Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-15 Thread Kee Hinckley
At 10:36 AM -0500 11/15/02, William H. Magill wrote: If you want to develop for Unix(tm), I would recommend using a platform like Tru64 Unix, as it will teach you what Standards really mean. Just because it was developed and runs on Sun, usually means it won't run anywhere else. AND Not to

locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-14 Thread Heather Madrone
as I get perl underway on OSX, I'll be moving my perl programs over. I'm running perl 5.8 on mac 10.2. I haven't yet been able to figure out how to get the carbon build of emacs (a gui emacs) to import the locale so that the perl debugger will run under emacs. Any suggestions for the best way

Re: locale in carbon emacs (was: OS X Installed numbers)

2002-11-14 Thread Ken Williams
running perl 5.8 on mac 10.2. That's sometimes a source of frustration (both now and in the future when Apple upgrades), has it given you any specific trouble? I haven't yet been able to figure out how to get the carbon build of emacs (a gui emacs) to import the locale so that the perl debugger

Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-14 Thread Kee Hinckley
At 8:26 PM -0600 11/14/02, Puneet Kishor wrote: Also, which make do you use to get modules installed from CPAN? no idea. Just say install whateveryouwant at the cpan prompt and it does it all. Please elaborate more on your problems. That is the only way others can help you. Two

Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-14 Thread Sherm Pendley
On Thursday, November 14, 2002, at 09:26 PM, Puneet Kishor wrote: Perl 5.8.0 on OS X 10.2.x does have some problems in that it can conflict with previously compiled libraries. That depends entirely on how you choose to compile and install it. If you install it somewhere other than

Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-14 Thread Sherm Pendley
On Thursday, November 14, 2002, at 07:17 PM, Heather Madrone wrote: I haven't yet been able to figure out how to get the carbon build of emacs (a gui emacs) to import the locale so that the perl debugger will run under emacs. Any suggestions for the best way to handle that? GUI programs

Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-14 Thread Heather Madrone
At 09:59 PM 11/14/2002 -0500, Sherm Pendley wrote: On Thursday, November 14, 2002, at 07:17 PM, Heather Madrone wrote: I haven't yet been able to figure out how to get the carbon build of emacs (a gui emacs) to import the locale so that the perl debugger will run under emacs. Any suggestions

Re: locale in carbon emacs (was: OS X Installed numbers)

2002-11-14 Thread Heather Madrone
At 12:46 PM 11/15/2002 +1100, Ken Williams wrote: On Friday, November 15, 2002, at 11:17 AM, Heather Madrone wrote: At 10:44 PM 11/14/2002 +, Phil Dobbin wrote: Switch, whether from Mac OS 9 or Win32, definitely ain't happening here :-( I just got a Powerbook a week ago, and I'm so

Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-14 Thread Heather Madrone
At 09:45 PM 11/14/2002 -0500, Kee Hinckley wrote: Two possibilities. 1. You're used to some version of make which does cpan installs? sudo perl -MCPAN -e shell install xxx I'm used to ActivePerl's ppm, which looks and feels a lot like ftp. No need to make anything. Unix-style

Re: how to turn off locale

2002-11-07 Thread Robert Dalgleish
Not equally effective. I run Perl from BBEdit, cron and other places where I am not guaranteed to easily have those variables defined. On Wednesday, November 6, 2002, at 06:10 AM, Alex Robinson wrote: Create the file ~/.MacOSX/environment.plist containing the following content WITH UNIX LINE

Re: how to turn off locale

2002-11-06 Thread Alex Robinson
Create the file ~/.MacOSX/environment.plist containing the following content WITH UNIX LINE ENDINGS and log in again. But if you set LC_ALL to anything but C, I have found that the problem persists, so this still doesn't seem to be a full solution. You will probably want 'en_US' for LANG. Other

Installing Locale::Msgcat on OS 10.2

2002-10-11 Thread Brian Wood
Hello, Can anyone tell me if it is possible to install Locale::Msgcat on OS X? When I try to run 'make' (either manually or via cpan) I get failures. Have been searching for an answer to no avail. 'make' and 'perl -V' output follow. -Brian Writing Makefile for Locale::Msgcat cp Msgcat.pm

Locale

2002-10-04 Thread Alexandre Enkerli
Well, I'm guessing this is an FAQ but I haven't found info on it. I constantly get locale warnings anytime I use perl (5.8.0 from serverlogistics on MacOS X 10.2 Jaguar, set to French-Canadian as default language). Here's the warning message: LC_ALL = (unset), LANG = fr_CA

Locale setting errors - LC_ALL, LANG

2002-09-20 Thread Robin
This was _really_ annoying me to the point of burning effigies of camels, so with a view to helping any other unwary souls - Problem: After rolling your own installation of perl , when you try to run a perl script you get a variation on the following: perl: warning: Setting locale failed

Re: Locale setting errors - LC_ALL, LANG

2002-09-20 Thread Jerry LeVan
Hi, I undef'ed the locale stuff in hints.sh and have not noticed any evil to this point. # Locales aren't feeling well. #LC_ALL=C; export LC_ALL; #LANG=C; export LANG; d_setlocale=undef; ==Jerry This was _really_ annoying me to the point of burning effigies of camels, so with a view

Locale and 5.8.0 (1 More Mac guy having Unix trouble)

2002-09-18 Thread Tim Grant
Good Folks, After upgrading to Jaguar, I installed Perl 5.8.0 from Aaron Faby's binaries (www.serverlogistics.com). Things look OK except the new Perl complains about Locale: perl: warning: Setting locale failed. perl: warning: Please check that your locale setings: LC_ALL

Re: Locale and 5.8.0 (1 More Mac guy having Unix trouble)

2002-09-18 Thread Morbus Iff
perl: warning: Setting locale failed. perl: warning: Please check that your locale setings: LC_ALL = (unset), LANG = en_US are supported and installed on your system. perl: warning: Falling back on the standard local (C). Take a look here: http

Re: Locale and 5.8.0 (1 More Mac guy having Unix trouble)

2002-09-18 Thread Celeste Suliin Burris
As long as you only need US English access, you will be fine, since that's the default for the C setting. If for some reason you need non-english (especially a non-European Character set), you will need to read up on locale. This is not perl-specfic. Most unix text processing programs take

5.8.0: Setting locale failed?

2002-08-13 Thread Morbus Iff
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

Re: 5.8.0: Setting locale failed?

2002-08-13 Thread Adam Turoff
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

Re: 5.8.0: Setting locale failed?

2002-08-13 Thread Puneet Kishor
] 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

Re: 5.8.0: Setting locale failed?

2002-08-13 Thread Morbus Iff
[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

Re: Locale errors with 5.6.1

2002-07-27 Thread robinmcf
Charles Albrecht [EMAIL PROTECTED] wrote I added d_setlocale=undef to the end of hints/darwin.sh effectively this gags the locale warnings, forcing perl to fall back on the standard locale ('C') at compile time, and doesn't really appear to solve the problem - which would seem

Re: Locale errors with 5.6.1

2002-07-26 Thread robinmcf
"Jason W. May" [EMAIL PROTECTED]wrote Edit ~/.MacOSX/environment.plist, either by hand or through the PropertyListEditor developer tool. but this would entail making a .plist for every user who uses that box to avoid the errors - though maybe making an environment.plist for root would be

perl 5.6.1 Build - setenv locale problems

2001-12-07 Thread sjbrownie
zxvf perl-5.6.1.tar.gz (3) Configure, build, and test it ... cd perl-5.6.1 # set locale stuff setenv LC_ALL C setenv LANG en_US # fix sitelib in hints perl -i.bak -p -e 's|Local/Library|Library|g' hints/darwin.sh sh Configure -des -Dfirstmakefile=GNUmakefile

Re: perl 5.6.1 Build - setenv locale problems

2001-12-07 Thread Robert Whittle
When you open a new window in Terminal, or after logging on again, does perl not give you a warning message message about your locale? r whittle On Friday, December 7, 2001, at 09:32 am, [EMAIL PROTECTED] wrote: I finally got perl 5.6.1 without any environmental variable trouble I followed

Re: perl 5.6.1 Build - setenv locale problems

2001-12-07 Thread Scott Brown
No it does not gripe at me at all. The problem I had been having was a ton of locale warnings on build attempt. It would build even with the warnings, but I did not like that. I never did a make install of the builds that had the locale warnings so I am not sure how it would have reacted

Re: Perl 5.6.1: warnings on locale settings

2001-11-30 Thread Robert Whittle
I've 'revisited' this, and in fact my problem (i.e. Perl generating locale warnings), after following the install instruction at: http:[EMAIL PROTECTED]/msg00895.html has not gone away. It had appeared to, but that was only because the environment variables LC_ALL had been set the C. However

Re: Perl 5.6.1: warnings on locale settings

2001-11-30 Thread Robert Whittle
I don't know if I'm doing something wrong, but I've re-installed perl making sure I included the hint echo d_setlocale = undef hints/darwin.sh But my Perl is still checking locale (and generating warnings). Is there a stronger hint to disable this checking? Thanks Robert My instructions force

Re: Perl 5.6.1: warnings on locale settings

2001-11-30 Thread David Dierauer
On Thu, 29 Nov 2001, Bob Dalgleish wrote: on 11/29/01 9:05 AM, S A at [EMAIL PROTECTED] wrote: These steps worked better for me : http:[EMAIL PROTECTED]/msg00895.html I followed Ray's excellent description originally, but ran into a problem using BBEdit 6.5 when it invokes Perl

Re: Perl 5.6.1: warnings on locale settings

2001-11-30 Thread Bob Dalgleish
on 11/30/01 9:33 AM, David Dierauer at [EMAIL PROTECTED] wrote: On Thu, 29 Nov 2001, Bob Dalgleish wrote: on 11/29/01 9:05 AM, S A at [EMAIL PROTECTED] wrote: These steps worked better for me : http:[EMAIL PROTECTED]/msg00895.html My instructions force the disabling of locales, so

Perl 5.6.1: warnings on locale settings

2001-11-29 Thread Robert Whittle
Hi I just installed perl 5.6.1 on OSX10.1.1 following the instructions at: http://duke.usask.ca/~dalglb/macosx/Perl_5.6.html The process worked, except that now every time I run a perl script I get the following warning: perl: warning: Setting locale failed. perl: warning: Please check

Re: Perl 5.6.1: warnings on locale settings

2001-11-29 Thread S A
time I run a perl script I get the following warning: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = es are supported and installed on your system. perl: warning: Falling back to the standard

Re: Perl 5.6.1: warnings on locale settings

2001-11-29 Thread Bob Dalgleish
on 11/29/01 9:05 AM, S A at [EMAIL PROTECTED] wrote: These steps worked better for me : http:[EMAIL PROTECTED]/msg00895.html I followed Ray's excellent description originally, but ran into a problem using BBEdit 6.5 when it invokes Perl scripts ... I would get the 'unset' message, because

'use locale' on Mac OS X?

2001-10-13 Thread Ken Williams
use strict; use locale; use POSIX qw(locale_h); my $cur_locale = setlocale(LC_ALL); printf ($cur_locale) %f\n, 5/2; $cur_locale = setlocale(LC_ALL, fr_CA.ISO8859-1) or warn