LinuxSir.cn,穿越时空的Linuxsir!

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

升级 gnome-base/librsvg-2.34.2 编译出错[已解决]

[复制链接]
发表于 2011-11-21 02:35:48 | 显示全部楼层 |阅读模式
一开始提示要设置  bindist  USE 标记,设置之后编译还是出错
In file included from <stdin>:19:0:
/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2/rsvg-cairo-render.h:32:19: 致命错误:cairo.h:没有那个文件或目录
编译中断。
Error while processing the source.
make[2]: *** [Rsvg-2.0.gir] 错误 1
make[2]: *** 正在等待未完成的任务....
make[2]: 离开目录“/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2”
make: *** [all] 错误 2
* ERROR: gnome-base/librsvg-2.34.2 failed (compile phase):
*   emake failed
*
* If you need support, post the output of 'emerge --info =gnome-base/librsvg-2.34.2',
* the complete build log and the output of 'emerge -pqv =gnome-base/librsvg-2.34.2'.
* The complete build log is located at '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'.
* S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'

* Messages for package gnome-base/librsvg-2.34.2:

* ERROR: gnome-base/librsvg-2.34.2 failed (compile phase):
*   emake failed
*
* If you need support, post the output of 'emerge --info =gnome-base/librsvg-2.34.2',
* the complete build log and the output of 'emerge -pqv =gnome-base/librsvg-2.34.2'.
* The complete build log is located at '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'.
* S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'

请问该如何解决,谢谢。

完整 log

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2011-11-21 09:55:09 | 显示全部楼层
我也刚刚遇到了……
我是 ~amd64 multilib
回复 支持 反对

使用道具 举报

发表于 2011-11-22 09:27:18 | 显示全部楼层
我也遇到同样的问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-11-24 11:13:25 | 显示全部楼层
http://packages.gentoo.org/package/gnome-base/librsvg 上有个补丁,可能是我选的源还未同步

http://forums.funtoo.org/viewtopic.php?pid=4984#p4984 找到一个方法
USE="-introspection" emerge -1 x11-libs/cairo gnome-base/librsvg -av
解决。
回复 支持 反对

使用道具 举报

发表于 2011-11-24 19:10:48 | 显示全部楼层
你先 eix introspection  查,有个包,你安装一下,再编译就不会有问题了!!
回复 支持 反对

使用道具 举报

发表于 2012-1-1 01:02:51 | 显示全部楼层
GCC tell you connot find "cairo.h"

if you install cairo, these include files already in /usr/include/cairo

so copy /usr/include/cairo/* to /usr/include/ can reslove this problem
回复 支持 反对

使用道具 举报

发表于 2012-1-6 13:54:25 | 显示全部楼层
thinks
回复 支持 反对

使用道具 举报

发表于 2012-1-24 16:46:07 | 显示全部楼层
在gentoo bugzilla 上看到重新编译gobject-introspection
"emerge -1 gobject-introspection"

测试正常,重新编译后可以更新librsvg
回复 支持 反对

使用道具 举报

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

本版积分规则

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