LinuxSir.cn,穿越时空的Linuxsir!

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

what's the wrong?can't to make fcitx...

[复制链接]
发表于 2004-3-17 06:19:29 | 显示全部楼层 |阅读模式
[06:18:32|root@debian:~/tmp/fcitx-2.0.1]# make clean
rm -f *.o fcitx fcitx.noxft
cd IMdkit/lib; make clean
make[1]: Entering directory `/root/tmp/fcitx-2.0.1/IMdkit/lib'
rm -f libXimd.a *.o *.bak
make[1]: Leaving directory `/root/tmp/fcitx-2.0.1/IMdkit/lib'
[06:18:37|root@debian:~/tmp/fcitx-2.0.1]# make
cd IMdkit/lib; make
make[1]: Entering directory `/root/tmp/fcitx-2.0.1/IMdkit/lib'
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include IMConn.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include IMValues.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include IMMethod.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include FrameMgr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nIMProto.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nAttr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nMethod.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nUtil.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nPtHdr.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nIc.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nClbk.c
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include i18nX.c
ar clq libXimd.a IMConn.o IMValues.o IMMethod.o FrameMgr.o i18nIMProto.o i18nAttr.o i18nMethod.o i18nUtil.o i18nPtHdr.o i18nIc.o i18nClbk.o i18nX.o
ranlib libXimd.a
make[1]: Leaving directory `/root/tmp/fcitx-2.0.1/IMdkit/lib'
gcc -c -O2 -fno-strength-reduce -Wall -D_USE_XFT `xft-config --cflags` IC.c
gcc -c -O2 -fno-strength-reduce -Wall -D_USE_XFT `xft-config --cflags` py.c
gcc -c -O2 -fno-strength-reduce -Wall -D_USE_XFT `xft-config --cflags` ime.c
gcc -c -O2 -fno-strength-reduce -Wall -D_USE_XFT `xft-config --cflags` InputWindow.c
InputWindow.c:6:22: ft2build.h: 没有那个文件或目录
In file included from InputWindow.c:7:
/usr/X11R6/include/X11/Xft/Xft.h:41:22: ft2build.h: 没有那个文件或目录
/usr/X11R6/include/X11/Xft/Xft.h:42:10: #include expects "FILENAME" or <FILENAME>
/usr/X11R6/include/X11/Xft/Xft.h:43:35: fontconfig/fontconfig.h: 没有那个文件或 目录
In file included from /usr/X11R6/include/X11/Xft/Xft.h:50,
                 from InputWindow.c:7:
/usr/X11R6/include/X11/Xft/XftCompat.h:33: error: parse error before "XftChar8"
/usr/X11R6/include/X11/Xft/XftCompat.h:33: warning: type defaults to `int' in declaration of `XftChar8'
/usr/X11R6/include/X11/Xft/XftCompat.h:33: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:34: error: parse error before "XftChar16"/usr/X11R6/include/X11/Xft/XftCompat.h:34: warning: type defaults to `int' in declaration of `XftChar16'
/usr/X11R6/include/X11/Xft/XftCompat.h:34: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:35: error: parse error before "XftChar32"/usr/X11R6/include/X11/Xft/XftCompat.h:35: warning: type defaults to `int' in declaration of `XftChar32'
/usr/X11R6/include/X11/Xft/XftCompat.h:35: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:89: error: parse error before "XftType"
/usr/X11R6/include/X11/Xft/XftCompat.h:89: warning: type defaults to `int' in declaration of `XftType'
/usr/X11R6/include/X11/Xft/XftCompat.h:89: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:91: error: parse error before "XftMatrix"/usr/X11R6/include/X11/Xft/XftCompat.h:91: warning: type defaults to `int' in declaration of `XftMatrix'
/usr/X11R6/include/X11/Xft/XftCompat.h:91: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:95: error: parse error before "XftResult"/usr/X11R6/include/X11/Xft/XftCompat.h:95: warning: type defaults to `int' in declaration of `XftResult'
/usr/X11R6/include/X11/Xft/XftCompat.h:95: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:102: error: parse error before "XftValue"/usr/X11R6/include/X11/Xft/XftCompat.h:102: warning: type defaults to `int' in declaration of `XftValue'
/usr/X11R6/include/X11/Xft/XftCompat.h:102: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:103: error: parse error before "XftPattern"
/usr/X11R6/include/X11/Xft/XftCompat.h:103: warning: type defaults to `int' in declaration of `XftPattern'
/usr/X11R6/include/X11/Xft/XftCompat.h:103: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:104: error: parse error before "XftFontSet"
/usr/X11R6/include/X11/Xft/XftCompat.h:104: warning: type defaults to `int' in declaration of `XftFontSet'
/usr/X11R6/include/X11/Xft/XftCompat.h:104: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:105: error: parse error before "XftObjectSet"
/usr/X11R6/include/X11/Xft/XftCompat.h:105: warning: type defaults to `int' in declaration of `XftObjectSet'
/usr/X11R6/include/X11/Xft/XftCompat.h:105: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftCompat.h:163: error: parse error before "XftNameUnparse"
/usr/X11R6/include/X11/Xft/XftCompat.h:163: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/XftCompat.h:163: warning: type defaults to `int' in declaration of `XftNameUnparse'
/usr/X11R6/include/X11/Xft/XftCompat.h:163: warning: data definition has no type or storage class
In file included from InputWindow.c:7:
/usr/X11R6/include/X11/Xft/Xft.h:59: error: parse error before "_XftFTlibrary"
/usr/X11R6/include/X11/Xft/Xft.h:59: warning: type defaults to `int' in declaration of `_XftFTlibrary'
/usr/X11R6/include/X11/Xft/Xft.h:59: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:68: error: parse error before "FcCharSet"
/usr/X11R6/include/X11/Xft/Xft.h:68: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:69: warning: type defaults to `int' in declaration of `pattern'
/usr/X11R6/include/X11/Xft/Xft.h:69: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:70: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:70: warning: type defaults to `int' in declaration of `XftFont'
/usr/X11R6/include/X11/Xft/Xft.h:70: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:80: error: parse error before "FcChar32"
/usr/X11R6/include/X11/Xft/Xft.h:80: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:83: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:83: warning: type defaults to `int' in declaration of `XftCharSpec'
/usr/X11R6/include/X11/Xft/Xft.h:83: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:86: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:86: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:87: warning: type defaults to `int' in declaration of `ucs4'
/usr/X11R6/include/X11/Xft/Xft.h:87: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:90: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:90: warning: type defaults to `int' in declaration of `XftCharFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:90: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:93: error: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:93: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:96: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: type defaults to `int' in declaration of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:99: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:99: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:100: warning: type defaults to `int' in declaration of `glyph'
/usr/X11R6/include/X11/Xft/Xft.h:100: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:103: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:103: warning: type defaults to `int' in declaration of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:103: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:134: error: parse error before "XftDirScan"
/usr/X11R6/include/X11/Xft/Xft.h:134: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:134: warning: type defaults to `int' in declaration of `XftDirScan'
/usr/X11R6/include/X11/Xft/Xft.h:134: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:137: error: parse error before "XftDirSave"
/usr/X11R6/include/X11/Xft/Xft.h:137: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:137: warning: type defaults to `int' in declaration of `XftDirSave'
/usr/X11R6/include/X11/Xft/Xft.h:137: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:144: error: parse error before "FcPattern"
/usr/X11R6/include/X11/Xft/Xft.h:147: error: parse error before "FcPattern"
/usr/X11R6/include/X11/Xft/Xft.h:194: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:203: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:212: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:221: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:230: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:239: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:249: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:256: warning: type defaults to `int' in declaration of `XftCharFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:256: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:262: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:269: warning: type defaults to `int' in declaration of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:269: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:301: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:308: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:315: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:322: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:329: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:336: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:343: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:346: warning: type defaults to `int' in declaration of `FcPattern'
/usr/X11R6/include/X11/Xft/Xft.h:346: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:347: warning: type defaults to `int' in declaration of `XftFontMatch'
/usr/X11R6/include/X11/Xft/Xft.h:347: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:349: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:350: warning: type defaults to `int' in declaration of `XftFontOpen'
/usr/X11R6/include/X11/Xft/Xft.h:350: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:352: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:353: warning: type defaults to `int' in declaration of `XftFontOpenName'
/usr/X11R6/include/X11/Xft/Xft.h:353: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:355: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:356: warning: type defaults to `int' in declaration of `XftFontOpenXlfd'
/usr/X11R6/include/X11/Xft/Xft.h:356: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:361: error: parse error before "XftLockFace"
/usr/X11R6/include/X11/Xft/Xft.h:361: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:361: warning: type defaults to `int' in declaration of `XftLockFace'
/usr/X11R6/include/X11/Xft/Xft.h:361: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:364: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:367: warning: type defaults to `int' in declaration of `FcPattern'
/usr/X11R6/include/X11/Xft/Xft.h:367: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:373: error: parse error before "XftFontInfoHash"
/usr/X11R6/include/X11/Xft/Xft.h:373: warning: type defaults to `int' in declaration of `XftFontInfoHash'
/usr/X11R6/include/X11/Xft/Xft.h:373: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:376: error: parse error before "XftFontInfoEqual"
/usr/X11R6/include/X11/Xft/Xft.h:376: warning: type defaults to `int' in declaration of `XftFontInfoEqual'
/usr/X11R6/include/X11/Xft/Xft.h:376: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:378: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:380: error: parse error before "FcPattern"
/usr/X11R6/include/X11/Xft/Xft.h:381: warning: type defaults to `int' in declaration of `XftFontOpenInfo'
/usr/X11R6/include/X11/Xft/Xft.h:381: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:383: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:384: error: parse error before "FcPattern"
/usr/X11R6/include/X11/Xft/Xft.h:384: warning: type defaults to `int' in declaration of `XftFontOpenPattern'
/usr/X11R6/include/X11/Xft/Xft.h:384: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:386: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:387: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:387: warning: type defaults to `int' in declaration of `XftFontCopy'
/usr/X11R6/include/X11/Xft/Xft.h:387: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:390: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:393: error: parse error before "XftInitFtLibrary"
/usr/X11R6/include/X11/Xft/Xft.h:393: warning: type defaults to `int' in declaration of `XftInitFtLibrary'
/usr/X11R6/include/X11/Xft/Xft.h:393: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:398: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:405: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:412: error: parse error before "XftFontCheckGlyph"
/usr/X11R6/include/X11/Xft/Xft.h:413: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:417: warning: type defaults to `int' in declaration of `XftFontCheckGlyph'
/usr/X11R6/include/X11/Xft/Xft.h:417: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:420: error: parse error before "XftCharExists"
/usr/X11R6/include/X11/Xft/Xft.h:421: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:422: warning: type defaults to `int' in declaration of `XftCharExists'
/usr/X11R6/include/X11/Xft/Xft.h:422: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:425: error: parse error before "XftCharIndex"
/usr/X11R6/include/X11/Xft/Xft.h:426: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:427: warning: type defaults to `int' in declaration of `XftCharIndex'
/usr/X11R6/include/X11/Xft/Xft.h:427: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:433: error: parse error before "XftInit"
/usr/X11R6/include/X11/Xft/Xft.h:433: warning: type defaults to `int' in declaration of `XftInit'
/usr/X11R6/include/X11/Xft/Xft.h:433: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:442: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:445: warning: type defaults to `int' in declaration of `XftListFonts'
/usr/X11R6/include/X11/Xft/Xft.h:445: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:453: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:453: warning: type defaults to `int' in declaration of `XftNameParse'
/usr/X11R6/include/X11/Xft/Xft.h:453: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:462: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:475: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:486: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:500: warning: type defaults to `int' in declaration of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:500: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:510: warning: type defaults to `int' in declaration of `XftCharFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:510: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:517: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:530: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:543: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:556: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:569: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:582: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:595: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:608: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:621: error: parse error before "XftFont"
/usr/X11R6/include/X11/Xft/Xft.h:634: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:635: warning: type defaults to `int' in declaration of `XftXlfdParse'
/usr/X11R6/include/X11/Xft/Xft.h:635: warning: data definition has no type or storage class
InputWindow.c:62: error: parse error before '*' token
InputWindow.c:62: warning: type defaults to `int' in declaration of `xftFont'
InputWindow.c:62: warning: data definition has no type or storage class
make: *** [InputWindow.o] 错误 1
[06:18:49|root@debian:~/tmp/fcitx-2.0.1]#
 楼主| 发表于 2004-3-17 06:23:27 | 显示全部楼层
i had installed the deb package(my os is debian),but i can't use it ,the logo isn't display!

so,i uninstall the fcitx's deb package,and download the src packagte to make && make install

please help me
发表于 2004-3-18 00:49:34 | 显示全部楼层
也许选择使用 noxft 那么 Makefile 会可以。

现在有一个 autoconf 的版本,在其他帖子上有链接。

另外,如果运行的时候看不到窗口,是不是因为 .fcitx/config 文件里面选择了隐藏主窗口(好像 2.0.1 是默认隐藏主窗口的)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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