LinuxSir.cn,穿越时空的Linuxsir!

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

为什么redhatlinux9 以及AS4 没法正常用FCitx ????请版主帮忙,本人感激不尽

[复制链接]
发表于 2006-5-17 23:18:09 | 显示全部楼层 |阅读模式
我是一个刚学linux的初学者,对linux的认识就像小学生刚学电脑一样,我在机器上装了个redhatlinux9,去网上下载了个小企鹅输入法,把系统自带的输入法chinput卸了,然后把小企鹅输入法装下去,结果无法调出输入法,按ctrl+空格得出来的是个灰色的小四方框,而且openoffice在使用原来系统自带的输入法输入中文时也无法显示,显示出的是个四方框.由于周围没有学linux的朋友,我自己在网上找了近个月的时间,也按他们说的办法去做了,但都没成功,我想论坛上的高手们肯定知道如何配置,希望能得到师傅们的热心帮助,把安装的步骤写详细些,把在下引入linux的殿堂!!!在此先谢了!!!!
 楼主| 发表于 2006-5-17 23:45:30 | 显示全部楼层

redhat9下的错误如下:

f gcc -DPKGDATADIR=\"/app/fcitx/share/fcitx\" -I. -I. -I.. -I../lib -I../xpm
-O2 -fno-strength-reduce -g -O2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr
/include/freetype2   -D_USE_XFT -Wall -MT qw.o -MD -MP -MF ".deps/qw.Tpo" -c -o
qw.o qw.c; \
then mv -f ".deps/qw.Tpo" ".deps/qw.Po"; else rm -f ".deps/qw.Tpo"; exit 1; fi
gcc -O2 -fno-strength-reduce -g -O2 -I/usr/X11R6/include -I/usr/X11R6/include -I
/usr/include/freetype2   -D_USE_XFT -Wall   -o fcitx  IC.o ime.o InputWindow.o K
eyList.o main.o MainWindow.o MyErrorsHandlers.o punc.o py.o PYFA.o pyMapTable.o
pyParser.o sp.o tools.o ui.o table.o xim.o qw.o ../lib/libXimd.a -L/usr/X11R6/li
b -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig   -lX11
make[2]: Entering directory `/mnt/hgfs/xm/src'
test -z "/app/fcitx/bin" || mkdir -p -- "/app/fcitx/bin"
  /usr/bin/install -c 'fcitx' '/app/fcitx/bin/fcitx'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/hgfs/xm/src'
make[1]: Leaving directory `/mnt/hgfs/xm/src'
make[1]: Entering directory `/mnt/hgfs/xm'
make[2]: Entering directory `/mnt/hgfs/xm'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/hgfs/xm'
make[1]: Leaving directory `/mnt/hgfs/xm'

而我看了DOC里面所要的前提都有
GCC与XFree86
回复 支持 反对

使用道具 举报

发表于 2006-5-18 10:16:06 | 显示全部楼层

我的安装经验,你可以参考一下。

redhat9.0下安装fcitx:
下载fcitx在www.fcitx.org
redhat9.0下安装fcitx:
1、将fcitx-3.0.2-1.i386.rpm存入某目录下,进入此目录,执行rpm命令,如
[root @ee fcitx]#rpm -ivh fcitx-3.0.2-1.i386.rpm
2、[root @ee root]#vi .bashrc
进入编辑模式添加:
export LC_ALL=zh_CN.gbk
export LANG=zh_CN.gbk
export XMODIFIERS=@im=fcitx
3、注销用户,重新登录。
[root @ee root]#fcitx
即可看到输入法,然后ctrl加空格键即可打开输入法。
不过我的系统很奇怪。我登录后打开终端,输入命令fcitx,
但是此时无法在终端输入汉字。要关闭终端,然后再打开终端,
直接ctrl加空格键就可以了
以上所说是在root用户下,如果是在其他用户下使用,则需要在此用户下重新安装,
用rpm安装时先用su命令更改权限才行,安装完成后,
你仍需要修改 .bashrc文件(注意.bashrc那个点不要漏掉了),
不过在个时候 .bashrc文件和root用户的路径不一样。你要这样修改,比如你的用户名为lin,
计算机名为ee,那么[lin @ee lin]#vi  .bashrc
如果你在openoffice中无法输入汉字,那么你要这样操作,打开oppenoffic,然后:
工具——选项——文本文档——标准字体,把标准字体设置为:ZYSong18030
不过在设置的时候,当你输入ZY的时候,后面的字符就自动出来了。



Post by selltosell
我是一个刚学linux的初学者,对linux的认识就像小学生刚学电脑一样,我在机器上装了个redhatlinux9,去网上下载了个小企鹅输入法,把系统自带的输入法chinput卸了,然后把小企鹅输入法装下去,结果无法调出输入法,按ctrl+空格得出来的是个灰色的小四方框,而且openoffice在使用原来系统自带的输入法输入中文时也无法显示,显示出的是个四方框.由于周围没有学linux的朋友,我自己在网上找了近个月的时间,也按他们说的办法去做了,但都没成功,我想论坛上的高手们肯定知道如何配置,希望能得到师傅们的热心帮助,把安装的步骤写详细些,把在下引入linux的殿堂!!!在此先谢了!!!!
回复 支持 反对

使用道具 举报

发表于 2006-5-18 10:18:56 | 显示全部楼层

再帮一下。

你最好下载我说的这个版本,这种版本按我说的步骤,很好安装。


Post by selltosell
我是一个刚学linux的初学者,对linux的认识就像小学生刚学电脑一样,我在机器上装了个redhatlinux9,去网上下载了个小企鹅输入法,把系统自带的输入法chinput卸了,然后把小企鹅输入法装下去,结果无法调出输入法,按ctrl+空格得出来的是个灰色的小四方框,而且openoffice在使用原来系统自带的输入法输入中文时也无法显示,显示出的是个四方框.由于周围没有学linux的朋友,我自己在网上找了近个月的时间,也按他们说的办法去做了,但都没成功,我想论坛上的高手们肯定知道如何配置,希望能得到师傅们的热心帮助,把安装的步骤写详细些,把在下引入linux的殿堂!!!在此先谢了!!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-18 12:25:47 | 显示全部楼层
我的五笔现在已经装上去了,非常谢谢你!
回复 支持 反对

使用道具 举报

发表于 2006-5-20 23:48:13 | 显示全部楼层
help!
I am now a freshman in linux, and I am now in a very difficlut situation. I hope you will help me. Thank you!
The OS of my computer is redhat linux 9. I have remove the chinput recently and now I can't input any chinese.
I downloaded fcitx-3.1.1.tar.bz2 and use "#tar -jxvf fcitx-3.1.1.tar.bz2" so I can "cd fcitx-3.1.1".
Unfortunatly, the follwing steps put me in great trouble. The following information is given by the computer. I hope it will be helpful.

[user@bob setup]$ cd fcitx-3.1.1
[user@bob fcitx-3.1.1]$ make
make  all-recursive
make[1]: Entering directory `/home/user/setup/fcitx-3.1.1'
Making all in doc
make[2]: Entering directory `/home/user/setup/fcitx-3.1.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/user/setup/fcitx-3.1.1/doc'
Making all in tools
make[2]: Entering directory `/home/user/setup/fcitx-3.1.1/tools'
gcc  -g -O2 -INONE -Wall   -o mb2txt  mb2txt.o  -LNONE -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [mb2txt] Error 1
make[2]: Leaving directory `/home/user/setup/fcitx-3.1.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/setup/fcitx-3.1.1'
make: *** [all] Error 2
[user@bob fcitx-3.1.1]$ su
Password:
[root@bob fcitx-3.1.1]# make install
Making install in doc
make[1]: Entering directory `/home/user/setup/fcitx-3.1.1/doc'
make[2]: Entering directory `/home/user/setup/fcitx-3.1.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/fcitx/doc" || mkdir -p -- "/usr/local/share/fcitx/doc"
/usr/bin/install -c -m 644 'cjkvinput.txt' '/usr/local/share/fcitx/doc/cjkvinput.txt'
/usr/bin/install -c -m 644 'wb_fh.htm' '/usr/local/share/fcitx/doc/wb_fh.htm'
/usr/bin/install -c -m 644 'fcitx3.pdf' '/usr/local/share/fcitx/doc/fcitx3.pdf'
make[2]: Leaving directory `/home/user/setup/fcitx-3.1.1/doc'
make[1]: Leaving directory `/home/user/setup/fcitx-3.1.1/doc'
Making install in tools
make[1]: Entering directory `/home/user/setup/fcitx-3.1.1/tools'
gcc  -g -O2 -INONE -Wall   -o mb2txt  mb2txt.o  -LNONE -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [mb2txt] Error 1
make[1]: Leaving directory `/home/user/setup/fcitx-3.1.1/tools'
make: *** [install-recursive] Error 1
[root@bob fcitx-3.1.1]#

Looking forward for your reply and thank you so much!
回复 支持 反对

使用道具 举报

发表于 2006-5-21 08:17:37 | 显示全部楼层
benbenxiaozhu:答案就在你头上。

引用自3楼:
redhat9.0下安装fcitx:
下载fcitx在www.fcitx.org
redhat9.0下安装fcitx:
1、将fcitx-3.0.2-1.i386.rpm存入某目录下,进入此目录,执行rpm命令,如
[root @ee fcitx]#rpm -ivh fcitx-3.0.2-1.i386.rpm
2、[root @ee root]#vi .bashrc
进入编辑模式添加:
export LC_ALL=zh_CN.gbk
export LANG=zh_CN.gbk
export XMODIFIERS=@im=fcitx
3、注销用户,重新登录。
[root @ee root]#fcitx
即可看到输入法,然后ctrl加空格键即可打开输入法。
不过我的系统很奇怪。我登录后打开终端,输入命令fcitx,
但是此时无法在终端输入汉字。要关闭终端,然后再打开终端,
直接ctrl加空格键就可以了
以上所说是在root用户下,如果是在其他用户下使用,则需要在此用户下重新安装,
用rpm安装时先用su命令更改权限才行,安装完成后,
你仍需要修改 .bashrc文件(注意.bashrc那个点不要漏掉了),
不过在个时候 .bashrc文件和root用户的路径不一样。你要这样修改,比如你的用户名为lin,
计算机名为ee,那么[lin @ee lin]#vi .bashrc
如果你在openoffice中无法输入汉字,那么你要这样操作,打开oppenoffic,然后:
工具——选项——文本文档——标准字体,把标准字体设置为:ZYSong18030
不过在设置的时候,当你输入ZY的时候,后面的字符就自动出来了。
回复 支持 反对

使用道具 举报

发表于 2006-5-21 19:27:19 | 显示全部楼层
[QUOTE=ideawu]对benbenxiaozhu:答案就在你头上。


I am sorry but I really don't know what do you mean by tell me "答案就在你头上", I can not find any solution with the single message. Will you please tell me exactly what to do with fcitx-3.1.1.tar.bz2 and show me the meaning of the information given by the computer. Thank you so much.
回复 支持 反对

使用道具 举报

发表于 2006-5-23 20:21:42 | 显示全部楼层

晕了,说得那么清楚了,唉,再说说吧

www.fcitx.org下载fcitx-3.0.2-1 ... 些步骤安装。
你下的那个版本本身就不好安装。




Post by benbenxiaozhu
[QUOTE=ideawu]对benbenxiaozhu:答案就在你头上。


I am sorry but I really don't know what do you mean by tell me "答案就在你头上", I can not find any solution with the single message. Will you please tell me exactly what to do with fcitx-3.1.1.tar.bz2 and show me the meaning of the information given by the computer. Thank you so much.
回复 支持 反对

使用道具 举报

发表于 2006-5-23 20:24:30 | 显示全部楼层

更晕,居然是乱码,再说一次

www.fcitx.org
下载fcitx-3.0.2-1.i386.rpm,然后按我说的步骤安装。
你下的那个版本不好安装。


Post by benbenxiaozhu
[QUOTE=ideawu]对benbenxiaozhu:答案就在你头上。


I am sorry but I really don't know what do you mean by tell me "答案就在你头上", I can not find any solution with the single message. Will you please tell me exactly what to do with fcitx-3.1.1.tar.bz2 and show me the meaning of the information given by the computer. Thank you so much.
回复 支持 反对

使用道具 举报

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

本版积分规则

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