kdelibs4 debug version tries to link release lib
Marko Käning
MK-MacPorts at techno.ms
Sat Jul 16 09:36:20 PDT 2011
I installed qt4-mac without release-libs to be able to debug KDE applications after all.
When trying to build kdelibs4 I realized that, although I installed the debug variant the port tries to link QT's release lib:
---
:info:build cd /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kdelibs4/work/build/kdecore && /opt/macports-test/bin/automoc4 /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kdelibs4/work/build/kdecore/kauth_backend_plugin_automoc.cpp /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kdelibs4/work/kdelibs-4.6.5/kdecore /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kdelibs4/work/build/kdecore /opt/macports-test/bin/moc /opt/macports-test/bin/cmake
:info:build dyld: Library not loaded: /opt/macports-test/lib/libQtCore.4.dylib
:info:build Referenced from: /opt/macports-test/bin/automoc4
:info:build Reason: image not found
:info:build /bin/sh: line 1: 90112 Trace/BPT trap /opt/macports-test/bin/automoc4 /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kdelibs4/work/build/kdecore/kauth-policy-gen_automoc.cpp /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kdelibs4/work/kdelibs-4.6.5/kdecore /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kdelibs4/work/build/kdecore /opt/macports-test/bin/moc /opt/macports-test/bin/cmake
:info:build make[2]: *** [kdecore/CMakeFiles/kauth-policy-gen_automoc] Error 133
---
What must be done to tell the build that all QT libs have now the appendix "_debug"?
More information about the macports-dev
mailing list