emerge fcitx error[SOLVED]
时间:2009-10-05
来源:互联网
arch=amd64
fcitx 3.6.1 is masked, so I already edited /etc/portage/package.keywords
but when I run
I got this:
what's wrong?
看了一下 ebuild ,需要添加 USE 才能启用 xft ,禁用 xft 时编译会出错。
OK
fcitx 3.6.1 is masked, so I already edited /etc/portage/package.keywords
but when I run
代码:
emerge fcitx
引用:
x86_64-pc-linux-gnu-gcc -DPKGDATADIR=\"/usr/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -march=nocona -mtune=nocona -O2 -pipe -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT InputWindow.o -MD -MP -MF .deps/InputWindow.Tpo -c -o InputWindow.o InputWindow.c In file included from /usr/include/X11/Xft/Xft.h:39, from TrayWindow.h:6, from ime.c:42: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory In file included from TrayWindow.h:6, from ime.c:42: /usr/include/X11/Xft/Xft.h:40:10: error: #include expects "FILENAME" or <FILENAME> In file included from TrayWindow.h:6, from ime.c:42: /usr/include/X11/Xft/Xft.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_XftFTlibrary' /usr/include/X11/Xft/Xft.h:94: error: expected specifier-qualifier-list before 'FT_UInt' /usr/include/X11/Xft/Xft.h:101: error: expected specifier-qualifier-list before 'FT_UInt' /usr/include/X11/Xft/Xft.h:198: error: expected ';', ',' or ')' before '*' token /usr/include/X11/Xft/Xft.h:303: error: expected ';', ',' or ')' before '*' token /usr/include/X11/Xft/Xft.h:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XftLockFace' /usr/include/X11/Xft/Xft.h:401: error: expected ';', ',' or ')' before '*' token /usr/include/X11/Xft/Xft.h:407: error: expected ';', ',' or ')' before '*' token /usr/include/X11/Xft/Xft.h:416: error: expected declaration specifiers or '...' before 'FT_UInt' /usr/include/X11/Xft/Xft.h:417: error: expected declaration specifiers or '...' before 'FT_UInt' /usr/include/X11/Xft/Xft.h:426: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XftCharIndex' /usr/include/X11/Xft/Xft.h:459: error: expected ';', ',' or ')' before '*' token make[2]: *** [ime.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/InputWindow.Tpo .deps/InputWindow.Po mv -f .deps/IC.Tpo .deps/IC.Po make[2]: Leaving directory `/var/tmp/portage/app-i18n/fcitx-3.6.1/work/fcitx-3.6.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-i18n/fcitx-3.6.1/work/fcitx-3.6.1' make: *** [all] Error 2 * * ERROR: app-i18n/fcitx-3.6.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 176: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-i18n/fcitx-3.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/fcitx-3.6.1/temp/environment'. * >>> Failed to emerge app-i18n/fcitx-3.6.1, Log file: >>> '/var/tmp/portage/app-i18n/fcitx-3.6.1/temp/build.log' * Messages for package app-i18n/fcitx-3.6.1: * * ERROR: app-i18n/fcitx-3.6.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 176: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-i18n/fcitx-3.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/fcitx-3.6.1/temp/environment'. * |
看了一下 ebuild ,需要添加 USE 才能启用 xft ,禁用 xft 时编译会出错。
代码:
USE='xft' emerge fcitx
作者: pingz 发布时间: 2009-10-05
屏蔽版本本來就是沒有確保可以基本安裝……這個你去找作者提交Bug可能更有效率。
作者: 亞利艾爾 发布时间: 2009-10-05
It seems like something wrong with fcitx-3.6.1.ebuild
in build.log default configure like this:
I delete the --disable-xft and it works:
in build.log default configure like this:
代码:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-xft
代码:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
作者: pingz 发布时间: 2009-10-05
也许你应该在USE里添加xft
作者: xcxxb 发布时间: 2009-10-05
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28