LinuxSir.cn,穿越时空的Linuxsir!

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

emerge fcitx failed in [genttoo],how to?

[复制链接]
发表于 2003-11-30 13:42:26 | 显示全部楼层 |阅读模式
gcc -O2 -fno-strength-reduce -D_USE_XFT -L/usr/X11R6/lib -lX11 `xft-config --libs` main.o ime.o KeyList.o AddPhraseWindow.o IC.o InputWindow.o MainWindow.o MyErrorsHandlers.o punc.o py.o PYFA.o pyParser.o pyMapTable.o SetLocale.o tools.o wbx.o window.o xim.o qw.o sp.o py-2.o IMdkit/lib/libXimd.a -o fcitx
window.o(.text+0x38c): In function `CreateFont':
: undefined reference to `FcPatternCreate'
window.o(.text+0x3a6): In function `CreateFont':
: undefined reference to `FcPatternAddString'
window.o(.text+0x3ca): In function `CreateFont':
: undefined reference to `FcPatternAddInteger'
window.o(.text+0x3ef): In function `CreateFont':
: undefined reference to `FcPatternAddBool'
window.o(.text+0x4d0): In function `CreateFont':
: undefined reference to `FcPatternDestroy'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetBool'
/usr/X11R6/lib/libXft.so: undefined reference to `FcFreeTypeCharSet'
/usr/X11R6/lib/libXft.so: undefined reference to `FcNameUnparse'
/usr/X11R6/lib/libXft.so: undefined reference to `FcNameConstant'
/usr/X11R6/lib/libXft.so: undefined reference to `FcObjectSetDestroy'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternDuplicate'
/usr/X11R6/lib/libXft.so: undefined reference to `FcCharSetHasChar'
/usr/X11R6/lib/libXft.so: undefined reference to `FcFontList'
/usr/X11R6/lib/libXft.so: undefined reference to `FcUtf16ToUcs4'
/usr/X11R6/lib/libXft.so: undefined reference to `FcUtf8ToUcs4'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternVaBuild'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetDouble'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetString'
/usr/X11R6/lib/libXft.so: undefined reference to `FcInit'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetInteger'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetCharSet'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGet'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternAddDouble'
/usr/X11R6/lib/libXft.so: undefined reference to `FcConfigSubstitute'
/usr/X11R6/lib/libXft.so: undefined reference to `FcObjectSetCreate'
/usr/X11R6/lib/libXft.so: undefined reference to `FcCharSetCount'
/usr/X11R6/lib/libXft.so: undefined reference to `FcNameRegisterObjectTypes'
/usr/X11R6/lib/libXft.so: undefined reference to `FcObjectSetAdd'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternAdd'
/usr/X11R6/lib/libXft.so: undefined reference to `FcStrCmpIgnoreCase'
/usr/X11R6/lib/libXft.so: undefined reference to `FcConfigGetBlanks'
/usr/X11R6/lib/libXft.so: undefined reference to `FcFreeTypeCharIndex'
/usr/X11R6/lib/libXft.so: undefined reference to `FcNameParse'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetFTFace'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetMatrix'
/usr/X11R6/lib/libXft.so: undefined reference to `FcPatternPrint'
/usr/X11R6/lib/libXft.so: undefined reference to `FcFontMatch'
/usr/X11R6/lib/libXft.so: undefined reference to `FcDefaultSubstitute'
collect2: ld returned 1 exit status
make: *** [fcitx] 错误 1

!!! ERROR: app-i18n/fcitx-1.8.5 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! xft make failed
发表于 2003-12-1 08:30:43 | 显示全部楼层
这个据说是XFT的问题,考虑自己编译一个新的fontconfig试试
 楼主| 发表于 2003-12-1 17:38:17 | 显示全部楼层
USE='-truetype' emerge fcitx
编译成功了
就是字体方面还有一点问题
在~/.gWubi/profile中字体只能设为 *
设成其他的输入条上不显示汉字,但是可以输入
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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