View previous topic :: View next topic |
Author |
Message |
Evilguru Guru
Joined: 16 Aug 2005 Posts: 390 Location: England
|
Posted: Wed Nov 16, 2011 12:00 pm Post subject: perl: warning: Setting locale failed. |
|
|
Hello,
When running perl applications I often get a message informing me that:
Code: |
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LANG = "en_GB"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
|
I am completely stumped by what is causing it:
Code: |
fluorine ~ # locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
|
Code: |
fluorine ~ # cat /etc/locale.gen
en_GB.UTF-8 UTF-8
|
I have re-generated the locales, been through the localization guide and still have no idea what is the matter. Can anyone help me?
Regards, Freddie. |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1658
|
Posted: Thu Nov 24, 2011 7:10 am Post subject: |
|
|
can you post /etc/env.d/02locale ? _________________ Donate to Gentoo |
|
Back to top |
|
|
drizzt Guru
Joined: 21 Jul 2002 Posts: 428
|
Posted: Thu Nov 08, 2012 3:38 pm Post subject: |
|
|
Picking up this old thread since I run into the same problem today installing a new gentoo system.
My 02locale:
Code: | LANG="de_DE.UTF-8"
GDM_LANG="de_DE.UTF-8"
# For OpenOffice.org
LANGUAGE="de_DE:de" |
On a second system these settings run just fine.
Update
I resolved my problem. It was caused by a typo in my locale.gen file. Locale de_DE.UTF-8 was not generated. _________________ People don't have to earn my respect. I offer my respect to them, but be careful to lose my respect... |
|
Back to top |
|
|
|