Can't go through of compiling fcitx-3.4.1 ! who can help?

系统字体配置、中文显示和输入法问题
回复
windtrue
帖子: 68
注册时间: 2006-01-08 19:24
来自: 广州
送出感谢: 0
接收感谢: 0
联系:

Can't go through of compiling fcitx-3.4.1 ! who can help?

#1

帖子 windtrue » 2006-11-06 15:50

Good afternoon everyone.
Well,in my Ubuntu 6.10 + Beryl,I had installed fcitx-3.3.1 by apt-get,but it can't works well such as it can not displays the Wubi or Pinyin some characters.So I downloaded fcitx-3.4.1 from fcitx offical site and compiled it(after uninstall fcitx-3.3.1).After configure it,I did sudo make it and got the follow errors:
finki@finki-desktop:~/fcitx-3.4.1$ sudo make
make all-recursive
make[1]: Entering directory `/home/finki/fcitx-3.4.1'
Making all in doc
make[2]: Entering directory `/home/finki/fcitx-3.4.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/finki/fcitx-3.4.1/doc'
Making all in xpm
make[2]: Entering directory `/home/finki/fcitx-3.4.1/xpm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/finki/fcitx-3.4.1/xpm'
Making all in lib
make[2]: Entering directory `/home/finki/fcitx-3.4.1/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/finki/fcitx-3.4.1/lib'
Making all in src
make[2]: Entering directory `/home/finki/fcitx-3.4.1/src'
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT InputWindow.o -MD -MP -MF ".deps/InputWindow.Tpo" -c -o InputWindow.o InputWindow.c; \
then mv -f ".deps/InputWindow.Tpo" ".deps/InputWindow.Po"; else rm -f ".deps/InputWindow.Tpo"; exit 1; fi
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT tools.o -MD -MP -MF ".deps/tools.Tpo" -c -o tools.o tools.c; \
then mv -f ".deps/tools.Tpo" ".deps/tools.Po"; else rm -f ".deps/tools.Tpo"; exit 1; fi
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT about.o -MD -MP -MF ".deps/about.Tpo" -c -o about.o about.c; \
then mv -f ".deps/about.Tpo" ".deps/about.Po"; else rm -f ".deps/about.Tpo"; exit 1; fi
about.c:35:21: error: X11/xpm.h: No such file or directory
about.c: In function ‘setIcon’:
about.c:184: error: ‘XpmAttributes’ undeclared (first use in this function)
about.c:184: error: (Each undeclared identifier is reported only once
about.c:184: error: for each function it appears in.)
about.c:184: error: expected ‘;’ before ‘attrib’
about.c:189: error: ‘attrib’ undeclared (first use in this function)
about.c:190: warning: implicit declaration of function ‘XCreatePixmapFromData’
about.c:191: error: ‘XpmSuccess’ undeclared (first use in this function)
about.c:192: warning: implicit declaration of function ‘XpmGetErrorString’
about.c:192: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
make[2]: *** [about.o] Error 1
make[2]: Leaving directory `/home/finki/fcitx-3.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/finki/fcitx-3.4.1'
make: *** [all] Error 2
After this,I reinstalled fcitx-3.3.1 by apt-get and recompiled fcitx-3.4.1 again but I got the same errors above.
Any help will be appreciated.
wiseman
帖子: 27
注册时间: 2006-11-01 23:59
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 wiseman » 2006-11-07 22:59

到fcitx的网站上面去下载最新的编译好的版本就行了。
windtrue
帖子: 68
注册时间: 2006-01-08 19:24
来自: 广州
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 windtrue » 2006-11-08 16:39

wiseman 写了:到fcitx的网站上面去下载最新的编译好的版本就行了。
fcitx-3.4.1 is the newest stable version!
头像
dogfox
论坛版主
帖子: 5309
注册时间: 2006-09-02 14:18
来自: 汉桑城
送出感谢: 1 次
接收感谢: 1 次
联系:

#4

帖子 dogfox » 2006-11-08 16:51

windtrue 写了:
wiseman 写了:到fcitx的网站上面去下载最新的编译好的版本就行了。
fcitx-3.4.1 is the newest stable version!
1, sudo rm -rf fcitx-3.4.1

2,sudo apt-get remove scim

3,sudo apt-get update

4,sudo apt-get install fcitx

5,sudo reboot

6,ok!
全世界linux爱好者联合起来 !
一切闭源操作系统都是纸老虎 !
要斗私批修,拒绝黑屏,使用linux !
让一部分人先用起Archlinux来 !
linux是第一生产力 !
讲正气,讲开源,讲free
要坚定不移的走开源的道路 !
linux明天会更好 !

dpkg -l |grep ^rc|awk '{print $2}' |tr ["\n"] [" "]|sudo xargs dpkg -P -
ubuntu粉丝群 26660836 已满员
wiseman
帖子: 27
注册时间: 2006-11-01 23:59
送出感谢: 0
接收感谢: 0
联系:

#5

帖子 wiseman » 2006-11-08 16:55

dogfox 写了:
windtrue 写了:
wiseman 写了:到fcitx的网站上面去下载最新的编译好的版本就行了。
fcitx-3.4.1 is the newest stable version!

唉,我在说什么你都没有搞清楚,你自己先到fcitx上面的网站去看看好不好。。
回复

回到 “字体美化和中文支持”