Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] locale : cannot generate it
Date: Sat, 07 Jan 2017 14:53:11
Message-Id: CAJ1xhMWL+=ymsOAM_ndEL7-KTjmei+9sCLKD5dYEPt-On9BYEw@mail.gmail.com
In Reply to: [gentoo-user] locale : cannot generate it by Helmut Jarausch
1 On Sat, Jan 7, 2017 at 4:30 PM, Helmut Jarausch <jarausch@××××××.be> wrote:
2 > Hi,
3 >
4 > hopefully some can help me.
5 >
6 > cat /etc/locale.gen
7 >
8 > gives
9 >
10 > en_US ISO-8859-1
11 > en_US.UTF-8 UTF-8
12 > C.UTF-8
13 > de_DE.UTF-8 UTF-8
14 > de_DE ISO-8859-1
15 > de_DE@euro ISO-8859-15
16 >
17 > but
18 >
19 > locale-gen gives errors
20 >
21 > * Generating locale-archive: forcing # of jobs to 1
22 > * Generating 5 locales (this might take a while) with 1 jobs
23 > * (1/5) Generating C.UTF-8 ...
24 > character map file `de_DE' not found: No such file or directory
25 > cannot open locale definition file `C': No such file or directory [
26 > !! ]
27 > * (2/5) Generating de_DE.ISO-8859-1 ...
28 > character map file `de_DE.UTF-8' not found: No such file or directory
29 > cannot open locale definition file `ISO-8859-1': No such file or directo [
30 > !! ]
31 > * (3/5) Generating de_DE.UTF-8 ...
32 > character map file `de_DE@euro' not found: No such file or directory
33 > cannot open locale definition file `UTF-8': No such file or directory [
34 > !! ]
35 > * (4/5) Generating de_DE.ISO-8859-15@euro ...
36 > character map file `en_US' not found: No such file or directory
37 > cannot open locale definition file `ISO-8859-15': No such file or direct [
38 > !! ]
39 > * Bad entry in locale.gen: 'UTF-8 '; skipping
40 > * (5/5) Generating en_US.ISO-8859-1 ...
41 > character map file `en_US.UTF-8' not found: No such file or directory
42 > cannot open locale definition file `ISO-8859-1': No such file or directo [
43 > !! ]
44 > * Generation complete
45 >
46 > I've even rebuild glibc (2.24)
47 >
48 > /usr/share/i18n/SUPPORTED contains the lines
49 >
50 > de_DE.UTF-8 UTF-8
51 > de_DE ISO-8859-1
52 > de_DE@euro ISO-8859-15
53 > en_US.UTF-8 UTF-8
54 > en_US ISO-8859-1
55 >
56 > Many thanks for a hint,
57 > Helmut
58 >
59
60 What's the full contents of your /etc/locale.gen?

Replies

Subject Author
Re: [gentoo-user] locale : cannot generate it Helmut Jarausch <jarausch@××××××.be>