LinuxSir.cn,穿越时空的Linuxsir!

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

安装 kdebase-meta-4.1.3 的过程中,编译phonon-4.2.0时出错,求救 (已成功解决)

[复制链接]
发表于 2009-1-4 12:57:27 | 显示全部楼层 |阅读模式
* phonon-4.2.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking phonon-4.2.0.tar.bz2 to /var/tmp/portage/media-sound/phonon-4.2.0/work
>>> Source unpacked.
>>> Configuring source in /var/tmp/portage/media-sound/phonon-4.2.0/work/phonon-4.2.0 ...
loading initial cache file /var/tmp/portage/media-sound/phonon-4.2.0/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.4.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
CMake Warning (dev) at CMakeLists.txt:292 (add_custom_target):
  Policy CMP0002 is not set: Logical target names must be globally unique.
  Run "cmake --help-policy CMP0002" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  phonon/experimental/tests/CMakeLists.txt:13 (phonon_add_unit_test)
  phonon/experimental/tests/CMakeLists.txt:43 (PHONON_UNIT_TESTS_FAKE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GStreamer: /usr/lib64/libgstreamer-0.10.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GStreamer Plugins:
    /usr/lib64/libgstaudio-0.10.so
    /usr/lib64/libgstcdda-0.10.so
    /usr/lib64/libgstnetbuffer-0.10.so
    /usr/lib64/libgstpbutils-0.10.so
    /usr/lib64/libgstriff-0.10.so
    /usr/lib64/libgstrtp-0.10.so
    /usr/lib64/libgstrtsp-0.10.so
    /usr/lib64/libgstsdp-0.10.so
    /usr/lib64/libgsttag-0.10.so
    /usr/lib64/libgstvideo-0.10.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GLIB2: /usr/lib64/libglib-2.0.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GObject libraries: /usr/lib64/libgobject-2.0.so;/usr/lib64/libgmodule-2.0.so;/usr/lib64/libgthread-2.0.so;/usr/lib64/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found LibXml2: /usr/lib64/libxml2.so
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - found
-- Found ALSA: /usr/lib64/libasound.so
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ GStreamer
+ GStreamer video plugin
+ GStreamer audio plugin
+ GLib2
+ LibXml2
+ OpenGL
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTOPENGL_LIBRARY (ADVANCED)
    linked by target "phonon_gstreamer" in directory /var/tmp/portage/media-sound/phonon-4.2.0/work/phonon-4.2.0/gstreamer

-- Configuring incomplete, errors occurred!
*
* ERROR: media-sound/phonon-4.2.0 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_configure
*             environment, line 2573:  Called cmake-utils_src_configure
*             environment, line  605:  Called cmake-utils_src_configureout
*             environment, line  624:  Called die
* The specific snippet of code:
*       cmake -C "${TMPDIR}/gentoo_common_config.cmake" ${cmakeargs} "${S}" || die "Cmake failed";
*  The die message:
*   Cmake 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-sound/phonon-4.2.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/phonon-4.2.0/temp/environment'.
*

>>> Failed to emerge media-sound/phonon-4.2.0, Log file:

>>>  '/var/tmp/portage/media-sound/phonon-4.2.0/temp/build.log'

* Messages for package media-sound/phonon-4.2.0:

*
* ERROR: media-sound/phonon-4.2.0 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_configure
*             environment, line 2573:  Called cmake-utils_src_configure
*             environment, line  605:  Called cmake-utils_src_configureout
*             environment, line  624:  Called die
* The specific snippet of code:
*       cmake -C "${TMPDIR}/gentoo_common_config.cmake" ${cmakeargs} "${S}" || die "Cmake failed";
*  The die message:
*   Cmake 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-sound/phonon-4.2.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/phonon-4.2.0/temp/environment'.
*


谢谢各位的看帖和帮助:-)
发表于 2009-1-4 13:42:07 | 显示全部楼层
先装virtual/opengl和x11-libs/qt-opengl这两个东西吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-5 01:41:27 | 显示全部楼层
Post by kwindva;1933815
先装virtual/opengl和x11-libs/qt-opengl这两个东西吧。


搞定了,谢谢你:-)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-5 02:49:55 | 显示全部楼层
冒昧的问一下,你是怎么知道要先装virtual/opengl和x11-libs/qt-opengl这两个东西的?
我很菜,只是想知道你解决问题的方法。
回复 支持 反对

使用道具 举报

发表于 2009-1-5 12:15:42 | 显示全部楼层
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTOPENGL_LIBRARY (ADVANCED)
主要错误开始出现在这儿,qtopengl。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-5 13:12:53 | 显示全部楼层
谢谢。。。。。!
回复 支持 反对

使用道具 举报

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

本版积分规则

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