Gentoo Archives: gentoo-user

From: Mike Edenfield <kutulu@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] locale issue to clean up
Date: Mon, 08 Dec 2008 00:08:16
Message-Id: 493C65E7.1090607@kutulu.org
In Reply to: Re: [gentoo-user] locale issue to clean up by Mark Knecht
1 Mark Knecht wrote:
2
3 > lightning ~ # locale -a
4 > locale: Cannot set LC_CTYPE to default locale: No such file or directory
5 > locale: Cannot set LC_MESSAGES to default locale: No such file or directory
6 > locale: Cannot set LC_COLLATE to default locale: No such file or directory
7 > C
8 > POSIX
9
10 This looks like the problem: you have specified that you
11 want to use en_US as your locale, but you don't have that
12 locale installed.
13
14 You should have a directory in /usr/share/locale for every
15 locale you want available on your system. The source files
16 for the locales should be in /usr/share/i18n/locales and
17 /usr/share/i18n/charsets. That is, you should have all of
18 the following:
19
20 /usr/share/i18n/locales/en_US
21 /usr/share/i18n/charsets/ISO8859-1
22 /usr/share/i18n/charsets/UTF-8
23 /usr/share/locale/en_US.ISO8859-1
24 /usr/share/locale/en_US.UTF-8
25
26 If you are missing the last two, rerunning locale-gen should
27 create them. If you're missing any of the first three, then
28 you will probably need to emerge -1 glibc to get everything
29 back.
30
31 --Mike

Replies

Subject Author
Re: [gentoo-user] locale issue to clean up Mark Knecht <markknecht@×××××.com>