This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Warning: locale not supported by C library, locale unchanged


On Sun, May 30, 1999 at 09:14:10PM +0200, Robert Siemer wrote:
> Re!
> 
> On Sat, 29 May 1999, Ronald de Man wrote:
> 
> Robert Siemer:
> > > If I build libc6-programs, on startup they present me the following line:
> > > 
> > > Warning: locale not supported by C library, locale unchanged
> 
> > It's just saying that the program you're trying to start hasn't been
> > translated to the language that's set in your LANG environment variable.
> 
> I don't have set any "LANG" environment:
> 
> siemer@panorama:/usr/home/siemer > set | grep LANG
> siemer@panorama:/usr/home/siemer > 

Is that using bash or csh/tcsh? In tcsh, 'set' lists the shell variables,
not the environment. Try 'env' in tcsh, or just 'echo $LANG'.

You should also look at 'man locale' and check the other variables
mentioned there, such as LC_ALL.

> 
> But even if I set one (LANG, LANG=de, LANG=en, LANG=EN), I always get this
> message from (e.g.) xterm.

Try 'setenv LANG de' (in tcsh).

> 
> It's quite okay, if all programs speaking English to me, or in their
> "native-language", so how can I just disable this error-message...

If you really have no LANG or simial variable set, then I call this a bug.
(Which does not necessarily mean it is a bug, maybe I'm just
overlooking something.)

Ronald


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]