You are not logged in.
Pages: 1
locale-gen
Generating locales...
]#.Configuration file for locale-gen...Try `localedef --help' or `localedef --usage' for more information.
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
C
POSIX
The en-us locale is uncommented in both /etc/locale.gen and listed in /etc/rc.conf.
ldd /usr/bin/localedef
linux-gate.so.1 => (0xb7f98000)
libc.so.6 => /lib/libc.so.6 (0xb7e53000)
/lib/ld-linux.so.2 (0xb7f99000)
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
works, but if I try to run locale-gen again, or glibc is installed again, stuff is reb0rk3d.
Any suggestions for dealing w/ this permanently?
Offline
Could you paste here the output of
# grep "^[:blank:]*[^#]" /etc/locale.gen
?
Last edited by klixon (2007-04-25 12:52:20)
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
grep "^[:blank:]*[^#]" /etc/locale.gen
en_US.UTF-8 UTF-8
I've also tried deleting /usr/sbin/locale-gen and reinstalling glibc, But I still get the same output from locale-gen, and the locales still get mussed up.
Offline
Weird...
Could you open /etc/locale.gen in an editor and check that the very first line in that file actualy is a comment?
That is, that the first character on that line actualy is an '#'
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Spot on! Works great now. It must've been like that for months (do I feel like a nitwit ) , thanks for all the help!
Offline
Pages: 1