Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] locale cannot set LC_* to default
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Sat Jul 28, 2012 8:26 pm    Post subject: [solved] locale cannot set LC_* to default Reply with quote

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
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sat Jul 28, 2012 8:44 pm    Post subject: Reply with quote

tbrauch ...

missing underscore ... LANG="en_US.UTF-8"

best ... khay
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Sat Jul 28, 2012 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
cazort
Guru
Guru


Joined: 19 Sep 2004
Posts: 343
Location: Lancaster, PA

PostPosted: Thu Nov 15, 2012 3:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum