TOP POSTED SUMMARY: operator error. An incorrect setting of LANG and LC_ALL
were in /etc/profile.
They had been suggested by the guide, but were incorrectly done and override
the results of all the
02locale and locale.gen things.
Now one X restart later, k3b and perl and I are all happy.
Thanks for suggesting a re-reading, Daniel.
++ kevin
On Sun, Jun 1, 2008 at 4:05 PM, Daniel Pielmeier
[EMAIL PROTECTED] wrote:
Kevin O'Gorman schrieb:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = en_EN,
LANG = en_EN
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
Anyway, I added .utf8 to the lines in my 02locale file, and it made no
difference at all.
I don't see utf8 in any of the outputs, and k3b and perl still don't like
it.
The outputs requested (plus my 02locale file) were:
[EMAIL PROTECTED] ~ $ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_EN
LC_CTYPE=en_EN
LC_NUMERIC=en_EN
LC_TIME=en_EN
LC_COLLATE=en_EN
LC_MONETARY=en_EN
LC_MESSAGES=en_EN
LC_PAPER=en_EN
LC_NAME=en_EN
LC_ADDRESS=en_EN
LC_TELEPHONE=en_EN
LC_MEASUREMENT=en_EN
LC_IDENTIFICATION=en_EN
LC_ALL=en_EN
[EMAIL PROTECTED] ~ $ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US
en_US.utf8
es_MX
fr_FR
[EMAIL PROTECTED]
[EMAIL PROTECTED] ~ $ cat /etc/locale.gen
# /etc/locale.gen: list all of the locales you want to have on your system
#
# The format of each line:
# locale charmap
#
# Where locale is a locale located in /usr/share/i18n/locales/ and
# where charmap is a charmap located in /usr/share/i18n/charmaps/.
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you. After updating this file, you can simply run
`locale-gen`
# yourself instead of re-emerging glibc.
en_US ISO-8859-1
en_US.UTF-8 UTF-8
#ja_JP.EUC-JP EUC-JP
#ja_JP.UTF-8 UTF-8
#ja_JP EUC-JP
#en_HK ISO-8859-1
#en_PH ISO-8859-1
#de_DE ISO-8859-1
[EMAIL PROTECTED] ISO-8859-15
es_MX ISO-8859-1
#fa_IR UTF-8
fr_FR ISO-8859-1
[EMAIL PROTECTED] ISO-8859-15
#it_IT ISO-8859-1
#pl_PL ISO-8859-15
[EMAIL PROTECTED] ~ $ cat /etc/env.d/02locale
LANG=en_US.utf8
LC_ALL=en_us.utf8
[EMAIL PROTECTED] ~ $
Here is my output which I guess is correct as it works fine for me!
[EMAIL PROTECTED] ~ $ locale
LANG=de_DE.utf8
LC_CTYPE=de_DE.utf8
LC_NUMERIC=de_DE.utf8
LC_TIME=de_DE.utf8
LC_COLLATE=de_DE.utf8
LC_MONETARY=de_DE.utf8
LC_MESSAGES=de_DE.utf8
LC_PAPER=de_DE.utf8
LC_NAME=de_DE.utf8
LC_ADDRESS=de_DE.utf8
LC_TELEPHONE=de_DE.utf8
LC_MEASUREMENT=de_DE.utf8
LC_IDENTIFICATION=de_DE.utf8
LC_ALL=de_DE.utf8
[EMAIL PROTECTED] ~ $ locale -a
C
de_DE
[EMAIL PROTECTED]
de_DE.utf8
en_GB
en_GB.utf8
en_US
en_US.utf8
POSIX
[EMAIL PROTECTED] ~ $ cat /etc/locale.gen
# /etc/locale.gen: list all of the locales you want to have on your system
#
# The format of each line:
# locale charmap
#
# Where locale is a locale located in /usr/share/i18n/locales/ and
# where charmap is a charmap located in /usr/share/i18n/charmaps/.
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you. After updating this file, you can simply run
`locale-gen`
# yourself instead of re-emerging glibc.
en_US.UTF-8 UTF-8
en_US ISO-8859-1
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
de_DE.UTF-8 UTF-8
de_DE ISO-8859-1
[EMAIL PROTECTED] ISO-8859-15
[EMAIL PROTECTED] ~ $ cat /etc/env.d/02locale
LANG=de_DE.utf8
LC_ALL=de_DE.utf8
GDM_LANG=de_DE.utf8
LC_CTYPE=de_DE.utf8
LC_NUMERIC=de_DE.utf8
LC_TIME=de_DE.utf8
LC_COLLATE=de_DE.utf8
LC_MONETARY=de_DE.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=de_DE.utf8
LC_NAME=de_DE.utf8
LC_ADDRESS=de_DE.utf8
LC_TELEPHONE=de_DE.utf8
LC_MEASUREMENT=de_DE.utf8
LC_IDENTIFICATION=de_DE.utf8
Maybe locale-gen is not working properly at your system as perl says the
locales are not installed. What are the contents of /usr/lib/locale/?
I am guessing this as your locale output looks really weird. It does not
show the .utf8 parts. And en_EN also looks strange as it is not a valid
locale. It should be for instance LANG=en_US.utf8 like in 02locale. Plus the
error messages of missing