View previous topic :: View next topic |
Author |
Message |
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Sat Jul 28, 2012 8:26 pm Post subject: [solved] locale cannot set LC_* to default |
|
|
I have searched these forums and tried a few things, but since I installed Gentoo about a week ago, I've been having troubles with my locale. And those troubles are preventing me from emerging software (like gnome).
Here's what I have:
Code: | /etc/locale.gen
en_US ISO-8859-1
en_US.UTF-8 UTF-8
[everything else is commented out] |
Code: | /etc/env.d/02locale
LANG="en US.UTF-8"
LC_COLLATE="C" |
Code: | # 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\ US.UTF-8
LC_CTYPE="en US.UTF-8"
LC_NUMERIC="en US.UTF-8"
LC_TIME="en US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en US.UTF-8"
LC_MESSAGES="en US.UTF-8"
LC_PAPER="en US.UTF-8"
LC_NAME="en US.UTF-8"
LC_ADDRESS="en US.UTF-8"
LC_TELEPHONE="en US.UTF-8"
LC_MEASUREMENT="en US.UTF-8"
LC_IDENTIFICATION="en US.UTF-8"
LC_ALL= |
Code: | # 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
C
POSIX
en_US
en_US.iso88591
en_US.utf8 |
Any thoughts on how to get rid of the "no such file or directory" error?
Last edited by tbrauch on Sat Jul 28, 2012 9:33 pm; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat Jul 28, 2012 8:44 pm Post subject: |
|
|
tbrauch ...
missing underscore ... LANG="en_US.UTF-8"
best ... khay |
|
Back to top |
|
|
tbrauch n00b
Joined: 17 Jul 2012 Posts: 49
|
Posted: Sat Jul 28, 2012 9:33 pm Post subject: |
|
|
khayyam wrote: | tbrauch ...
missing underscore ... LANG="en_US.UTF-8"
best ... khay |
Aaargghh, so simple and yet after a week of searching, when I thought my configuration looked like what I saw others looking like, it seems to be fixed now. Thanks so much. |
|
Back to top |
|
|
cazort Guru
Joined: 19 Sep 2004 Posts: 343 Location: Lancaster, PA
|
Posted: Thu Nov 15, 2012 3:24 am Post subject: |
|
|
I just found this thread; in my case, I was missing the period, not the underscore. Thanks! _________________ Alex Zorach | Teacology | RateTea | Why This Way |
|
Back to top |
|
|
|