tangmasi 发表于 2004-10-5 11:58:25

看了很多贴,我的SCIM还是调不出来.该设的我应该都设了

从官方网站上下了两个rpm包.scim-0.99.2-1fc2.i386.rpm和scim-chinese-0.4.0-1fc2.i386.rpm 我的系统是FC2的.
首先通过gnome的server setting停了IIim服务.
然后运行rpm -ivh 安装好两个包.安装过程没出任何问题.
开启一个终端输入
export XMODIFIERS="@im=SCIM"
export LC_CTYPE=zh_CN.GB18030
验证了一下env发现没问题了.
最后启动scim -d 结果
Smart Common Input Method 0.99.2

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading IMEngine module: pinyin ...
    Loading IMEngine Factory 0 ... : OK
pinyin IMEngine module is successfully loaded.
Loading IMEngine module: rawcode ...
    Loading IMEngine Factory 0 ... : OK
rawcode IMEngine module is successfully loaded.
Loading IMEngine module: table ...
Failed to load table IMEngine module.
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading IMEngine module: socket ...
    Loading IMEngine Factory 0 ... : OK
    Loading IMEngine Factory 1 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM as daemon ...
SCIM has been successfully launched.
好像没问题,但输入法界面没出来,Ctrl+SPACE也没反应.
用gedit测试发现的确没效.

scim -l的输出:
Smart Common Input Method 0.99.2


Available FrontEnd module:
    socket
    x11

Available Config module:
    simple
    socket
    dummy

Available IMEngine module:
    pinyin
    rawcode
    socket
    table
但是当我用scim命令时看到有问题了:
Smart Common Input Method 0.99.2

Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading IMEngine module: socket ...
    Loading IMEngine Factory 0 ... : OK
    Loading IMEngine Factory 1 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM ...
scim::FrontEnd: X11 -- failed to initialize XIM Server!
SCIM has exited abnormally.
我的系统安装时选了英文和中文两个语言包,默认用英文.缺省出来的是英文界面

请问到底是哪里的问题呢?

tangmasi 发表于 2004-10-5 19:08:10

请给点意见啊。

tangmasi 发表于 2004-10-5 19:11:13

简言之就是安装好Scim后却怎么也调不出来。。。
使用命令scim时报告出错:
Smart Common Input Method 0.99.2

Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading IMEngine module: socket ...
Loading IMEngine Factory 0 ... : OK
Loading IMEngine Factory 1 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM ...
scim::FrontEnd: X11 -- failed to initialize XIM Server!
SCIM has exited abnormally.

StepIn 发表于 2004-10-8 16:46:57

我的安装过程。你参考一下。。
scim 1.0.0
下载:
Fedora Core 2 Build (GCC 3.3.3 GLIBC 2.3.x GTK+ 2.4.x)
scim-1.0.0-1fc2.i386.rpm The main package of SCIM platform.
scim-chinese-0.4.1-1fc2.i386.rpm The binary package of Smart Pinyin IMEngine.

安装:
rpm -Uvh scim*.rpm

修改:
vi .bashrc
增加以下几行。
export XMODIFIERS="@im=SCIM"
export XIM=SCIM
export XIM_PROGRAM=scim
export XIM_ARGS="-d"

logout,再登录。。。

schoolwind 发表于 2004-10-9 14:03:56

export XMODIFIERS="@im=SCIM"
export XIM=SCIM(scim?)

range 发表于 2004-10-9 23:33:11

Failed to load table IMEngine module.

软件相互间的依赖真让人头痛故障也难以判断

Debian 在这上面作的还不错    :wink:

schoolwind 发表于 2004-10-10 10:40:09

自己编译安装吧,一般都没问题的,good luck!

tangmasi 发表于 2004-10-12 09:49:39

多谢兄台们,很奇怪的问题。反正我始终没能分析出原因来。
后来重装过一次系统再装就成功了就没多想了。
前后系统的区别也就是locale的设置不一样,感觉可能是这个的原因。
前一次系统我安装英文和简体中文支持并选择默认为英文,这样Gnome界面出来的就是英文的啦,再在i18n文件里面加了LC_CTYPE=zh_CN.GB18030支持中文显示。这样的系统使用前面我说得安装方法按道理应该是可行的呀,结果就是调不出输入法来。
后来看到论坛上有人说过一句,LANG还是LANGUAGE也应该设置成zh_CN.GB18030,否则
Ctrl+Space就有可能不起作用,可惜我也没试试。
第二次系统我干脆就没装简体中文支持,也没修改i18n文件,当然这个时候浏览中文都有问题。我装了simsun等字体包,除了使用mkfontscale,mkfontdir和chkfontpath --add命令外,我没改任何配置文件。重启之后居然Gnome就能浏览中文了.看看mozilla也能浏览中文,但我的locale还是en_US.UTF-8呀,不懂为什么只需加几个字体就行了,不是还有很多配置文件需要修改吗?并且这次装scim就行了。
输入法没问题了,但是关于中文显示的问题又有了,看来我还需要摸索很久才能完全理解linux关于国际化和本地化准确点说就是locale,编码,字体,字体集如何影响最终界面显示等问题了。我再发贴请教吧。
多谢各位!

nicekim 发表于 2004-10-26 20:39:54

I have three linux systems.
One is Gnome on Redhat9. Another is also X-Server on Redhat9.
The ohter is X-Server on Devian.
I tried to install SCIM on three systems.
My computer environment is below...
1. scim-chinese-0.4.1.-1
2. scim-0.99.8-1
3. locale = zh_CN.GB2312


But, I had many problems.
#1. Gnome on Redhat9
I could not rut scim.
I tried with "scim -d". Error was occured.
******************************************
@scim -d
Failed to load table IMEngine module ...
Failed to FrontEnd module ...
----
----
Failed to load table IMEngine module ...
Failed to launch SCIM. ...
******************************************

#2. X-Server on Redhat9
I can run scim.
But, Font was broken. I cound not input Chinese characters.
When I tried "scim-setup", Error was occured.
******************************************
@scim-setup
Loading Config Module simple
Loading Config Moduel socket

Fontconfig error: Cannot load default config file

loading Setup Module panel-gtk-setup
...
...
...
socket IMEngine module is uccessfully loaded.
SCIM: im_module_exit
******************************************

#3. X-Server on Devian
Error is the same as #2.

How can I run SCIM?
How can I run SCIM?
How can I run SCIM?

please, help me.

private 发表于 2004-10-28 14:23:46

scim -d
LANG=zh_CN.UTF-8 XMODIFIERS="'"@im=SCIM"'"   mozilla (或者别的应用程序名字。)

tii 发表于 2004-10-30 12:47:30

set language to zh_CN is a much safer choice than zh_CN.gb18030 or zh_CN.utf-8

sunmoon1997 发表于 2004-10-30 14:05:09

你可以自由软件里下载xinputrc替换你系统内的这个文件,然后就应该没有问题了。
这个文件在/etc/X11/xinit/xinitrc.d. good luck!

nicekim 发表于 2004-10-30 14:51:33

Thank you for your help.
I set language to zh_CN on Redhat's X-server.
Now, I can input Chinese character.
But, Fonts are still wrong. I only can see rectanular font on SCIM module.
I think this problem seems GTK problem. Right? How can I fix it?
******************************************
@scim-setup
Loading Config Module simple
Loading Config Moduel socket

Fontconfig error: Cannot load default config file

loading Setup Module panel-gtk-setup
...
...
...
socket IMEngine module is uccessfully loaded.
SCIM: im_module_exit
******************************************

<img src="http://www.bitplay.co.kr/Temp/scim-error.gif">
http://www.bitplay.co.kr/Temp/scim-error.gif
页: [1]
查看完整版本: 看了很多贴,我的SCIM还是调不出来.该设的我应该都设了