[MacPorts] #17889: Can't compile kde4libs - configure error

MacPorts noreply at macports.org
Mon Jan 5 11:09:30 PST 2009


#17889: Can't compile kde4libs - configure error
------------------------------------+---------------------------------------
 Reporter:  stransky@…              |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:  Port Bugs                            
Component:  ports                   |     Version:  1.7.0                                
 Keywords:                          |        Port:  kdelibs4                             
------------------------------------+---------------------------------------
 Hi,

 I have the following error at configure time with kdelibs4. It's a fresh
 macports installation and the packages are in sync.

 {{{
 --->  Configuring kdelibs4
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build"
 && cmake --prefix=/opt/local ../kdelibs-4.1.3 -DBUILD_SHARED_LIBS=ON
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"
 -DCMAKE_INSTALL_PREFIX=/opt/local -DPHONON_INCLUDE_DIR=/opt/local/include
 -DPHONON_LIBRARY=/opt/local/lib/libphonon.dylib
 -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk
 -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev "
 returned error 1
 Command output: -- Found Qt-Version 4.4.3 (using
 /opt/local/libexec/qt4-mac/bin/qmake)
 -- Found Threads: TRUE
 -- Found Automoc4: /opt/local/bin/automoc4
 -- Found Perl: /opt/local/bin/perl
 -- Building kdelibs...
 CMake Error: Generator: execution of make failed. Make command was:
 /opt/local/bin/gmake "cmTryCompileExec/fast"
 CMake Error at cmake/modules/FindKDE4Internal.cmake:1049 (message):
   Could not compile simple test program:

    #include <QtCore/QtGlobal>
    int main()
    {
    #ifdef QT_VISIBILITY_AVAILABLE
    return 0;
    #else
    return 1;
    #endif
    }

 Call Stack (most recent call first):
   CMakeLists.txt:29 (find_package)


 -- Configuring incomplete, errors occurred!

 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/17889>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list