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

Reply via email to