LinuxSir.cn,穿越时空的Linuxsir!

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

升级gnome-2.16的途中,gnome-base/eel-2.16.1安装失败

[复制链接]
发表于 2006-11-13 17:49:03 | 显示全部楼层 |阅读模式
很奇怪的失败报错:


/usr/lib/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create'
/usr/lib/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create_for _stream'
/usr/lib/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size'
collect2: ld returned 1 exit status
make[2]: *** [check-program] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/eel-2.16.1/work/eel-2.16 .1/eel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/eel-2.16.1/work/eel-2.16 .1'
make: *** [all] Error 2

!!! ERROR: gnome-base/eel-2.16.1 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1261:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if rel evant.


可是我的x11-libs/cairo已经是1.2.4的最新版本了阿。

我用的是~86,内核为2.6.18-gentoo-r2,已经用emerge --sync升级为最新的包,以上的错误是在emerge -uDN world时候出现的。

请大虾给我说说如何解决
发表于 2006-11-13 23:51:44 | 显示全部楼层
看起来是libgtk-x11-2.0.so的问题,它来自gtk+-2.10.6
你先把gtk+-2.10.6重新编译一下或者升级一下看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-14 11:07:08 | 显示全部楼层
问题昨天已经解决.
USE="X pdf" emerge cairo
就搞定了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-14 11:07:50 | 显示全部楼层
奇怪的事portage为什么没有自动给cairo加上这个安装选项呢?
回复 支持 反对

使用道具 举报

发表于 2006-11-14 11:54:35 | 显示全部楼层
据我理解,portage基本上不给任何package加任何选项
在/etc/make.conf或/etc/portage/package.use里自己指定
回复 支持 反对

使用道具 举报

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

本版积分规则

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