On Sun, Dec 7, 2008 at 4:10 PM, Mike Edenfield <[EMAIL PROTECTED]> wrote: > Mark Knecht wrote: > >> lightning ~ # locale -a >> locale: Cannot set LC_CTYPE to default locale: No such file or directory >> locale: Cannot set LC_MESSAGES to default locale: No such file or >> directory >> locale: Cannot set LC_COLLATE to default locale: No such file or directory >> C >> POSIX > > This looks like the problem: you have specified that you want to use en_US > as your locale, but you don't have that locale installed. > > You should have a directory in /usr/share/locale for every locale you want > available on your system. The source files for the locales should be in > /usr/share/i18n/locales and /usr/share/i18n/charsets. That is, you should > have all of the following: > > /usr/share/i18n/locales/en_US > /usr/share/i18n/charsets/ISO8859-1 > /usr/share/i18n/charsets/UTF-8 > /usr/share/locale/en_US.ISO8859-1 > /usr/share/locale/en_US.UTF-8 > > If you are missing the last two, rerunning locale-gen should create them. > If you're missing any of the first three, then you will probably need to > emerge -1 glibc to get everything back. > > --Mike > >
Hi Mike, Thanks for joining in. I have mucho craziness in these directories! /usr/share/locale has way too much stuff, but it doesn't have what I want. It's missing en_US.utf8 and en_US.ISO8859-1. Also, all of what I think are the font files are in a directory called charmaps, not charsets, like yours: (This is an AMD64 machine so maybe that's part of the difference?) lightning ~ # ls /usr/share/i18n SUPPORTED charmaps locales lightning ~ # Before I do something stupid, can I erase all this /usr/share stuff by hand, then re-emerge glibc, rerun locale-gen to get the right stuff. I suspect that since I had weird settings in make.conf, now fixed with Dale's help, that now if I re-emerge glibc maybe I'll get the right stuff? lightning ~ # ls /usr/share/locale/ af [EMAIL PROTECTED] eo es_PR gl ja mi or so tk xh am cs es es_SV gn ka mk pa sq tl yi ang cs_CZ es_AR es_UY gr kk ml pl sr tr yo ar cy es_CL es_VE gu km mn pl_PL [EMAIL PROTECTED] tt zh_CN as da es_CO et haw kn mr ps [EMAIL PROTECTED] ug zh_HK az de es_CR et_EE he ko ms pt [EMAIL PROTECTED] uk zh_TW be de_DE es_DO eu hi kok mt pt_BR sv ur zu [EMAIL PROTECTED] dz es_EC fa hr ku nb pt_PT sv_SE ur_PK bg el es_ES fi hu ky [EMAIL PROTECTED] ro sw uz bn el_GR es_GT fo hy li ne ru ta [EMAIL PROTECTED] bn_IN en es_HN fr id locale.alias nl ru_RU te ve br en_AU es_MX fr_FR io lt nn rw tg vi bs en_CA es_NI fur is lv no si th wa byn en_GB es_PA ga it mai nso sk ti wal ca en_US es_PE gez it_IT mg oc sl tig wo lightning ~ # lightning ~ # ls /usr/share/i18n/ SUPPORTED charmaps locales lightning ~ #