LinuxSir.cn,穿越时空的Linuxsir!

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

升级webkit-gtk出错

[复制链接]
发表于 2012-1-1 20:40:31 | 显示全部楼层 |阅读模式
最近升级了webkit-gtk,提示要libsoup 2.4,可系统中只有2.37,9999也装不上,请问大家要如何解决。
发表于 2012-1-1 21:46:00 | 显示全部楼层
libsoup 2.4还没被出来呢... webkit-gtk依赖的是libsoup的2.4 SLOT而不是2.4的版本... 目前Portage tree中libsoup的两个版本均在2.4 slot中。

您的问题可能另有原因,请贴出详细的错误提示信息。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-2 19:37:34 | 显示全部楼层
Post by RichardGv;2158073
libsoup 2.4还没被出来呢... webkit-gtk依赖的是libsoup的2.4 SLOT而不是2.4的版本... 目前Portage tree中libsoup的两个版本均在2.4 slot中。

您的问题可能另有原因,请贴出详细的错误提示信息。



下面是执行
less /var/tmp/portage/net-libs/webkit-gtk-1.7.3-r200/temp/build.log
的结果,前面的都不用贴出来了。

checking for LIBSOUP... no
configure: error: Package requirements (libsoup-2.4 >= 2.37.2.1) were not met:

Requested 'libsoup-2.4 >= 2.37.2.1' but version of libsoup is 2.36.1

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSOUP_CFLAGS
and LIBSOUP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-libs/webkit-gtk-1.7.3-r200/work/webkit-1.7.3/config.log
* ERROR: net-libs/webkit-gtk-1.7.3-r200 failed (configure phase):
*   econf failed
*
* Call stack:
*          ebuild.sh, line   75:  Called src_configure
*        environment, line 5728:  Called econf '--disable-coverage' '--disable-debug' '--disable-debug-features' '--enable-spellcheck' '--enable-introspection' '--enable-video' '--enable-jit' '--disable-webgl' '--enable-web-sockets' '--with-gtk=2.0' '--disable-gtk-doc' '--disable-webkit2'
*   phase-helpers.sh, line  467:  Called die
* The specific snippet of code:
*                      die "econf failed"
*
* If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.7.3-r200',
* the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.7.3-r200'.
* This ebuild is from an overlay named 'gnome': '/var/lib/layman/gnome/'
* The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.7.3-r200/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.7.3-r200/temp/environment'.
* S: '/var/tmp/portage/net-libs/webkit-gtk-1.7.3-r200/work/webkit-1.7.3'
回复 支持 反对

使用道具 举报

发表于 2012-1-2 21:36:22 | 显示全部楼层
webkit-gtk-1.7.3-r200... 这个不是portage tree中的ebuild,看来是gnome overlay,怎么提供了webkit-gtk却没有libsoup... 请您删除gnome overlay或者将其中的webkit-gtk mask掉。

可以在package.mask中加入:
  1. net-libs/webkit-gtk::gnome
复制代码
来mask掉gnome overlay中的webkit-gtk。
回复 支持 反对

使用道具 举报

发表于 2012-1-2 22:14:50 | 显示全部楼层
这个是gnome-3.3的东西,因为3.2已经进入portage ,建议楼主先删除overlay gnome,等到3.4出来在加吧。
回复 支持 反对

使用道具 举报

发表于 2012-1-5 21:11:46 | 显示全部楼层
Post by RichardGv;2158109
webkit-gtk-1.7.3-r200... 这个不是portage tree中的ebuild,看来是gnome overlay,怎么提供了webkit-gtk却没有libsoup... 请您删除gnome overlay或者将其中的webkit-gtk mask掉。

可以在package.mask中加入:

  1. net-libs/webkit-gtk::gnome
复制代码

来mask掉gnome overlay中的webkit-gtk。


原來還可以這樣mask呀,謝了!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-7 13:15:38 | 显示全部楼层
Post by dutongtie;2158116
这个是gnome-3.3的东西,因为3.2已经进入portage ,建议楼主先删除overlay gnome,等到3.4出来在加吧。




删除overlay gnome之后,我emerge glib,出现下面错误,要怎么处理啊
checking for LIBFFI... no
configure: error: in `/var/tmp/portage/dev-libs/glib-2.30.2/work/glib-2.30.2':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
回复 支持 反对

使用道具 举报

发表于 2012-1-7 18:09:36 | 显示全部楼层
Post by johe;2158356
删除overlay gnome之后,我emerge glib,出现下面错误,要怎么处理啊
checking for LIBFFI... no
configure: error: in `/var/tmp/portage/dev-libs/glib-2.30.2/work/glib-2.30.2':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

有人提供了一个解决方法,尽管提供方法的用户看起来不太靠谱
http://forums.gentoo.org/viewtopic-p-6830566.html#6830566
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-7 19:36:44 | 显示全部楼层
谢谢,RichardGv,那个方法可以。
回复 支持 反对

使用道具 举报

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

本版积分规则

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