Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
more locale nonsense [solved]
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
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Sat Aug 13, 2005 12:34 pm    Post subject: more locale nonsense [solved] Reply with quote

It's been a recurring theme so far in gentoo land and now the problem is back.

Code:
# locale
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=nb_NO.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US
en_US.utf8
nb_NO.iso88591
nb_NO.utf8
pl_PL
pl_PL.utf8


Code:
# emerge -av glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.5  -build -debug -erandom -hardened (-multilib) +nls +nptl +nptlonly -pic (-selinux) +userlocales 15,644 kB


Code:
# cat /etc/locales.build
# This file names the list of locales to be built when glibc is installed.
# The format is <locale>/<charmap>, where <locale> is a locale from the
# /usr/share/i18n/locales directory, and <charmap> is name of one of the files
# in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are
# ignored. Here is an example:
# en_US/ISO-8859-1

en_US/ISO-8859-1
en_US.UTF-8/UTF-8
pl_PL/iso88592
pl_PL.UTF-8/UTF8
nb_NO.iso88591/ISO-8859-1
nb_NO.UTF-8/UTF8
no_NO/ISO-8859-1
no_NO.UTF-8/UTF8
nb_NO.utf8
en_US.utf8


Code:
# ls /usr/lib/locale/en_US.utf8
LC_ADDRESS  LC_IDENTIFICATION  LC_MONETARY  LC_PAPER
LC_COLLATE  LC_MEASUREMENT     LC_NAME      LC_TELEPHONE
LC_CTYPE    LC_MESSAGES/       LC_NUMERIC   LC_TIME


Code:
# ls /usr/lib/locale/nb_NO.utf8
LC_ADDRESS  LC_IDENTIFICATION  LC_MONETARY  LC_PAPER
LC_COLLATE  LC_MEASUREMENT     LC_NAME      LC_TELEPHONE
LC_CTYPE    LC_MESSAGES/       LC_NUMERIC   LC_TIME


so what's the problem?
_________________
undvd - ripping dvds should be as simple as unzip


Last edited by numerodix on Mon Aug 15, 2005 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Mon Aug 15, 2005 8:56 am    Post subject: Reply with quote

*bump*
_________________
undvd - ripping dvds should be as simple as unzip
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Mon Aug 15, 2005 12:36 pm    Post subject: Reply with quote

A quick guess. UTF-8 vs. utf8?
Back to top
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Mon Aug 15, 2005 1:40 pm    Post subject: Reply with quote

I thought of that, it made no difference. This old trooper did the job once again:

Code:
localedef -i en_US -f UTF8 en_US.UTF8


It's funny that the previous version of glibc didn't require that, and the config is the same.
_________________
undvd - ripping dvds should be as simple as unzip
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