[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

locale settings



hi,

I am using RH 5.1. I got a problem with my locale settings.
Unfortunately, this affects some other applications like PERL, ADABAS or
GIMP. While starting those apps, I usually receive messages like "locale
not supported!". PERL is telling me stuff like that, when I am trying to
invoke it:

> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LC_ALL = (unset),
> LANG = "de"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").


When I enter locale in the command line, I get a couple of variables
(LC_CTYPE, LANG, ...) back that are set to "de" except for LC_ALL.
LC_ALL seems to be empty.

I tried to find some mails from the mailing-list archieve. I found one
from Aug 9.  

BEGIN OF MAL QUOTED
On Sun, Aug 09, 1998 at 11:53:53AM -0400, John Walker wrote:
> I recently built a new box, and am getting some wierd errors when executing
> perl scripts. I don't know if this is because of the perl install or
> something else in RedHat 5.1. Any thoughts or suggestions are appreciated.
> Here's the behavior, (... and a listing of the script less you think I was
> doing something wierd in there.)
> 
> [root main oldscraps]# ./locale.test
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LC_ALL = (unset),
> LANG = "en_RN"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> 
> test
> [root main oldscraps]# cat ./locale.test
> #!/usr/bin/perl
> print "\n test \n";
> [root main oldscraps]#

I think this is error of RH5.1 installation. LANG = "en_RN" -- incorrect
Use LANG = en_US (if you need Englis-only):
I don't have RH5.1 but I think this is in /etc/sysconfig/i18n.
Or simple edit your /etc/profile or /etc/csh.login

As you can see I live in Russia so locale before glibc was VERY big
problem
Ooow, that's my English ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :( 
END OF MAIL QUOTED

Unfortunately, this answer did not help much. I hope someone can help.
Thanx,
Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]