Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17889 closed defect (worksforme)

Can't compile kde4libs - configure error

Reported by: stransky@… Owned by: illogic-al@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: kdelibs4

Description

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.

Change History (4)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to illogic-al@…

Assigning to maintainer.

comment:2 Changed 16 years ago by illogic-al@…

Resolution: worksforme
Status: newclosed

Can't help you, works for me. Looks like there's some thing wrong with your qt installation though. I just compiled the default qt4-mac port i.e. whatever "port install kdelibs4" gave me.

comment:3 Changed 16 years ago by stransky@…

I reinstalled macports from scratch and it works now. Thanks.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.