LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 722|回复: 6

emerge -auvD World后启动出现多次同一个警告

[复制链接]
发表于 2009-3-25 23:03:01 | 显示全部楼层 |阅读模式
/bin/sh LC_ALL setlocale: cannot change the locale en_US.UTF-8

大概这样地n条警告。


中文输入也实效了,能启动,看到图表,呼不出来。卸载SCIM,装了ibus也使一样。
发表于 2009-3-25 23:10:51 | 显示全部楼层
贴locale -a和locale命令的结果
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-26 20:57:06 | 显示全部楼层
# locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8


# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
回复 支持 反对

使用道具 举报

发表于 2009-3-26 21:08:23 | 显示全部楼层
难道是内核的nls那段?
回复 支持 反对

使用道具 举报

发表于 2009-3-26 23:49:49 | 显示全部楼层
if you want to input Chinese
don't set LC_ALL to en_US.xxx

instead you need to set LC_CTYPE to zh_CN.utf8
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-27 00:01:35 | 显示全部楼层
but before I update the system (change keyword from x86 to ~x86, re-emerge system), I can input chinese using the old settings.

I just wonder why I cannot input chinese now, neither scim nor ibus.

And the warning messages are still there even if I changed the setting for LC_ALL from en_US.UTF-8 to zh_CN.UTF-8 or utf8.

Any idea?
回复 支持 反对

使用道具 举报

发表于 2009-3-27 00:07:42 | 显示全部楼层
search the internet
if you can find similar situations, then probably it is not your fault
otherwise, i'd say, you are on your own, and, sorry
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表