[KDE/Mac] kdelibs 4.7.1 fails in OSX 10.7 Lion, kauth-policy-gen_automoc error

Juan Felipe Alvarez Saldarriaga nebiros at gmail.com
Sat Oct 29 18:17:06 UTC 2011


Hi,

I'm trying to compile kdelibs in OSX 10.7 Lion, Xcode 4.2, but I
always got this error:

make install
Scanning dependencies of target KDECMakeModulesManPage
Scanning dependencies of target kauth-policy-gen_automoc
dyld: Library not loaded:
/usr/local/Cellar/qt/4.7.3/lib/QtCore.framework/Versions/4/QtCore
  Referenced from: /usr/local/bin/automoc4
  Reason: image not found
[  0%] Built target KDECMakeModulesManPage
Scanning dependencies of target kauth_backend_plugin_automoc
dyld: Library not loaded:
/usr/local/Cellar/qt/4.7.3/lib/QtCore.framework/Versions/4/QtCore
  Referenced from: /usr/local/bin/automoc4
  Reason: image not found
/bin/sh: line 1: 86803 Trace/BPT trap: 5       /usr/local/bin/automoc4
/tmp/homebrew-kdelibs-4.7.1-DchN/kdelibs-4.7.1/build/kdecore/kauth-policy-gen_automoc.cpp
/tmp/homebrew-kdelibs-4.7.1-DchN/kdelibs-4.7.1/kdecore
/tmp/homebrew-kdelibs-4.7.1-DchN/kdelibs-4.7.1/build/kdecore
/usr/local/Cellar/qt/4.7.4/bin/moc
/usr/local/Cellar/cmake/2.8.6/bin/cmake
make[2]: *** [kdecore/CMakeFiles/kauth-policy-gen_automoc] Error 133
make[1]: *** [kdecore/CMakeFiles/kauth-policy-gen_automoc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/bin/sh: line 1: 86826 Trace/BPT trap: 5       /usr/local/bin/automoc4
/tmp/homebrew-kdelibs-4.7.1-DchN/kdelibs-4.7.1/build/kdecore/kauth_backend_plugin_automoc.cpp
/tmp/homebrew-kdelibs-4.7.1-DchN/kdelibs-4.7.1/kdecore
/tmp/homebrew-kdelibs-4.7.1-DchN/kdelibs-4.7.1/build/kdecore
/usr/local/Cellar/qt/4.7.4/bin/moc
/usr/local/Cellar/cmake/2.8.6/bin/cmake
make[2]: *** [kdecore/CMakeFiles/kauth_backend_plugin_automoc] Error 133
make[1]: *** [kdecore/CMakeFiles/kauth_backend_plugin_automoc.dir/all] Error 2
make: *** [all] Error 2

Do I need install something else?

Thanks.

-- 
Juan Felipe Alvarez Saldarriaga
http://juan.im


More information about the kde-mac mailing list