Re: locale problems?

From: Polakov Alexander <polachok_at_narod.ru>
Date: Thu, 9 Jun 2005 21:01:22 +0400 (MSD)
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Thu, Jun 09, 2005 at 06:32:32PM +0400, Polakov Alexander wrote:
>> I'm getting errors like "aterm: Cannot set locale", when I run aterm, and like this "(gedit:803): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale." when I run gedit from terminal. And I can not do any input in russian in non-gtk2 (plain X) programs and in my user's console. It's OK in root's console.
>> I have: FreeBSD darkstar 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue Jun  7 20:16:06 MSD 2005     root_at_darkstar:/usr/obj/usr/src/sys/PSL2  i386
>> LANG=ru_RU.KOI8-R
>> Locale is set by user's class russian.
>> Maybe some additional info? Everything was fine when I used 5.4-STABLE.
>>  Alexander Polakov
>
>
>Yes, this happens on an upgrade.  I cover it on a page I have about
>Japanese in *nix at http://home.nyc.rr.com/computertaijutsu/jpninpt.html
>
>The safest solution (and recommended by the gentleman who committed the
>change to LC_CTYPE is to copy an old /usr/share/local/ somewhere and set
>the environment variable PATH_LOCALE to point to it. 
>
>The risky way (though I haven't been bitten by it on a test box) is to
>add at the top of libmap.conf
>
>libc.so.5 	libc.so.6
>
>The most tedious way is to do a portupgrade -f of just about everything
>that has any remote connection with your use of Russian.  I did that on
>one box that only had a few programs, but on my main workstation, which
>has about 200, I gave up.  :)
>
>(The way to tell if a program needs to be forcefully upgraded is to do 
>ldd `which perl`
>
>(Substituting perl with the program name)  If one of the answers is
>libc.so.5 then that program has to be upgraded.  You should start with
>perl, as the first one.)
>
>
>HTH
>  
>
>- -- 
>
>Scott Robbins
>
>
>GPG KeyID EB3467D6
>( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6)
>gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
>
>Buffy: Could I be seeing Billy's asteroid body? 
>Giles: Astral body, and I don't know.
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.1 (FreeBSD)
>
>iD8DBQFCqGIU+lTVdes0Z9YRApPmAKCoYQbpMVbeDrY4R1g0Fid8RegLHACfVngO
>PSw1YPZnb24I6DS8k4ygvvQ=
>=3L57
>-----END PGP SIGNATURE-----
>_______________________________________________
>freebsd-current_at_freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

Thanks a lot. I'll do portupgrade -arRf.
Received on Thu Jun 09 2005 - 15:01:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC