Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] locale issue to clean up
Date: Mon, 08 Dec 2008 00:07:16
Message-Id: 493C6521.7080005@gmail.com
In Reply to: Re: [gentoo-user] locale issue to clean up by Mark Knecht
1 Mark Knecht wrote:
2 > On Sun, Dec 7, 2008 at 3:29 PM, Dale <rdalek1967@×××××.com> wrote:
3 > <SNIP
4 >
5 >> I'm not sure if the -N feature will catch those changes or not. It may
6 >> even depend on the version of portage you are using too. The newer
7 >> versions of portage has a lot of added features but even it may not
8 >> catch those. You may try emerge -vNDp world and see if it sees which
9 >> ones needs to be emerged for them to take effect. That may cure the
10 >> other problems as well.
11 >>
12 >
13 > Tried it by hand - just rebuilding k3b. Didn't solve it.
14 >
15 > I'm most interested right now in these missing file/directory
16 > messages. What file or directory might it be looking for?
17 >
18 > lightning ~ # locale -a
19 > locale: Cannot set LC_CTYPE to default locale: No such file or directory
20 > locale: Cannot set LC_MESSAGES to default locale: No such file or directory
21 > locale: Cannot set LC_COLLATE to default locale: No such file or directory
22 > C
23 > POSIX
24 > lightning ~ #
25 >
26 > I tried modifying /etc/env.d/02locale and got a change, but only after
27 > restarting X. (Or so I think. I'm getting confused at this point...) I
28 > Added LC_COLLATE and LC_CTYPE. The LC_COLLATE message went away. The
29 > LC_CTYPE message is unchanged.
30 >
31 > lightning ~ # cat /etc/env.d/02locale
32 > LANG=en_US
33 > LC_COLLATE=C
34 > LC_CTYPE=en_US.utf8
35 > lightning ~ # locale -a
36 > locale: Cannot set LC_CTYPE to default locale: No such file or directory
37 > locale: Cannot set LC_MESSAGES to default locale: No such file or directory
38 > C
39 > POSIX
40 > lightning ~ #
41 >
42 >
43 > I think I may well have some misspelling somewhere.
44 >
45 > Thanks,
46 > Mark
47 >
48 >
49 >
50
51 I think glibc is the one that locale belongs to, maybe try re-emerging
52 it and see if that helps. Also make sure you have ran etc-update or
53 whatever you use to manage config updates too.
54
55 I'm pasting my emerge --info here just in case it may help.
56
57 root@smoker / # emerge --info
58 Portage 2.2_rc17 (default/linux/x86/2008.0/desktop, gcc-4.1.2,
59 glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
60 =================================================================
61 System uname:
62 Linux-2.6.23-gentoo-r8-i686-AMD_Athlon-tm-_XP_2500+-with-glibc2.0
63 Timestamp of tree: Sat, 06 Dec 2008 09:45:01 +0000
64 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
65 [disabled]
66 ccache version 2.4 [enabled]
67 app-shells/bash: 3.2_p33
68 dev-java/java-config: 1.3.7, 2.1.6
69 dev-lang/python: 2.5.2-r7
70 dev-util/ccache: 2.4-r7
71 dev-util/cmake: 2.6.2
72 sys-apps/baselayout: 1.12.11.1
73 sys-apps/sandbox: 1.2.18.1-r2
74 sys-devel/autoconf: 2.13, 2.61-r2
75 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
76 sys-devel/binutils: 2.18-r3
77 sys-devel/gcc-config: 1.4.0-r4
78 sys-devel/libtool: 1.5.26
79 virtual/os-headers: 2.6.23-r3
80 ACCEPT_KEYWORDS="x86"
81 CBUILD="i686-pc-linux-gnu"
82 CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
83 CHOST="i686-pc-linux-gnu"
84 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
85 /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
86 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
87 /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
88 /etc/terminfo /etc/udev/rules.d"
89 CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
90 DISTDIR="/usr/portage/distfiles"
91 EMERGE_DEFAULT_OPTS="--with-bdeps y"
92 FEATURES="buildsyspkg ccache distlocks fixpackages parallel-fetch
93 preserve-libs protect-owned sandbox sfperms strict unmerge-orphans
94 userfetch"
95 LANG="en_US"
96 LC_ALL="en_US.utf8"
97 LDFLAGS="-Wl,-O1"
98 LINGUAS="en"
99 MAKEOPTS="-j3"
100 PKGDIR="/usr/portage/packages"
101 PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
102 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
103 --compress --force --whole-file --delete --stats --timeout=180
104 --exclude=/distfiles --exclude=/local --exclude=/packages"
105 PORTAGE_TMPDIR="/var/tmp"
106 PORTDIR="/usr/portage"
107 USE="3dnow X acl acpi alsa amd arts artswrappersuid automount berkdb
108 bluetooth bzip2 cairo cddb cdr chroot cli cracklib crypt cups curl dbus
109 dri dvd dvdr dvdread eds emboss encode esd evo exif fam fdftk fortran
110 gdbm gif gimp gkrellm gphoto2 gpm gstreamer gtk hal hbci iconv ipv6
111 isdnlog java javascript jbig jpeg jpeg2k justify kde kdeprefix ldap
112 libnotify libwww logrotate mad midi mikmod mmx mp3 mpeg mplayer mudflap
113 ncurses nptl nptlonly nsplugin offensive ofx ogg opengl openmp pam
114 parport pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime
115 readline realmedia reflection sdl seamonkey session spell spl sqlite sse
116 ssl startup-notification svg sysfs syslog tcl tcpd tiff tk truetype
117 unicode usb vorbis win32codecs wma wmf wmp x86 xml xorg xprint xv yahoo
118 zeroconf zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym
119 copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
120 lfloat linear meter mmap_emul mulaw multi null plug rate route share shm
121 softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
122 LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
123 Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS,
124 PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
125
126 root@smoker / #
127
128 I did remove some unneeded lines for the mirrors. Maybe you will notice
129 something or some guru will come along that has seen this before.
130
131 Dale
132
133 :-) :-)