Date: Wed, 29 Dec 1999 22:05:00 GMT From: Salvo Bartolotta <bartequi@nojunk.com> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Warning about C Library Message-ID: <19991229.22050000@bartequi.ottodomain.org>
next in thread | raw e-mail | index | archive | help
Dear Scott, I ran into this problem just ... yesterday, while playing with Gnome-1.0.53 :-) If Gnome is causing you trouble, please read my recent posting in c.u.b.f.m. newsgroup and, if you like, let me know what you think of the whole situation. You should define the LC_ALL, LC_CTYPE and LANG environment variables in your shell. For example, in my tcsh shell (file ~/.tcshrc): setenv LC_ALL en_US.ISO_8859-1 setenv LC_CTYPE en_US.ISO_8859-1 setenv LANG en_US.ISO_8859-1 In a bash shell, in order to get e.g. the Italian locale, add these lines to your ~/.bash_profile: LC_ALL=3Dit_IT.ISO_8859-1 export LC_ALL LC_CTYPE=3Dit_IT.ISO_8859-1 export LC_CTYPE LANG=3Dit_IT.ISO_8859-1 export LANG Now the console and perl (e.g. "killall") no longer complain. Gnome and KDE-1.1.2 seem to work properly -- in every supported language I have tried so far. As far as I can see, the working locales are under /usr/share/locale. Personally, I have defined these variables right at the beginning of the shell login files. You may want to read "man setocale(3)" and, in particular, "man perllocale(1)". I have just entered into this field ;-) I am Italian, I use an en_US.ISO_8859-1 locale as root and as normal user, and I am going to use a French and German locale as another two users -- just to practice these languages. My home users desperately wanted only the Italian locale ... I hope that this information will help. Best regards and Happy New Year, Salvo N.B. Myjokingdomain =3D=3D=3D> neomedia.it for a private reply. ******************************* * * * Windows: brain-dead limits * * BeOS: limited apps * * Linux: unlimited (mindset) * * FreeBSD: no limits * * * ******************************* >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 12/29/99, 7:10:29 AM, Scott Corey <sbcorey@azstarnet.com> wrote regarding Warning about C Library: > I keep getting these warning on my console, however, I am at a loss of= > what I did wrong and how to go about fixing them. > "Gtk-WARNING **: locale not supported by C library" > "Warning: locale not supported by C library, library unchanged" > The weird part is that everything SEEMS to be working > Any help would be greatly appreciated. > Thanks, > Scott > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991229.22050000>
