|
楼主 |
发表于 2011-1-17 10:10:30
|
显示全部楼层
kist中的该ebuild有些问题,inherit中添加python
否则python_set_active_version 2会出现commond not found
其次,还是编译不过
提示找不到gdkprivate-x11.h- g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC --silent gcc -o /var/tmp/portage/dev-libs/gir-repository-0.6.5-r1/work/gir-repository-0.6.5/gir/tmp-introspectU29SI4/PangoX-1.0 -export-dynamic -march=native -O2 -pipe -L. -lpangox-1.0 -pthread -lgio-2.0 -lfreetype -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /var/tmp/portage/dev-libs/gir-repository-0.6.5-r1/work/gir-repository-0.6.5/gir/tmp-introspectU29SI4/PangoX-1.0.o
- In file included from <stdin>:38:0:
- /usr/include/gtk-2.0/gdk/gdkx.h:84:28: fatal error: gdkprivate-x11.h: No such file or directory
- compilation terminated.
- Error while processing the source.
- make[2]: *** [Gdk-2.0.gir] Error 1
- make[2]: *** Waiting for unfinished jobs....
- g-ir-scanner: PangoCairo: warning: 9 warnings suppressed (use --warn-all to see them)
- g-ir-scanner: PangoX: warning: 14 warnings suppressed (use --warn-all to see them)
- make[2]: Leaving directory `/var/tmp/portage/dev-libs/gir-repository-0.6.5-r1/work/gir-repository-0.6.5/gir'
- make[1]: *** [all-recursive] Error 1
- make[1]: Leaving directory `/var/tmp/portage/dev-libs/gir-repository-0.6.5-r1/work/gir-repository-0.6.5'
- make: *** [all] Error 2
- emake failed
- * ERROR: dev-libs/gir-repository-0.6.5-r1 failed:
- * compile failure
- *
- * Call stack:
- * ebuild.sh, line 56: Called src_compile
- * environment, line 5557: Called gnome2_src_compile
- * environment, line 3100: Called die
- * The specific snippet of code:
- * emake || die "compile failure"
- *
- * If you need support, post the output of 'emerge --info =dev-libs/gir-repository-0.6.5-r1',
- * the complete build log and the output of 'emerge -pqv =dev-libs/gir-repository-0.6.5-r1'.
- * This ebuild is from an overlay: '/var/lib/layman/local/'
- * The complete build log is located at '/var/log/portage/dev-libs:gir-repository-0.6.5-r1:20110117-015538.log'.
- * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gir-repository-0.6.5-r1/temp/environment'.
- * S: '/var/tmp/portage/dev-libs/gir-repository-0.6.5-r1/work/gir-repository-0.6.5'
- >>> Failed to emerge dev-libs/gir-repository-0.6.5-r1, Log file:
- >>> '/var/log/portage/dev-libs:gir-repository-0.6.5-r1:20110117-015538.log'
复制代码 在我系统中找了下该文件也找不到,不是路径问题
google搜了下,发现该文件路径应该在/usr/src/debug/x11-libs/gtk+-2.22.1-r1/gtk+-2.22.1/gdk/x11目录下
@ zhou3345
呵呵,个人喜好 |
|