LinuxSir.cn,穿越时空的Linuxsir!

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

I can't use scim in the Gentoo Linux AMD64

[复制链接]
发表于 2005-10-8 17:26:14 | 显示全部楼层 |阅读模式
when type "locale" in the xterm, it said:

kazuhiko@kazuhiko-x64 ~ $ locale
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_ALL to default locale: No such file or directory
LANG=
LC_CTYPE="zh_CN.UTF8"
LC_NUMERIC="zh_CN.UTF8"
LC_TIME="zh_CN.UTF8"
LC_COLLATE="zh_CN.UTF8"
LC_MONETARY="zh_CN.UTF8"
LC_MESSAGES="zh_CN.UTF8"
LC_PAPER="zh_CN.UTF8"
LC_NAME="zh_CN.UTF8"
LC_ADDRESS="zh_CN.UTF8"
LC_TELEPHONE="zh_CN.UTF8"
LC_MEASUREMENT="zh_CN.UTF8"
LC_IDENTIFICATION="zh_CN.UTF8"
LC_ALL=zh_CN.UTF8

& the scim can only has english input ,I never met the problem before  :confused:  :beat  :comp
 楼主| 发表于 2005-10-8 19:06:55 | 显示全部楼层
难道是我的RPWT?用en_US.UTF-8,ja_JP.UTF-8都没有问题。。。
回复 支持 反对

使用道具 举报

发表于 2005-10-8 19:25:22 | 显示全部楼层
负责任的说,我的可以用。

maybe glibc problem?
try:
localedef -i zh_CN -f zh_CN.UTF-8
回复 支持 反对

使用道具 举报

发表于 2005-10-9 06:41:47 | 显示全部楼层
估计是locale -a没有zh_CN
所以locale不支持zh_CN
我也遇到了
回复 支持 反对

使用道具 举报

发表于 2005-10-9 07:41:18 | 显示全部楼层
有没有编辑.xinitrc,按照emerge scim后的提示加入.xinitrc,use中要加入qtimm-bc,如果原来use中没有qtimm-bc,所有于qt有关的程序全部重新编译。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-9 12:27:42 | 显示全部楼层
Post by zonzi
估计是locale -a没有zh_CN
所以locale不支持zh_CN
我也遇到了

这是不是 amd64特有的问题啊?奇怪了 :ask
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-9 12:28:33 | 显示全部楼层
Post by 小楼东风
有没有编辑.xinitrc,按照emerge scim后的提示加入.xinitrc,use中要加入qtimm-bc,如果原来use中没有qtimm-bc,所有于qt有关的程序全部重新编译。

全都做了
回复 支持 反对

使用道具 举报

发表于 2005-10-9 18:35:53 | 显示全部楼层
偶也遇到这个问题了,应该是amd64的libc 默认不支持中文的locales


修改/etc/locales.build 加入中文
再重新编译glibc 就可以搞定了
回复 支持 反对

使用道具 举报

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

本版积分规则

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