[Digikam-users] Help building on OS X

Gilles Caulier caulier.gilles at gmail.com
Sun Aug 3 10:32:50 BST 2014


The trace look like a problem in KDELibs.

In this typical situation, i uninstall all macports, reinstall it, and
run my script to automatize installation of all components. digiKam
need to be compiled after that. You can use git/master as you said
previously. Here it work fine.

My scripts are here :

https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/show/project/macosx

macports-uninstall.sh remove whole macport from your MAC, typically
installed in /opt. This remove macport binary too...

macports-install.sh re-install all, including macports binary, process
update, and install all components to compile digiKam from git/master
After that, just checkout git/master code, and configure and compile
as you do previously.

macports-update.sh update all components installed through macports on
your computer.

Mine is installed since february 2014 and i just updated all since.

Gilles Caulier

2014-08-02 23:27 GMT+02:00 Viktor Hedefalk <hedefalk at gmail.com>:
> Hi,
>
> I'm trying to get started with digiKam on OS X. I think the
> instructions are a bit outdated and I could really use some help.
>
> I first tried the macports installation. Everything went smoothly but
> trying to start
>
> /Applications/MacPorts/KDE4/digikam.app
>
> it just crashes before any GUI is shown. I'll attach the thread dump.
>
> However, I then noticed that this was an outdated version (3.x) so I
> didn't research this any further but tried to build from source
> instead.
>
> So i cloned:
>
> git clone git://anongit.kde.org/digikam-software-compilation dk
>
> installed deps:
>
>> sudo port -v install qt4-mac +debug
>> sudo port -v install qt4-mac-sqlite3-plugin +debug
>> sudo port -v install kdelibs4 +debug
>> sudo port -v install kde4-baseapps +debug
>> sudo port -v install opencv +debug
>> sudo port -v install marble +debug
>> sudo port -v install oxygen-icons +debug
>> sudo port -v install sane-backends +debug
>> sudo port -v install libgpod +debug
>> sudo port -v install libgphoto2 +debug
>> sudo port -v install lensfun +debug
>> sudo port -v install liblqr +debug
>
>> ./download-repos
>> ./bootstrap.macports
>
> This seemed to go OK:
>
> "--  digiKam can be compiled.................. YES"
>
> Then
> make install
>
> which also succeeds and
>
> sudo make install/fast
>
> I then also ran:
>
>> launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>> /opt/local/bin/kbuildsycoca4
>
>
> Now it crashes with another failure. See attached log for 4.2.
>
> I guess the most relevant part is the main thread:
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libsystem_kernel.dylib         0x00007fff8a29f0c2 close + 10
> 1   libkdeui.5.dylib               0x000000010fb2bec7
> KCrash::defaultCrashHandler(int) + 247
> 2   libsystem_platform.dylib       0x00007fff92c6c5aa _sigtramp + 26
> 3   ???                           000000000000000000 0 + 0
> 4   libsystem_c.dylib             0x00007fff894c7b1a abort + 125
> 5   QtCore                         0x000000011111112b
> qt_message_output(QtMsgType, char const*) + 203
> 6   QtCore                         0x00000001111113c9
> qt_message(QtMsgType, char const*, __va_list_tag*) + 409
> 7   QtCore                         0x0000000111110caf qFatal(char
> const*, ...) + 159
> 8   QtGui                         0x0000000110164786
> QWidgetPrivate::QWidgetPrivate(int) + 774
> 9   QtGui                         0x00000001104ccf73
> QFramePrivate::QFramePrivate() + 19
> 10  QtGui                         0x000000011054f8fe
> QAbstractScrollAreaPrivate::QAbstractScrollAreaPrivate() + 14
> 11  QtGui                         0x0000000110554645
> QScrollArea::QScrollArea(QWidget*) + 37
> 12  digikam                       0x000000010ba4e3be
> Digikam::AssistantDlgPage::AssistantDlgPage(KAssistantDialog*, QString
> const&) + 46 (assistantdlgpage.cpp:65)
> 13  digikam                       0x000000010ba4ef8a
> Digikam::WelcomePage::WelcomePage(KAssistantDialog*) + 106
> (welcomepage.cpp:44)
> 14  digikam                       0x000000010ba4ef0d
> Digikam::WelcomePage::WelcomePage(KAssistantDialog*) + 29
> (welcomepage.cpp:57)
> 15  digikam                       0x000000010ba4dcac
> Digikam::AssistantDlg::AssistantDlg(QWidget*) + 300
> (assistantdlg.cpp:75)
> 16  digikam                       0x000000010ba4db6d
> Digikam::AssistantDlg::AssistantDlg(QWidget*) + 29
> (assistantdlg.cpp:91)
> 17  digikam                       0x000000010baa9511 main + 5169 (main.cpp:148)
> 18  libdyld.dylib                 0x00007fff92d0f5fd start + 1
>
>
>
> I probably don't correctly understand the instructions and miss some
> dependency or something.
>
> Any help is highly appreciated!
>
> Thanks,
> Viktor
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>



More information about the Digikam-users mailing list