Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968
Date: Sat, 01 Jul 2006 00:41:47
Message-Id: 200607010235.54676.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968 by Kristian Poul Herkild
1 On Saturday 01 July 2006 02:14, Kristian Poul Herkild wrote:
2 > glibc version is: 2.3.6-r4
3 >
4 > Output of locale -a:
5 > locale: Cannot set LC_CTYPE to default locale: No such file or directory
6 > locale: Cannot set LC_MESSAGES to default locale: No such file or directory
7 > locale: Cannot set LC_COLLATE to default locale: No such file or directory
8
9 So there is obviously something wrong with your locale.
10
11 > Output of grep -v '^$\|^#' /etc/locale.gen
12 > da_DK.UTF-8 UTF8
13
14 At least on my computer (running glibc-2.4-r1) that must be:
15
16 # grep da_DK.UTF /etc/locale.gen
17 da_DK.UTF-8 UTF-8
18
19 Note the dash in the second UTF-8. Without it I get errors resulting in a bad
20 locale.
21
22 > Output of grep -v '^$\|^#' /etc/locales.build
23 > da_DK.UTF8/UTF8
24
25 Just delete /etc/locales.build. /etc/locale.gen is replacing it. Then run:
26
27 # locale-gen
28
29 after making the above change to /etc/locale.gen and see if that solves
30 anything.
31
32 --
33 Bo Andresen

Replies

Subject Author
Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968 Kristian Poul Herkild <kristian@×××××××.dk>