LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: tram

[==请置顶==]fcitx(或ebf:)安装设置大全

[复制链接]
发表于 2006-6-23 21:35:37 | 显示全部楼层
Post by lieying2126
[root@localhost root]# fcitx
无法加载字体 -*-fixed-medium-r-normal--16-*-*-*-*-*-*-*,-*-simsun-medium-r-normal--16-*-*-*-*-*-zh_CN.GB2312-*
字体区域 zh_CN.GB2312 不支持! 使用 zh_CN.GB2312
已经存在另一个同名服务程序,因而无法启动输入服务 fcitx

What to do next ? Please Help.
my os is RedHat Linux 9.0.



I meet this question too,could you tell me how can i  resove it ?
thanks a lot

the error it return is that :
Can't open Chinese punc file: /usr/share/fcitx/data/punc.mb
Start FCITX error. Another XIM daemon named htt is running?
回复 支持 反对

使用道具 举报

发表于 2006-6-30 18:43:38 | 显示全部楼层
Post by nsyncbin
I meet this question too,could you tell me how can i  resove it ?
thanks a lot

the error it return is that :
Can't open Chinese punc file: /usr/share/fcitx/data/punc.mb
Start FCITX error. Another XIM daemon named htt is running?
我想你应该再仔细看一下楼主的帖子,检查一下编译过程是是否出现过什么错误.然后启动输入法程序后,如果提示"Another XIM daemon named htt is running?" 可以查看一下进程,应该是chinput在作怪,建议备份chinput 将其改名或卸掉,然后再试.
回复 支持 反对

使用道具 举报

发表于 2006-7-13 15:52:45 | 显示全部楼层
[root@localhost fcitx-3.2.1]# make
make  all-recursive
make[1]: Entering directory `/home/sinlu/Desktop/fcitx-3.2.1'
Making all in doc
make[2]: Entering directory `/home/sinlu/Desktop/fcitx-3.2.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sinlu/Desktop/fcitx-3.2.1/doc'
Making all in tools
make[2]: Entering directory `/home/sinlu/Desktop/fcitx-3.2.1/tools'
gcc  -g -O2 -INONE -Wall  -o mb2txt  mb2txt.o  -LNONE -lX11
/usr/bin/ld:找不到 -lX11
collect2: ld 返回 1
make[2]: *** [mb2txt] 错误 1
make[2]: Leaving directory `/home/sinlu/Desktop/fcitx-3.2.1/tools'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/sinlu/Desktop/fcitx-3.2.1'
make: *** [all-recursive-am] 错误 2


make install
在运行make的时候,可能会失败,如果你得到错误信息如下:
(没有编译器cc或gcc)<哪位兄弟给找一下出错信息?我这里实在出不来>
以前没有编译过软件包吧?没关系,找出你的安装光盘,装上gcc的rpm,一般就在第一张盘上。也可以装上开发工具,这样以后编译什么软件包也方便。
有了编译器,还有可能出错的,因为ebf用了xlib的头文件,如果没装,就会:
MConn.c:32:22: X11/Xlib.h: No such file or directory
.....
make[1]: *** [IMConn.o] 错误 1
make[1]: Leaving directory `/home/liuyi/tmp/fcitx-1.8.2/IMdkit/lib'
make: *** [libXimd.a] 错误 2
[root@localhost fcitx-1.8.2]#
再找出光盘,装上XFree86的开发包(通常名为XFree86-devel),好了,现在不会有什么问题了(如果还有问题,反馈给我,我好补充进来)。
安装完了以后,可执行文件是/usr/bin/fcitx,数据文件在/usr/share/fcitx目录里面。

what can i do next step? i am a newcomer. thanks a lot.
回复 支持 反对

使用道具 举报

发表于 2006-7-13 22:28:33 | 显示全部楼层

fcitx-3.2.1-bin.tar.bz2与 fcitx-3.2.1.bar.bz2有何区别?

fcitx-3.2.1-bin.tar.bz2与 fcitx-3.2.1.bar.bz2有何区别?
用 tar命令解压这两 种文件的默认目录怎么都不一样?
回复 支持 反对

使用道具 举报

发表于 2006-7-13 22:33:11 | 显示全部楼层

make: *** 没有规则可以创建目标“install”。 停止。这又是什么原因?

[root@nsyncbin fcitx-3.2.1]# make install
make: *** 没有规则可以创建目标“install”。 停止。

这又是什么原因?


os :redhat as4

解压缩信息:
[root@nsyncbin soft]# tar jxvf /soft/fcitx-3.2.1.tar.bz2
fcitx-3.2.1/
fcitx-3.2.1/doc/
fcitx-3.2.1/doc/pinyin.txt
fcitx-3.2.1/doc/cjkvinput.txt
fcitx-3.2.1/doc/Makefile.am
fcitx-3.2.1/doc/Makefile.in
fcitx-3.2.1/doc/fcitx3.odt
fcitx-3.2.1/doc/fcitx3.pdf
fcitx-3.2.1/doc/wb_fh.htm
fcitx-3.2.1/lib/
fcitx-3.2.1/lib/FrameMgr.c
fcitx-3.2.1/lib/FrameMgr.h
fcitx-3.2.1/lib/i18nX.c
fcitx-3.2.1/lib/Xi18nX.h
fcitx-3.2.1/lib/IMValues.c
fcitx-3.2.1/lib/IMConn.c
fcitx-3.2.1/lib/Xi18n.h
fcitx-3.2.1/lib/i18nIc.c
fcitx-3.2.1/lib/i18nMethod.c
fcitx-3.2.1/lib/IMMethod.c
fcitx-3.2.1/lib/i18nAttr.c
fcitx-3.2.1/lib/Makefile.am
fcitx-3.2.1/lib/Makefile.in
fcitx-3.2.1/lib/i18nClbk.c
fcitx-3.2.1/lib/XimProto.h
fcitx-3.2.1/lib/IMdkit.h
fcitx-3.2.1/lib/i18nIMProto.c
fcitx-3.2.1/lib/i18nPtHdr.c
fcitx-3.2.1/lib/XimFunc.h
fcitx-3.2.1/lib/i18nUtil.c
fcitx-3.2.1/lib/Xi18nTr.h
fcitx-3.2.1/src/
fcitx-3.2.1/src/IC.c
fcitx-3.2.1/src/IC.h
fcitx-3.2.1/src/py.c
fcitx-3.2.1/src/py.h
fcitx-3.2.1/src/qw.c
fcitx-3.2.1/src/qw.h
fcitx-3.2.1/src/sp.c
fcitx-3.2.1/src/sp.h
fcitx-3.2.1/src/ui.c
fcitx-3.2.1/src/ui.h
fcitx-3.2.1/src/vk.c
fcitx-3.2.1/src/vk.h
fcitx-3.2.1/src/version.h.in
fcitx-3.2.1/src/InputWindow.c
fcitx-3.2.1/src/InputWindow.h
fcitx-3.2.1/src/ime.c
fcitx-3.2.1/src/ime.h
fcitx-3.2.1/src/xim.c
fcitx-3.2.1/src/xim.h
fcitx-3.2.1/src/PYFA.c
fcitx-3.2.1/src/PYFA.h
fcitx-3.2.1/src/QuickPhrase.c
fcitx-3.2.1/src/QuickPhrase.h
fcitx-3.2.1/src/MainWindow.c
fcitx-3.2.1/src/MainWindow.h
fcitx-3.2.1/src/table.c
fcitx-3.2.1/src/table.h
fcitx-3.2.1/src/pyMapTable.c
fcitx-3.2.1/src/pyMapTable.h
fcitx-3.2.1/src/Makefile.am
fcitx-3.2.1/src/Makefile.in
fcitx-3.2.1/src/tools.c
fcitx-3.2.1/src/tools.h
fcitx-3.2.1/src/main.c
fcitx-3.2.1/src/main.h
fcitx-3.2.1/src/about.c
fcitx-3.2.1/src/about.h
fcitx-3.2.1/src/punc.c
fcitx-3.2.1/src/punc.h
fcitx-3.2.1/src/Makefile.old
fcitx-3.2.1/src/KeyList.c
fcitx-3.2.1/src/KeyList.h
fcitx-3.2.1/src/pyParser.c
fcitx-3.2.1/src/pyParser.h
fcitx-3.2.1/src/MyErrorsHandlers.c
fcitx-3.2.1/src/MyErrorsHandlers.h
fcitx-3.2.1/xpm/
fcitx-3.2.1/xpm/lx-0.xpm
fcitx-3.2.1/xpm/lx-1.xpm
fcitx-3.2.1/xpm/about_icon.xpm
fcitx-3.2.1/xpm/vk-1.xpm
fcitx-3.2.1/xpm/gbk-0.xpm
fcitx-3.2.1/xpm/gbk-1.xpm
fcitx-3.2.1/xpm/engPunc.xpm
fcitx-3.2.1/xpm/chnPunc.xpm
fcitx-3.2.1/xpm/Makefile.am
fcitx-3.2.1/xpm/Makefile.in
fcitx-3.2.1/xpm/fullcorner.xpm
fcitx-3.2.1/xpm/prev.xpm
fcitx-3.2.1/xpm/vk.xpm
fcitx-3.2.1/xpm/next.xpm
fcitx-3.2.1/xpm/logo.xpm
fcitx-3.2.1/xpm/halfcorner.xpm
fcitx-3.2.1/xpm/lock-0.xpm
fcitx-3.2.1/xpm/lock-1.xpm
fcitx-3.2.1/TODO
fcitx-3.2.1/data/
fcitx-3.2.1/data/punc.mb
fcitx-3.2.1/data/gbkpy.org
fcitx-3.2.1/data/cj.txt
fcitx-3.2.1/data/pySym.mb
fcitx-3.2.1/data/Makefile.am
fcitx-3.2.1/data/Makefile.in
fcitx-3.2.1/data/pyPhrase.org
fcitx-3.2.1/data/wbx-s.txt
fcitx-3.2.1/data/sp.dat
fcitx-3.2.1/data/vk.conf
fcitx-3.2.1/data/wbx.txt
lfcitx-3.2.1/data/tables.conf
fcitx-3.2.1/data/erbi.txt
sfcitx-3.2.1/depcomp
fcitx-3.2.1/aclocal.m4
fcitx-3.2.1/tools/
fcitx-3.2.1/tools/txt2mb.c
fcitx-3.2.1/tools/createPYMB.c
fcitx-3.2.1/tools/pyjj2fcitx.c
fcitx-3.2.1/tools/Makefile.am
fcitx-3.2.1/tools/Makefile.in
fcitx-3.2.1/tools/jd2fcitx.c
fcitx-3.2.1/tools/mb2txt.c
fcitx-3.2.1/tools/win2fcitx.c
fcitx-3.2.1/README
fcitx-3.2.1/THANKS
fcitx-3.2.1/configure
fcitx-3.2.1/configure.in
fcitx-3.2.1/config.guess
fcitx-3.2.1/config.rpath
fcitx-3.2.1/install-sh
fcitx-3.2.1/autogen.sh
fcitx-3.2.1/config.sub
fcitx-3.2.1/missing
fcitx-3.2.1/debian/
fcitx-3.2.1/debian/dirs
fcitx-3.2.1/debian/docs
fcitx-3.2.1/debian/control
fcitx-3.2.1/debian/rules
fcitx-3.2.1/debian/changelog
fcitx-3.2.1/debian/Makefile.am
fcitx-3.2.1/debian/Makefile.in
fcitx-3.2.1/debian/copyright
fcitx-3.2.1/mkinstalldirs
fcitx-3.2.1/Makefile.am
fcitx-3.2.1/Makefile.in
fcitx-3.2.1/config.h.in
fcitx-3.2.1/fcitx.spec.in
fcitx-3.2.1/stamp-h.in
fcitx-3.2.1/AUTHORS
fcitx-3.2.1/INSTALL
fcitx-3.2.1/ChangeLog
fcitx-3.2.1/COPYING
回复 支持 反对

使用道具 举报

发表于 2006-7-22 11:03:12 | 显示全部楼层
菜鸟问下,然后在WENZALK系统中安装中文输入法。
需要下载什么格式的文件,又要如何安装呢?
俺是新手,是不是没有ROOT权限就不能安装么/
谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-7-22 18:11:10 | 显示全部楼层
Post by sinlu
[root@localhost fcitx-3.2.1]# make
make  all-recursive
make[1]: Entering directory `/home/sinlu/Desktop/fcitx-3.2.1'
Making all in doc
make[2]: Entering directory `/home/sinlu/Desktop/fcitx-3.2.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sinlu/Desktop/fcitx-3.2.1/doc'
Making all in tools
make[2]: Entering directory `/home/sinlu/Desktop/fcitx-3.2.1/tools'
gcc  -g -O2 -INONE -Wall  -o mb2txt  mb2txt.o  -LNONE -lX11
/usr/bin/ld:找不到 -lX11
collect2: ld 返回 1
make[2]: *** [mb2txt] 错误 1
make[2]: Leaving directory `/home/sinlu/Desktop/fcitx-3.2.1/tools'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/sinlu/Desktop/fcitx-3.2.1'
make: *** [all-recursive-am] 错误 2


make install
在运行make的时候,可能会失败,如果你得到错误信息如下:
(没有编译器cc或gcc)<哪位兄弟给找一下出错信息?我这里实在出不来>
以前没有编译过软件包吧?没关系,找出你的安装光盘,装上gcc的rpm,一般就在第一张盘上。也可以装上开发工具,这样以后编译什么软件包也方便。
有了编译器,还有可能出错的,因为ebf用了xlib的头文件,如果没装,就会:
MConn.c:32:22: X11/Xlib.h: No such file or directory
.....
make[1]: *** [IMConn.o] 错误 1
make[1]: Leaving directory `/home/liuyi/tmp/fcitx-1.8.2/IMdkit/lib'
make: *** [libXimd.a] 错误 2
[root@localhost fcitx-1.8.2]#
再找出光盘,装上XFree86的开发包(通常名为XFree86-devel),好了,现在不会有什么问题了(如果还有问题,反馈给我,我好补充进来)。
安装完了以后,可执行文件是/usr/bin/fcitx,数据文件在/usr/share/fcitx目录里面。

what can i do next step? i am a newcomer. thanks a lot.


"/usr/bin/ld:找不到 -lX11"  这一句说链接程序ld在/lib和/usr/lib和/usr/local/lib里找不到X11的库。所以不能继续。不知道你./configure通过了没有。
看看下面这个,应该对你很有帮助的

root@ubuntu:/home/fwolf/download/fcitx-3.1.1# make
make all-recursive
make[1]: Entering directory `/home/fwolf/download/fcitx-3.1.1′
Making all in doc
make[2]: Entering directory `/home/fwolf/download/fcitx-3.1.1/doc’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/home/fwolf/download/fcitx-3.1.1/doc’
Making all in tools
make[2]: Entering directory `/home/fwolf/download/fcitx-3.1.1/tools’
gcc -g -O2 -INONE -Wall -o mb2txt mb2txt.o -LNONE -lX11
[color="Red"]/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [mb2txt] Error 1
make[2]: Leaving directory `/home/fwolf/download/fcitx-3.1.1/tools’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fwolf/download/fcitx-3.1.1′
make: *** [all] Error 2
Seems “[color="Red"]cannot find -lX11″, so install libx11-dev, make again, error again :


/home/fwolf/download/fcitx-3.1.1/tools/txt2mb.c:115: undefined reference to `rpl_malloc’
txt2mb.o:/home/fwolf/download/fcitx-3.1.1/tools/txt2mb.c:121: more undefined references to `rpl_malloc’ follow
collect2: ld returned 1 exit status

Comment “#define malloc rpl_malloc” in config.h, then make again, done. About this error, see also here and here.

Command “make install” successful executed, run command “make clean” to remove binaries and object file wile make, and “make distclean” to also remove file created by ./configure.
回复 支持 反对

使用道具 举报

发表于 2006-10-23 10:31:16 | 显示全部楼层
locale
得到的结果应该是:
[tram@~]$ locale
LANG=zh_CN.gbk
LC_CTYPE="zh_CN.gbk"
LC_NUMERIC="zh_CN.gbk"
LC_TIME="zh_CN.gbk"
LC_COLLATE="zh_CN.gbk"
LC_MONETARY="zh_CN.gbk"
LC_MESSAGES="zh_CN.gbk"
LC_PAPER="zh_CN.gbk"
LC_NAME="zh_CN.gbk"
LC_ADDRESS="zh_CN.gbk"
LC_TELEPHONE="zh_CN.gbk"
LC_MEASUREMENT="zh_CN.gbk"
LC_IDENTIFICATION="zh_CN.gbk"
LC_ALL=zh_CN.gbk
[tram@~]$
再看看XMODIFIERS:
echo $XMODIFIERS
得到的结果应该是:
[tram@~]$ echo $XMODIFIERS


@im=fcitx


都是正确的,为什么还是不能切换到fcitx呢??
请指教一下
我用的是ret hat enterprose
回复 支持 反对

使用道具 举报

发表于 2007-3-27 14:12:14 | 显示全部楼层
真是好贴,很 感谢,又救了我一命哈。。。。。感谢感谢。。。。
回复 支持 反对

使用道具 举报

发表于 2009-4-4 19:38:41 | 显示全部楼层
感谢阿,呵呵,搞定了
回复 支持 反对

使用道具 举报

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

本版积分规则

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