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 |