LinuxSir.cn,穿越时空的Linuxsir!

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

gnome-control-center compile不了

[复制链接]
发表于 2009-7-25 04:26:21 | 显示全部楼层 |阅读模式
gentoo-china里的包:
  1. make[3]: Entering directory `/var/tmp/portage/gnome-base/gnome-control-center-2.26.0/work/gnome-control-center-2.26.0/capplets/keyboard'
  2. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../capplets/common -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0   -I../../ -DG_LOG_DOMAIN=""keyboard-properties"" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/orbit-2.0 -I/usr/include/libxml2   -DGNOMELOCALEDIR=""/usr/share/locale"" -DGNOMECC_DATA_DIR=""/usr/share/gnome-control-center"" -DGNOMECC_GLADE_DIR=""/usr/share/gnome-control-center/glade""    -march=athlon64 -O2 -pipe -Wall -MT gnome-keyboard-properties.o -MD -MP -MF .deps/gnome-keyboard-properties.Tpo -c -o gnome-keyboard-properties.o gnome-keyboard-properties.c
  3. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../capplets/common -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0   -I../../ -DG_LOG_DOMAIN=""keyboard-properties"" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/orbit-2.0 -I/usr/include/libxml2   -DGNOMELOCALEDIR=""/usr/share/locale"" -DGNOMECC_DATA_DIR=""/usr/share/gnome-control-center"" -DGNOMECC_GLADE_DIR=""/usr/share/gnome-control-center/glade""    -march=athlon64 -O2 -pipe -Wall -MT gnome-keyboard-properties-a11y.o -MD -MP -MF .deps/gnome-keyboard-properties-a11y.Tpo -c -o gnome-keyboard-properties-a11y.o gnome-keyboard-properties-a11y.c
  4. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../capplets/common -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0   -I../../ -DG_LOG_DOMAIN=""keyboard-properties"" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/orbit-2.0 -I/usr/include/libxml2   -DGNOMELOCALEDIR=""/usr/share/locale"" -DGNOMECC_DATA_DIR=""/usr/share/gnome-control-center"" -DGNOMECC_GLADE_DIR=""/usr/share/gnome-control-center/glade""    -march=athlon64 -O2 -pipe -Wall -MT gnome-keyboard-properties-xkb.o -MD -MP -MF .deps/gnome-keyboard-properties-xkb.Tpo -c -o gnome-keyboard-properties-xkb.o gnome-keyboard-properties-xkb.c
  5. gnome-keyboard-properties-xkb.c: In function ‘setup_xkb_tabs’:
  6. gnome-keyboard-properties-xkb.c:158: error: too few arguments to function ‘xkl_config_registry_load’
  7. make[3]: *** [gnome-keyboard-properties-xkb.o] Error 1
  8. make[3]: *** Waiting for unfinished jobs....
  9. mv -f .deps/gnome-keyboard-properties.Tpo .deps/gnome-keyboard-properties.Po
  10. mv -f .deps/gnome-keyboard-properties-a11y.Tpo .deps/gnome-keyboard-properties-a11y.Po
  11. make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-control-center-2.26.0/work/gnome-control-center-2.26.0/capplets/keyboard'
  12. make[2]: *** [all-recursive] Error 1
  13. make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-control-center-2.26.0/work/gnome-control-center-2.26.0/capplets'
  14. make[1]: *** [all-recursive] Error 1
  15. make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-control-center-2.26.0/work/gnome-control-center-2.26.0'
  16. make: *** [all] Error 2
  17. *
  18. * ERROR: gnome-base/gnome-control-center-2.26.0 failed.
  19. * Call stack:
  20. *               ebuild.sh, line   49:  Called src_compile
  21. *             environment, line 3013:  Called gnome2_src_compile
  22. *             environment, line 2368:  Called die
  23. * The specific snippet of code:
  24. *       emake || die "compile failure"
  25. *  The die message:
  26. *   compile failure
  27. *
  28. * If you need support, post the topmost build error, and the call stack if relevant.
  29. * A complete build log is located at '/var/log/portage/gnome-base:gnome-control-center-2.26.0:20090724-192623.log'.
  30. * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-control-center-2.26.0/temp/environment'.
  31. * This ebuild is from an overlay named 'gentoo-china': '/usr/local/portage/layman/gentoo-china/'
  32. *
复制代码
发表于 2009-7-25 11:17:21 | 显示全部楼层
我gentoo-china里的gnome-control-center也compile不了
overlay裏有些包是會有問題,用官方的就可以了
回复 支持 反对

使用道具 举报

发表于 2009-7-25 11:26:45 | 显示全部楼层
是不是缺少了libxklavier4.patch
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-25 12:18:07 | 显示全部楼层
Post by xcxxb;2009426
我gentoo-china里的gnome-control-center也compile不了
overlay裏有些包是會有問題,用官方的就可以了


在overlay情况下。如何叫portage用官方的包?
回复 支持 反对

使用道具 举报

发表于 2009-7-25 13:00:37 | 显示全部楼层
似乎overlay中越往后的优先级越高,你试试在/usr/local/portage/layman/make.conf 后面加 /usr/portage
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-28 06:32:22 | 显示全部楼层
但这样不是/usr/portage有优先了?這不会影响overlay里其他没问题的包?
回复 支持 反对

使用道具 举报

发表于 2009-7-28 09:23:43 | 显示全部楼层
终极解决方案:自建overlay,将需要的ebuild链接进去。哈哈,一切尽在掌控之中。
回复 支持 反对

使用道具 举报

发表于 2009-7-28 11:40:26 | 显示全部楼层
overlay中已经没有这个包了。
回复 支持 反对

使用道具 举报

发表于 2009-7-28 15:16:21 | 显示全部楼层
当时overlay加这个包是因为portage中的gnome-mouse-property补丁没有打上,现在都已经有了就不再需要了。
回复 支持 反对

使用道具 举报

发表于 2009-7-28 17:17:00 | 显示全部楼层
Post by acevery;2010332
当时overlay加这个包是因为portage中的gnome-mouse-property补丁没有打上,现在都已经有了就不再需要了。

想起来了,那时候虽然编译通过,但是鼠标及**的选项是打不开的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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