LinuxSir.cn,穿越时空的Linuxsir!

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

how to compile fcitx with xft2 under the Debian sid?

[复制链接]
发表于 2003-3-20 15:19:03 | 显示全部楼层 |阅读模式
  1. gcc -O2 -fno-strength-reduce -D_USE_XFT -L/usr/X11R6/lib -lX11 `xft-config --libs` main.o ime.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
  2. window.o(.text+0x2e4): In function `CreateFont':
  3. : undefined reference to `FcPatternCreate'
  4. window.o(.text+0x2f9): In function `CreateFont':
  5. : undefined reference to `FcPatternAddString'
  6. window.o(.text+0x309): In function `CreateFont':
  7. : undefined reference to `FcPatternAddInteger'
  8. window.o(.text+0x327): In function `CreateFont':
  9. : undefined reference to `FcPatternAddBool'
  10. window.o(.text+0x3e4): In function `CreateFont':
  11. : undefined reference to `FcPatternDestroy'
  12. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetBool'
  13. /usr/X11R6/lib/libXft.so: undefined reference to `FcFreeTypeCharSet'
  14. /usr/X11R6/lib/libXft.so: undefined reference to `FcNameUnparse'
  15. /usr/X11R6/lib/libXft.so: undefined reference to `FcNameConstant'
  16. /usr/X11R6/lib/libXft.so: undefined reference to `FcObjectSetDestroy'
  17. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternDuplicate'
  18. /usr/X11R6/lib/libXft.so: undefined reference to `FcCharSetHasChar'
  19. /usr/X11R6/lib/libXft.so: undefined reference to `FcFontList'
  20. /usr/X11R6/lib/libXft.so: undefined reference to `FcUtf16ToUcs4'
  21. /usr/X11R6/lib/libXft.so: undefined reference to `FcUtf8ToUcs4'
  22. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternVaBuild'
  23. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetDouble'
  24. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetString'
  25. /usr/X11R6/lib/libXft.so: undefined reference to `FcInit'
  26. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetInteger'
  27. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetCharSet'
  28. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGet'
  29. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternAddDouble'
  30. /usr/X11R6/lib/libXft.so: undefined reference to `FcConfigSubstitute'
  31. /usr/X11R6/lib/libXft.so: undefined reference to `FcObjectSetCreate'
  32. /usr/X11R6/lib/libXft.so: undefined reference to `FcCharSetCount'
  33. /usr/X11R6/lib/libXft.so: undefined reference to `FcNameRegisterObjectTypes'
  34. /usr/X11R6/lib/libXft.so: undefined reference to `FcObjectSetAdd'
  35. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternAdd'
  36. /usr/X11R6/lib/libXft.so: undefined reference to `FcStrCmpIgnoreCase'
  37. /usr/X11R6/lib/libXft.so: undefined reference to `FcConfigGetBlanks'
  38. /usr/X11R6/lib/libXft.so: undefined reference to `FcFreeTypeCharIndex'
  39. /usr/X11R6/lib/libXft.so: undefined reference to `FcNameParse'
  40. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetFTFace'
  41. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternGetMatrix'
  42. /usr/X11R6/lib/libXft.so: undefined reference to `FcPatternPrint'
  43. /usr/X11R6/lib/libXft.so: undefined reference to `FcFontMatch'
  44. /usr/X11R6/lib/libXft.so: undefined reference to `FcDefaultSubstitute'
  45. collect2: ld returned 1 exit status
  46. make: *** [fcitx] 错误 1
复制代码


if I use "make" to compile it, it works,but I can't input chinese in the mozilla-xft-1.3.

Any ideas?
发表于 2003-3-20 17:42:42 | 显示全部楼层
1. did you install those devel packages properly?

2. update to 1.3-3, then you could use XIM
发表于 2003-3-21 08:59:27 | 显示全部楼层

--

象是没有安装freetype或fontconfig
 楼主| 发表于 2003-3-21 14:05:51 | 显示全部楼层
to carlos
1.libxft-dev装了
2.是的,现在已经可以用xsim了。
to Yuking
不可能,我只用freetype,不用xtt之类的。fontconfig更是不用说了,xfree86 4.3的包我基本装全了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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