Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with Locales
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
StyleWarz
n00b
n00b


Joined: 12 Apr 2004
Posts: 1

PostPosted: Mon Apr 12, 2004 2:13 pm    Post subject: Problem with Locales Reply with quote

Hi there,

i got a problem with my locales, and though with postgresql.

at first an ouput of `locale`
this seems to work
root@godmode root # locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

after `export LANG="de_DE@euro` or `export LANG="de_DE"`
root@godmode root # 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=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=


so how can i fix this? i didn't find anything on google, on #gentoo on IRCnet and FreeNode. thanks
Back to top
View user's profile Send private message
Jayz
n00b
n00b


Joined: 07 Mar 2004
Posts: 29
Location: canada

PostPosted: Mon Apr 12, 2004 3:53 pm    Post subject: Reply with quote

just set LC_ALL will change all locale to a specific one
Back to top
View user's profile Send private message
Will Scarlet
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 239

PostPosted: Mon Apr 12, 2004 3:55 pm    Post subject: Reply with quote

Check the output of "locale -a" and look for your setting. If it is not listed, that would be the reason for the error comming up.

After some checking, I found that the locale command belongs to glibc.

My thinking, and I might be wrong on this one (someone correct me please), that if it is not listed with locale -a command, you may of not included the USE flag of nls in your /etc/make.conf. More specifically, with the build of glibc.

You can check what USE flags glibc was built with using the following command:

etcat -u glibc

If you don't have the etcat command, emerge gentoolkit. etcat is a very useful command.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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