安装fcitx3.6编译错误

系统字体配置、中文显示和输入法问题
回复
muye0503
帖子: 9
注册时间: 2009-08-10 0:08

安装fcitx3.6编译错误

#1

帖子 muye0503 » 2009-08-10 0:13

yan@yan-laptop:~/source/fcitx-3.6$ ./configure -prefix=/home/yan/share/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking for sys/wait.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking for X... libraries , headers
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XFT... yes
checking for pid_t... yes
checking for size_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fcitx.spec
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating xpm/Makefile
config.status: creating lib/Makefile
config.status: creating src/version.h
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands
yan@yan-laptop:~/source/fcitx-3.6$ make
make all-recursive
make[1]: 正在进入目录 `/home/yan/source/fcitx-3.6'
Making all in doc
make[2]: 正在进入目录 `/home/yan/source/fcitx-3.6/doc'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/yan/source/fcitx-3.6/doc'
Making all in xpm
make[2]: 正在进入目录 `/home/yan/source/fcitx-3.6/xpm'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/yan/source/fcitx-3.6/xpm'
Making all in lib
make[2]: 正在进入目录 `/home/yan/source/fcitx-3.6/lib'
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT FrameMgr.o -MD -MP -MF .deps/FrameMgr.Tpo -c -o FrameMgr.o FrameMgr.c
mv -f .deps/FrameMgr.Tpo .deps/FrameMgr.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT i18nAttr.o -MD -MP -MF .deps/i18nAttr.Tpo -c -o i18nAttr.o i18nAttr.c
i18nAttr.c:78: 警告: 将一个指针转换为大小不同的整数
i18nAttr.c:86: 警告: 将一个指针转换为大小不同的整数
i18nAttr.c:86: 警告: 将一个指针转换为大小不同的整数
mv -f .deps/i18nAttr.Tpo .deps/i18nAttr.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT i18nClbk.o -MD -MP -MF .deps/i18nClbk.Tpo -c -o i18nClbk.o i18nClbk.c
mv -f .deps/i18nClbk.Tpo .deps/i18nClbk.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT i18nIc.o -MD -MP -MF .deps/i18nIc.Tpo -c -o i18nIc.o i18nIc.c
mv -f .deps/i18nIc.Tpo .deps/i18nIc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT i18nIMProto.o -MD -MP -MF .deps/i18nIMProto.Tpo -c -o i18nIMProto.o i18nIMProto.c
mv -f .deps/i18nIMProto.Tpo .deps/i18nIMProto.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT i18nMethod.o -MD -MP -MF .deps/i18nMethod.Tpo -c -o i18nMethod.o i18nMethod.c
mv -f .deps/i18nMethod.Tpo .deps/i18nMethod.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT i18nPtHdr.o -MD -MP -MF .deps/i18nPtHdr.Tpo -c -o i18nPtHdr.o i18nPtHdr.c
mv -f .deps/i18nPtHdr.Tpo .deps/i18nPtHdr.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT i18nUtil.o -MD -MP -MF .deps/i18nUtil.Tpo -c -o i18nUtil.o i18nUtil.c
mv -f .deps/i18nUtil.Tpo .deps/i18nUtil.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT i18nX.o -MD -MP -MF .deps/i18nX.Tpo -c -o i18nX.o i18nX.c
mv -f .deps/i18nX.Tpo .deps/i18nX.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT IMConn.o -MD -MP -MF .deps/IMConn.Tpo -c -o IMConn.o IMConn.c
mv -f .deps/IMConn.Tpo .deps/IMConn.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT IMMethod.o -MD -MP -MF .deps/IMMethod.Tpo -c -o IMMethod.o IMMethod.c
mv -f .deps/IMMethod.Tpo .deps/IMMethod.Po
gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT IMValues.o -MD -MP -MF .deps/IMValues.Tpo -c -o IMValues.o IMValues.c
mv -f .deps/IMValues.Tpo .deps/IMValues.Po
rm -f libXimd.a
ar cru libXimd.a FrameMgr.o i18nAttr.o i18nClbk.o i18nIc.o i18nIMProto.o i18nMethod.o i18nPtHdr.o i18nUtil.o i18nX.o IMConn.o IMMethod.o IMValues.o
ranlib libXimd.a
make[2]:正在离开目录 `/home/yan/source/fcitx-3.6/lib'
Making all in src
make[2]: 正在进入目录 `/home/yan/source/fcitx-3.6/src'
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT IC.o -MD -MP -MF .deps/IC.Tpo -c -o IC.o IC.c
mv -f .deps/IC.Tpo .deps/IC.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT ime.o -MD -MP -MF .deps/ime.Tpo -c -o ime.o ime.c
mv -f .deps/ime.Tpo .deps/ime.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT InputWindow.o -MD -MP -MF .deps/InputWindow.Tpo -c -o InputWindow.o InputWindow.c
mv -f .deps/InputWindow.Tpo .deps/InputWindow.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT KeyList.o -MD -MP -MF .deps/KeyList.Tpo -c -o KeyList.o KeyList.c
mv -f .deps/KeyList.Tpo .deps/KeyList.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT MainWindow.o -MD -MP -MF .deps/MainWindow.Tpo -c -o MainWindow.o MainWindow.c
mv -f .deps/MainWindow.Tpo .deps/MainWindow.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT MyErrorsHandlers.o -MD -MP -MF .deps/MyErrorsHandlers.Tpo -c -o MyErrorsHandlers.o MyErrorsHandlers.c
mv -f .deps/MyErrorsHandlers.Tpo .deps/MyErrorsHandlers.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT punc.o -MD -MP -MF .deps/punc.Tpo -c -o punc.o punc.c
mv -f .deps/punc.Tpo .deps/punc.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT py.o -MD -MP -MF .deps/py.Tpo -c -o py.o py.c
py.c: 在函数‘LoadPYBaseDict’中:
py.c:147: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:150: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:153: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:156: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:158: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c: 在函数‘LoadPYOtherDict’中:
py.c:222: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:224: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:227: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:229: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:261: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:263: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:266: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:268: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:272: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:292: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:296: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:297: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:298: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:299: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:300: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:329: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:336: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:337: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:346: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:348: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:350: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c:352: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
py.c: 在函数‘SavePYUserPhrase’中:
py.c:2540: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2541: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2542: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2546: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2547: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2548: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2550: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2552: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c: 在函数‘SavePYFreq’中:
py.c:2596: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2600: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2602: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2605: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2607: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2609: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2611: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c: 在函数‘SavePYIndex’中:
py.c:2651: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2658: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2659: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2660: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2662: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2664: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2677: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2678: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2679: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2681: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
py.c:2683: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
mv -f .deps/py.Tpo .deps/py.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT PYFA.o -MD -MP -MF .deps/PYFA.Tpo -c -o PYFA.o PYFA.c
mv -f .deps/PYFA.Tpo .deps/PYFA.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT pyMapTable.o -MD -MP -MF .deps/pyMapTable.Tpo -c -o pyMapTable.o pyMapTable.c
mv -f .deps/pyMapTable.Tpo .deps/pyMapTable.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT pyParser.o -MD -MP -MF .deps/pyParser.Tpo -c -o pyParser.o pyParser.c
mv -f .deps/pyParser.Tpo .deps/pyParser.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT sp.o -MD -MP -MF .deps/sp.Tpo -c -o sp.o sp.c
mv -f .deps/sp.Tpo .deps/sp.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT tools.o -MD -MP -MF .deps/tools.Tpo -c -o tools.o tools.c
tools.c: 在函数‘ConvertGBKSimple2Tradition’中:
tools.c:1796: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
mv -f .deps/tools.Tpo .deps/tools.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT ui.o -MD -MP -MF .deps/ui.Tpo -c -o ui.o ui.c
mv -f .deps/ui.Tpo .deps/ui.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT table.o -MD -MP -MF .deps/table.Tpo -c -o table.o table.c
table.c: 在函数‘LoadTableDict’中:
table.c:375: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:377: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:379: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:383: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:394: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:401: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:405: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:407: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:409: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:414: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:415: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:418: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:419: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:420: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:428: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:435: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:436: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:437: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:445: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:451: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:452: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:539: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:544: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:545: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c:546: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
table.c: 在函数‘SaveTableDict’中:
table.c:706: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:707: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:710: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:711: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:712: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:713: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:715: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:716: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:718: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:721: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:722: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:724: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:725: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:726: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:731: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:734: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:741: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:742: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:749: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:750: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:751: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:789: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:791: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:792: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
table.c:794: 警告: 忽略声明有 warn_unused_result 属性的‘fwrite’的返回值
mv -f .deps/table.Tpo .deps/table.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT xim.o -MD -MP -MF .deps/xim.Tpo -c -o xim.o xim.c
mv -f .deps/xim.Tpo .deps/xim.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT qw.o -MD -MP -MF .deps/qw.Tpo -c -o qw.o qw.c
mv -f .deps/qw.Tpo .deps/qw.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT tray.o -MD -MP -MF .deps/tray.Tpo -c -o tray.o tray.c
mv -f .deps/tray.Tpo .deps/tray.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT TrayWindow.o -MD -MP -MF .deps/TrayWindow.Tpo -c -o TrayWindow.o TrayWindow.c
mv -f .deps/TrayWindow.Tpo .deps/TrayWindow.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT vk.o -MD -MP -MF .deps/vk.Tpo -c -o vk.o vk.c
mv -f .deps/vk.Tpo .deps/vk.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT about.o -MD -MP -MF .deps/about.Tpo -c -o about.o about.c
mv -f .deps/about.Tpo .deps/about.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT QuickPhrase.o -MD -MP -MF .deps/QuickPhrase.Tpo -c -o QuickPhrase.o QuickPhrase.c
mv -f .deps/QuickPhrase.Tpo .deps/QuickPhrase.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT AutoEng.o -MD -MP -MF .deps/AutoEng.Tpo -c -o AutoEng.o AutoEng.c
AutoEng.c: 在函数‘LoadAutoEng’中:
AutoEng.c:61: 警告: 忽略声明有 warn_unused_result 属性的‘fscanf’的返回值
mv -f .deps/AutoEng.Tpo .deps/AutoEng.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT extra.o -MD -MP -MF .deps/extra.Tpo -c -o extra.o extra.c
mv -f .deps/extra.Tpo .deps/extra.Po
gcc -DPKGDATADIR=\"/home/yan/share/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -MT internalVersion.o -MD -MP -MF .deps/internalVersion.Tpo -c -o internalVersion.o internalVersion.c
mv -f .deps/internalVersion.Tpo .deps/internalVersion.Po
gcc -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -I/usr/include/freetype2 -D_USE_XFT -Wall -lXpm -lXtst -o fcitx IC.o ime.o InputWindow.o KeyList.o main.o MainWindow.o MyErrorsHandlers.o punc.o py.o PYFA.o pyMapTable.o pyParser.o sp.o tools.o ui.o table.o xim.o qw.o tray.o TrayWindow.o vk.o about.o QuickPhrase.o AutoEng.o extra.o internalVersion.o ../lib/libXimd.a -lXft -lX11
/usr/bin/ld: cannot find -lXtst
collect2: ld 返回 1
make[2]: *** [fcitx] 错误 1
make[2]:正在离开目录 `/home/yan/source/fcitx-3.6/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/yan/source/fcitx-3.6'
make: *** [all] 错误 2

什么原因啊?
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 安装fcitx3.6编译错误

#2

帖子 wangdu2002 » 2009-08-10 0:19

./configure -prefix=/home/yan/share/
应该是./configure --prefix=/usr吧。
更详细的问下alpha.pu,Fcitx的最新deb最他打的,他肯定编译正常,否则deb怎么打得出来,估计你少了不少库。 :em04
viewtopic.php?f=8&t=192737#由Alpha.pu打的F ... 置im-switch
一般情况下,Ubuntu里总是有AR PL UMing CN这样的中文字体的,把配置文件中的*号改成这个字体就行了,重启X生效。为避免冲突,最好卸了scim。
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
lovepg
帖子: 47
注册时间: 2009-07-30 12:28

Re: 安装fcitx3.6编译错误

#3

帖子 lovepg » 2009-08-10 12:16

/usr/bin/ld: cannot find -lXtst

缺少 库 libXtst.so,
装这个libxtst6包
回复