LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-30-2002, 11:46 AM   #1
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 30
locales


hello

what can be the cause, that i get this error message everytime a program starts?

Warning: locale not supported by C library.

thanks

raven
 
Old 10-30-2002, 12:38 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Do you have locales instelled?
 
Old 10-30-2002, 12:55 PM   #3
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 30
oh well...

if the locales are installed with

make localedata/install-locales

in the glibc source tree, then yes, otherwise, I have no clue...

raven
 
Old 11-01-2002, 11:03 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Where is it installed to? Is the right directory in PATH/LD_LIBRARY_PATH?
 
Old 11-01-2002, 11:38 AM   #5
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 30
you mean, the localaes must be installad somewhere in PATH od LD_LIBRARY_PATH?

cos then I am not that sure, that this is so...

raven
 
Old 11-01-2002, 01:20 PM   #6
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
Well, actually I had the same problem and I sorted it out by installing glibc-i18n-something-here. If you this already installed then do a:
echo $PATH
to see were you're path is and then look if the glibc-i18n package is installed in your path. Good luck!
 
Old 11-01-2002, 02:47 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
The binary should go to a directory in PATH, libraries to a directory in LD_LIBRARY_PATH.
 
Old 11-01-2002, 04:25 PM   #8
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
Yeah, thanks for the fix Mara
 
Old 11-02-2002, 08:54 AM   #9
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 30
well, it seems, that I dont have glibc-i18n-anything at all...

but I have the locales installed in /usr/local/share/locale.

the installation into that path occured with the command mentioned above.

thanks anyway

raven
 
Old 11-02-2002, 10:53 AM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
I gues programs try to look into /usr/share/locales. Try to make a symlink.
 
Old 11-03-2002, 09:16 AM   #11
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 30
well, it doesnt seem to work. i made a link /usr/share/locales and also a link /usr/share/locale.

something I noticed: in a gtk program on some fields (text fields) I can use and in some other fields (ex: subject line) I cant. so in the same program, in the same windoe, at two different places, I can and I cant use .

this i kinda strange to me.

any other ideas?

thanks anyway

raven
 
Old 11-03-2002, 11:21 AM   #12
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
Well, I told you. Since I know russian very well and use it in a lot of places I did localise my system to russian. And I had the same problem. The programs had strange letters and I had the same errors. But then I installed glibc-i18n package and everything then became fine. The letters were russian and there were no more errors. So I just suggest you find a glibc-i18n package for your distribution(100% sure it'll be on the ftp of your distribution) and install it. Good luck!
 
Old 11-03-2002, 11:41 AM   #13
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 30
ok. thanks.

raven
 
Old 11-03-2002, 12:03 PM   #14
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
If you're using new GNOME, libunicode may be useful, too.
 
Old 11-03-2002, 12:28 PM   #15
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 30
well, stuff work for me with every kde program. all gtk progs have the problem described above.

thanks

raven
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
locales mrbabis Linux - Software 5 10-28-2005 04:24 PM
once again locales mib_ths Ubuntu 1 07-26-2005 04:23 PM
locales? trendkiller Linux - Newbie 1 03-05-2004 08:53 AM
locales what are they citrus Linux - General 2 02-17-2004 06:27 AM
locales-en jimjamz Linux - General 2 06-07-2001 08:59 PM


All times are GMT -5. The time now is 10:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration