[MacPorts] #27248: amarok - Qt qmake not found!

MacPorts noreply at macports.org
Fri Nov 19 18:33:17 PST 2010


#27248: amarok - Qt qmake not found!
-------------------------------+--------------------------------------------
 Reporter:  strassh@…          |       Owner:  illogic-al@…           
     Type:  defect             |      Status:  new                    
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  1.9.2                  
 Keywords:                     |        Port:  amarok                 
-------------------------------+--------------------------------------------

Comment(by crashed@…):

 patch didn't work for me. Here's what I did:
 cd $(port dir cmake)
 sudo patch -p0 < cmake-svn.diff
 sudo port install cmake
 sudo port clean amarok
 sudo port -v install amarok

 Here's the output of last operation:


 {{{

 # sudo port -v install amarok
 --->  Computing dependencies for amarok.
 --->  Fetching amarok
 --->  Verifying checksum(s) for amarok
 --->  Checksumming amarok-2.3.1.tar.bz2
 --->  Extracting amarok
 --->  Extracting amarok-2.3.1.tar.bz2
 Error: ######################################################
 Error: A copy of phonon could not be found. Please install
 Error: qt4-mac to provide this. If you have already done this
 Error: your Qt installation is missing the phonon backend.
 Error: Please reinstall Qt4 with phonon support.
 Error: ######################################################
 --->  Configuring amarok
 -- The C compiler identification is GNU
 -- The CXX compiler identification is GNU
 -- Checking whether C compiler has -isysroot
 -- Checking whether C compiler has -isysroot - yes
 -- Checking whether C compiler supports OSX deployment target flag
 -- Checking whether C compiler supports OSX deployment target flag - yes
 -- Check for working C compiler: /usr/bin/gcc-4.2
 -- Check for working C compiler: /usr/bin/gcc-4.2 -- works
 -- Detecting C compiler ABI info
 -- Detecting C compiler ABI info - done
 -- Checking whether CXX compiler has -isysroot
 -- Checking whether CXX compiler has -isysroot - yes
 -- Checking whether CXX compiler supports OSX deployment target flag
 -- Checking whether CXX compiler supports OSX deployment target flag - yes
 -- Check for working CXX compiler: /usr/bin/g++-4.2
 -- Check for working CXX compiler: /usr/bin/g++-4.2 -- works
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 -- Looking for dlopen in dl
 -- Looking for dlopen in dl - found
 -- Taglib found: -L/opt/local/lib -ltag
 -- Performing Test TAGLIB_ASF_FOUND
 -- Performing Test TAGLIB_ASF_FOUND - Success
 -- Performing Test TAGLIB_MP4_FOUND
 -- Performing Test TAGLIB_MP4_FOUND - Success
 -- Taglib-Extras found: -L/opt/local/lib -ltag-extras
 -- Performing Test COMPLEX_TAGLIB_FILENAME
 -- Performing Test COMPLEX_TAGLIB_FILENAME - Failed
 -- Looking for Q_WS_X11
 -- Looking for Q_WS_X11 - not 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 - found
 -- Looking for QT_MAC_USE_COCOA
 -- Looking for QT_MAC_USE_COCOA - found
 -- Found Qt-Version 4.7.1 (using /opt/local/libexec/qt4-mac/bin/qmake)
 -- 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 OpenSSL: /opt/local/lib/libssl.dylib
 -- Found Automoc4: /opt/local/bin/automoc4
 -- Found Perl: /opt/local/bin/perl
 CMake Error at /opt/local/share/cmake/modules/FindPhonon.cmake:19 (file):
   file Internal CMake error when trying to open file:
   /opt/local/libexec/qt4-mac/include/phonon/phononnamespace.h for reading.
 Call Stack (most recent call first):
   /opt/local/share/cmake/modules/FindPhonon.cmake:47
 (_phonon_find_version)
   /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:672
 (find_package)
   /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
   CMakeLists.txt:73 (find_package)


 -- Performing Test _OFFT_IS_64BIT
 -- Performing Test _OFFT_IS_64BIT - Success
 -- 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 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_QT_INCLUDE_DIR
    used as include directory in directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/build/CMakeFiles/CMakeTmp

 CMake Error: Internal CMake error, TryCompile configure of cmake failed
 CMake Error at
 /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:1271 (message):
   Qt compiled without support for -fvisibility=hidden.  This will break
   plugins and linking of some applications.  Please fix your Qt
 installation.
 Call Stack (most recent call first):
   /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
   CMakeLists.txt:73 (find_package)


 -- Configuring incomplete, errors occurred!
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/build"
 && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"
 -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev
 -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON
 -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4
 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include
 -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon
 -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake
 -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../amarok-2.3.1
 -DCMAKE_OSX_ARCHITECTURES="x86_64" " returned error 1
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 Warning: the following items did not execute (for amarok):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Log for amarok is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/27248#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list