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
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
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
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
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
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
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
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
), 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
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
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
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
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
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
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
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.
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
] 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
[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
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
"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
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
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
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
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
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
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
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
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
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
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 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
53 matches
Mail list logo