This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kdelibs 4.7.1 fails in OSX 10.7 Lion, kauth-policy-gen_autom

Tags: None
(comma "," separated)
nebiros
Registered Member
Posts
3
Karma
0
OS
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.
nebiros
Registered Member
Posts
3
Karma
0
OS
Great news, now I got kdelibs working, kdevplatform and develop, but when I try to open develop I got this error: http://imagebin.org/182516 and this is the log:

./kdevelop
kdevelop(932) mac_set_dbus_address: set session bus address to "unix:path=/tmp/launch-aFpVJI/unix_domain_listener"
kdevelop(932)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes.
kdevelop(932)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache. This *should* be essentially impossible. :(
kdevelop(932)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
kdevelop(932)/KSharedDataCache: Unable to unmap shared memory segment 0x1105c8000
kdevelop(932)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found!

kdevelop(932) KXMLGUIClient::setXMLFile: cannot find .rc file "kdevsessionui.rc" for component "kdevsession"
kdevelop(932)/kdevplatform (shell) KDevelop::CorePrivate::initialize: Creating ui controller
kdevelop(932)/kdevplatform (sublime) Sublime::Area::Area: initial working-set: ""
kdevelop(932)/kdevplatform (sublime) Sublime::Area::Area: initial working-set: ""
kdevelop(932)/kdevplatform (sublime) Sublime::Area::Area: initial working-set: ""
kdevelop(932)/kdevplatform (shell) KDevelop::MainWindow::MainWindow: Bottom Left: 0
kdevelop(932)/kdevplatform (shell) KDevelop::MainWindow::MainWindow: Bottom Right: 0
kdevelop(932) KXMLGUIClient::setXMLFile: cannot find .rc file "kdevelopui.rc" for component "kdevelop"
kdevelop(932)/kdevplatform (sublime) Sublime::AreaIndex::AreaIndex: copying area index
kdevelop(932)/kdevplatform (sublime) Sublime::AreaIndex::AreaIndex: copying area index
kdevelop(932)/kdevplatform (sublime) Sublime::AreaIndex::AreaIndex: copying area index
kdevelop(932)/kdevplatform (sublime) Sublime::MainWindowPrivate::ViewCreator::operator: reconstructing views for area index 0x7f9d895293c0
kdevelop(932)/kdevplatform (sublime) Sublime::MainWindowPrivate::ViewCreator::operator: reconstructing root area
kdevelop(932)/kdevplatform (sublime) Sublime::MainWindowPrivate::reconstruct: RECONSTRUCT Sublime::Area(0x7f9d8955ae00, name = "code") ""
kdevelop(932)/kdevplatform (shell) KDevelop::MainWindow::loadSettings: Loading Settings
kdevelop(932)/kdevplatform (shell) KDevelop::MainWindow::loadSettings: Bottom Left: 0
kdevelop(932)/kdevplatform (shell) KDevelop::MainWindow::loadSettings: Bottom Right: 0
kdevelop(932)/kdevplatform (shell) KDevelop::WorkingSetWidget::changingWorkingSet: re-creating widget Sublime::Area(0x7f9d8955ae00, name = "code")
kdevelop(932)/kdevplatform (shell) KDevelop::WorkingSetWidget::changingWorkingSet: re-creating widget Sublime::Area(0x7f9d8955b320, name = "debug")
kdevelop(932)/kdevplatform (shell) KDevelop::WorkingSetWidget::changingWorkingSet: re-creating widget Sublime::Area(0x7f9d8955a150, name = "review")
kdevelop(932)/kdevplatform (sublime) Sublime::MainWindow::loadSettings: loading settings for "code"
kdevelop(932)/kdevplatform (shell) KDevelop::CorePrivate::initialize: Creating plugin controller
kdevelop(932)/kdecore (KSycoca) KSycocaPrivate::checkDatabase: We have no database.... launching kdeinit
kdevelop(932)/kdecore (kdelibs) KToolInvocation::klauncher: klauncher not running... launching kdeinit
kdevelop(932)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/Users/nebiros/Library/Preferences/KDE/cache-Thurisaz.local/ksycoca4"
kdevelop(932)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "KDevelop/Plugin" not found
kdeinit4: preparing to launch /usr/local/Cellar/kdelibs/4.7.3/lib/kde4/libexec/klauncher
kdevelop(932)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "text/plain" , "KParts/ReadOnlyPart" : returning 0 offers
kdeinit4: (klauncher /usr/local/Cellar/kdelibs/4.7.3/lib/kde4/libexec/klauncher) Pipe closed unexpectedlykdeinit4: Pipe closed unexpectedly: No such file or directory
kdeinit4: Launched KLauncher, pid = 936, result = 1
kdeinit4: PID 936 terminated.
kdeinit4: preparing to launch /usr/local/Cellar/kdelibs/4.7.3/bin/kded4.app/Contents/MacOS/kded4
kdeinit4: (kded4 /usr/local/Cellar/kdelibs/4.7.3/bin/kded4.app/Contents/MacOS/kded4) Pipe closed unexpectedlykdeinit4: Pipe closed unexpectedly: No such file or directory
kdeinit4: Launched KDED, pid = 938 result = 1
kdeinit4: PID 938 terminated.
kdeinit4: Communication error with launcher. Exiting!
nebiros
Registered Member
Posts
3
Karma
0
OS
Great news people!, now kate, develop, the runtime, blah, works in my mac, I create those hombrew formulas and seems like everything is working fine, but now I have this issue: If I run kate or develop from command line it works but if I execute the kate.app I still got an error: http://imagebin.org/183224, about text editor is not found, here's the formulaes: https://github.com/nebiros/homebrew/com ... c33fc6e9a9.

Somebody can help me please?.
somekool
Registered Member
Posts
17
Karma
0
about your previous issue...

kdevelop(932)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found!

did you add the dependency in kderuntime?

Formula/kde-runtime.rb: depends_on 'oxygen-icons'


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]