LinuxSir.cn,穿越时空的Linuxsir!

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

升级时slot冲突的问题

[复制链接]
发表于 2010-1-14 13:09:46 | 显示全部楼层 |阅读模式
看起来是mplayer和vlc要求更老的media-libs/x264,而ffmpeg要求更新的,请问该怎么解决?

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/x264:0

  ('installed', '/', 'media-libs/x264-0.0.20090908', 'nomerge') pulled in by
    <media-libs/x264-0.0.20091021 required by ('installed', '/', 'media-video/vlc-1.0.2', 'nomerge')
    <media-libs/x264-0.0.20090923 required by ('installed', '/', 'media-video/mplayer-1.0_rc2_p20090731', 'nomerge')
    (and 2 more)

  ('ebuild', '/', 'media-libs/x264-0.0.20091021', 'merge') pulled in by
    >=media-libs/x264-0.0.20091021 required by ('installed', '/', 'media-video/ffmpeg-0.5_p20373', 'nomerge')
    (and 2 more)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.
发表于 2010-1-14 19:30:51 | 显示全部楼层
指定一个老一点的 ffmpeg。不过我没有遇到你的情况,你是用 emerge -DNu world 升级的吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-15 08:47:15 | 显示全部楼层
Post by 幽隱之賢;2064244
指定一个老一点的 ffmpeg。不过我没有遇到你的情况,你是用 emerge -DNu world 升级的吗?
谢谢, 是啊,是这样升级的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-15 16:33:48 | 显示全部楼层
编译老版本失败,算了,以后再弄吧。
回复 支持 反对

使用道具 举报

发表于 2010-1-16 10:43:36 | 显示全部楼层
把編譯老版本失敗的 build.log 給一下。
  此外,你是不是用x86而不是~x86的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-16 12:18:46 | 显示全部楼层
Post by 幽隱之賢;2064536
把編譯老版本失敗的 build.log 給一下。
  此外,你是不是用x86而不是~x86的。


>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/ffmpeg-0.5-r1/work/ffmpeg-0.5 ...
true
ERROR: libx264 not found
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
*
* ERROR: media-video/ffmpeg-0.5-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_configure
*             environment, line 2651:  Called die
* The specific snippet of code:
*       ./configure --prefix=/usr --libdir=/usr/$(get_libdir) --shlibdir=/usr/$(get_libdir) --mandir=/usr/share/man --enable-static --enable-shared --cc="$(tc-getCC)" ${myconf} || die "configure failed"
*  The die message:
*   configure failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-video/ffmpeg-0.5-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-0.5-r1/temp/environment'.
*

我用的是 x86, 是这个原因吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-16 12:34:16 | 显示全部楼层
谢谢你的帮助,问题解决了。
我把vlc和mplayer的keywords改成~x86就OK了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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