LinuxSir.cn,穿越时空的Linuxsir!

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

我的二笔输入也搞好了

[复制链接]
发表于 2003-4-29 23:40:26 | 显示全部楼层 |阅读模式
感谢tram,

不过真是奇怪,我emerge -C xft了,并且升级了一下xfree4.3-r2(gentoo)
然后下载了二笔的源码,我试了试,make和make -f Makefile.xft都可以,有点纳闷。


btw,gentoo 的 xfree4.3-r2真不错,特别是她带的cursors,超酷!
发表于 2003-4-29 23:52:39 | 显示全部楼层
啊?没有xft也能用xft库?那字体是不是有点模糊呢?
Anyway,congratulations!
 楼主| 发表于 2003-4-29 23:59:57 | 显示全部楼层
horn# emerge xft
Calculating dependencies ...done!

!!! Error: the >=x11-base/xfree-4.3-r2 package conflicts with this package and both can't be installed on the same system together.


gentoo自己打了xft补丁??
不管怎样,以前总是不能安装,现在总算好了。
感谢大家!
发表于 2003-4-30 00:02:32 | 显示全部楼层
不是,因为xfree4.3里面已经有xft2了,我想可能是这个原因。
那个xft包可能是给xfree-4.2.1用的。
 楼主| 发表于 2003-4-30 00:08:27 | 显示全部楼层

好象连xft也没有加载

honr root # less /var/log/XFree86.0.log

...............

(II) LoadModule: "xft"
(WW) Warning, couldn't open module xft
(II) UnloadModule: "xft"
(EE) Failed to load module "xft" (module does not exist, 0)
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.4363

...................
 楼主| 发表于 2003-4-30 00:11:18 | 显示全部楼层
tram,
你的输入法真不错,
感谢你的工作。还有YuKing

准备学二笔:)
发表于 2003-4-30 00:11:24 | 显示全部楼层
你的XF86Config-4写错了吧,不用加载xft的。内部模块。
 楼主| 发表于 2003-4-30 00:32:39 | 显示全部楼层
不过真是奇怪,在用gentoo的xfree4.3-r1时,不管是小企鹅还是二笔都会出现下面的错误
(旧贴,见 http://www.linuxsir.cn/forum.php?mod=viewthread&tid=34418 ) ,
今天和朋友聊天,没事做就先emerge -C xfree xft。再emerge xfree,就是把xfree4.3-r1 升级xfree4.3-r2,其他什么都没做,然后无意中编译了一下二笔,结果顺利通过。
难道是gentoo 的xfree4.3-r1的问题??

honr fcitx-1.8.4 # make -f Makefile.xft
cd IMdkit/lib; make
make[1]: Entering directory `/root/fcitx-1.8.4/IMdkit/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/fcitx-1.8.4/IMdkit/lib'
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
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] Error 1
发表于 2003-4-30 01:40:40 | 显示全部楼层
初步想法,因为你以前xfree里没有装fontconfig。这个要另外装的。
 楼主| 发表于 2003-4-30 07:35:07 | 显示全部楼层
Yuking也是这样认为的,但是,我装了fontconfig的,
这次重新安装(升级)xfree,也只是编译了xfree包,
并没有去升级fontconfig:

honr root # emerge fontconfig -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild    U ] media-libs/fontconfig-2.2.0-r1 [2.2.0]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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