LinuxSir.cn,穿越时空的Linuxsir!

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

安装opencv 出问题 ,菜鸟求问大大这是怎么回事

[复制链接]
发表于 2012-2-12 16:30:40 | 显示全部楼层 |阅读模式
Acer-aspire-4535G yuankai # emerge opencv

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!
[ebuild  N     ] app-admin/eselect-qtgraphicssystem-1.1.1
[ebuild     U  ] x11-libs/qt-core-4.8.0-r1 [4.7.4-r1] USE="(-c++0x) (-qpa)"
[ebuild     U  ] x11-libs/qt-dbus-4.8.0 [4.7.4] USE="(-c++0x) (-qpa)"
[ebuild     U  ] x11-libs/qt-script-4.8.0 [4.7.4] USE="(-c++0x) (-qpa)"
[ebuild     U  ] x11-libs/qt-gui-4.8.0-r2 [4.7.4-r1] USE="gif%* (-c++0x) (-qpa)"
[ebuild     U  ] x11-libs/qt-sql-4.8.0 [4.7.4] USE="(-c++0x) (-qpa)"
[ebuild     U  ] x11-libs/qt-qt3support-4.8.0 [4.7.4] USE="(-c++0x) (-qpa)"
[ebuild  N     ] x11-libs/qt-opengl-4.8.0-r2  USE="exceptions qt3support (-aqua) (-c++0x) -debug -egl -pch (-qpa)"
[ebuild  N     ] x11-libs/qt-test-4.8.0  USE="exceptions iconv (-aqua) (-c++0x) -debug -pch (-qpa)"
[ebuild  N     ] media-libs/opencv-2.3.1a-r1  USE="gtk jpeg opengl png python qt4 sse sse2 tiff -cuda -doc -eigen -examples -ffmpeg -gstreamer -ieee1394 -ipp -jpeg2k -openexr -sse3 -ssse3 -v4l -xine"
[blocks B      ] <x11-libs/qt-sql-4.8.0 ("<x11-libs/qt-sql-4.8.0" is blocking x11-libs/qt-qt3support-4.8.0, x11-libs/qt-test-4.8.0, x11-libs/qt-script-4.8.0, x11-libs/qt-opengl-4.8.0-r2, x11-libs/qt-dbus-4.8.0, x11-libs/qt-core-4.8.0-r1)
[blocks B      ] >x11-libs/qt-qt3support-4.7.4-r9999 (">x11-libs/qt-qt3support-4.7.4-r9999" is blocking x11-libs/qt-gui-4.7.4-r1)
[blocks B      ] <x11-libs/qt-qt3support-4.8.0 ("<x11-libs/qt-qt3support-4.8.0" is blocking x11-libs/qt-test-4.8.0, x11-libs/qt-sql-4.8.0, x11-libs/qt-script-4.8.0, x11-libs/qt-opengl-4.8.0-r2, x11-libs/qt-dbus-4.8.0, x11-libs/qt-core-4.8.0-r1)
[blocks B      ] >x11-libs/qt-core-4.7.4-r9999 (">x11-libs/qt-core-4.7.4-r9999" is blocking x11-libs/qt-gui-4.7.4-r1)
[blocks B      ] >x11-libs/qt-script-4.7.4-r9999 (">x11-libs/qt-script-4.7.4-r9999" is blocking x11-libs/qt-gui-4.7.4-r1)
[blocks B      ] <x11-libs/qt-dbus-4.8.0 ("<x11-libs/qt-dbus-4.8.0" is blocking x11-libs/qt-qt3support-4.8.0, x11-libs/qt-test-4.8.0, x11-libs/qt-sql-4.8.0, x11-libs/qt-script-4.8.0, x11-libs/qt-opengl-4.8.0-r2, x11-libs/qt-core-4.8.0-r1)
[blocks B      ] >x11-libs/qt-sql-4.7.4-r9999 (">x11-libs/qt-sql-4.7.4-r9999" is blocking x11-libs/qt-gui-4.7.4-r1)
[blocks B      ] <x11-libs/qt-gui-4.8.0 ("<x11-libs/qt-gui-4.8.0" is blocking x11-libs/qt-qt3support-4.8.0, x11-libs/qt-test-4.8.0, x11-libs/qt-sql-4.8.0, x11-libs/qt-script-4.8.0, x11-libs/qt-opengl-4.8.0-r2, x11-libs/qt-dbus-4.8.0, x11-libs/qt-core-4.8.0-r1)
[blocks B      ] >x11-libs/qt-test-4.7.4-r9999 (">x11-libs/qt-test-4.7.4-r9999" is blocking x11-libs/qt-gui-4.7.4-r1)
[blocks B      ] >x11-libs/qt-dbus-4.7.4-r9999 (">x11-libs/qt-dbus-4.7.4-r9999" is blocking x11-libs/qt-gui-4.7.4-r1)
[blocks B      ] <x11-libs/qt-script-4.8.0 ("<x11-libs/qt-script-4.8.0" is blocking x11-libs/qt-qt3support-4.8.0, x11-libs/qt-test-4.8.0, x11-libs/qt-sql-4.8.0, x11-libs/qt-opengl-4.8.0-r2, x11-libs/qt-dbus-4.8.0, x11-libs/qt-core-4.8.0-r1)
[blocks B      ] <x11-libs/qt-core-4.8.0 ("<x11-libs/qt-core-4.8.0" is blocking x11-libs/qt-qt3support-4.8.0, x11-libs/qt-test-4.8.0, x11-libs/qt-sql-4.8.0, x11-libs/qt-script-4.8.0, x11-libs/qt-opengl-4.8.0-r2, x11-libs/qt-dbus-4.8.0)
[blocks B      ] <x11-libs/cairo-1.10.2-r2 ("<x11-libs/cairo-1.10.2-r2" is blocking x11-libs/qt-core-4.8.0-r1)
[blocks B      ] >x11-libs/qt-opengl-4.7.4-r9999 (">x11-libs/qt-opengl-4.7.4-r9999" is blocking x11-libs/qt-gui-4.7.4-r1)

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

x11-libs/qt-script:4

  (x11-libs/qt-script-4.7.4::gentoo, installed) pulled in by
    ~x11-libs/qt-script-4.7.4[aqua=,debug=] required by (x11-libs/qt-gui-4.7.4-r1::gentoo, installed)

  (x11-libs/qt-script-4.8.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-script-4.8.0[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.0-r2::gentoo, ebuild scheduled for merge)

x11-libs/qt-core:4

  (x11-libs/qt-core-4.8.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-core-4.8.0[aqua=,c++0x=,qpa=,debug=,qt3support=] required by (x11-libs/qt-sql-4.8.0::gentoo, ebuild scheduled for merge)
    (and 6 more with the same problem)

  (x11-libs/qt-core-4.7.4-r1::gentoo, installed) pulled in by
    ~x11-libs/qt-core-4.7.4[aqua=,debug=,qt3support=] required by (x11-libs/qt-sql-4.7.4::gentoo, installed)
    (and 4 more with the same problem)

x11-libs/qt-sql:4

  (x11-libs/qt-sql-4.7.4::gentoo, installed) pulled in by
    ~x11-libs/qt-sql-4.7.4[aqua=,debug=,qt3support] required by (x11-libs/qt-qt3support-4.7.4::gentoo, installed)

  (x11-libs/qt-sql-4.8.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-sql-4.8.0[aqua=,c++0x=,qpa=,debug=,qt3support] required by (x11-libs/qt-qt3support-4.8.0::gentoo, ebuild scheduled for merge)

x11-libs/qt-dbus:4

  (x11-libs/qt-dbus-4.8.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-dbus-4.8.0[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.0-r2::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-dbus-4.7.4::gentoo, installed) pulled in by
    ~x11-libs/qt-dbus-4.7.4[aqua=,debug=] required by (x11-libs/qt-gui-4.7.4-r1::gentoo, installed)

x11-libs/qt-gui:4

  (x11-libs/qt-gui-4.7.4-r1::gentoo, installed) pulled in by
    ~x11-libs/qt-gui-4.7.4[accessibility=,aqua=,debug=,qt3support] required by (x11-libs/qt-qt3support-4.7.4::gentoo, installed)
    (and 1 more with the same problem)

  (x11-libs/qt-gui-4.8.0-r2::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-gui-4.8.0[aqua=,c++0x=,qpa=,debug=,egl=,qt3support=] required by (x11-libs/qt-opengl-4.8.0-r2::gentoo, ebuild scheduled for merge)
    (and 2 more with the same problem)

x11-libs/qt-qt3support:4

  (x11-libs/qt-qt3support-4.7.4::gentoo, installed) pulled in by
    ~x11-libs/qt-qt3support-4.7.4[aqua=,debug=] required by (x11-libs/qt-gui-4.7.4-r1::gentoo, installed)

  (x11-libs/qt-qt3support-4.8.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-qt3support-4.8.0[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.0-r2::gentoo, ebuild scheduled for merge)


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. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
 楼主| 发表于 2012-2-12 16:31:56 | 显示全部楼层
升级系统也会出问题
Acer-aspire-4535G yuankai # emerge -avuDN world

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! The ebuild selected to satisfy ">=net-misc/vino-3.2.1" has unmet requirements.
- net-misc/vino-3.2.2::gentoo USE="crypt ipv6 jpeg libnotify (multilib) ssl telepathy -avahi -debug -gnome-keyring -networkmanager -zlib"

  The following REQUIRED_USE flag constraints are unsatisfied:
    jpeg? ( zlib )

(dependency required by "gnome-base/gnome-extra-apps-3.2.1" [ebuild])
(dependency required by "gnome-base/gnome-3.2.1[extras]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
回复 支持 反对

使用道具 举报

发表于 2012-2-12 20:28:36 | 显示全部楼层
你的make.conf里估计有全局的+qt4
在/etc/portage/package.use 加上-qt4

参看:
  1. media-libs/opencv gtk ffmpeg v4 -qt4
复制代码

后面一个问题。。。还是看手册去吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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