[Digikam-users] Help building on OS X
Gilles Caulier
caulier.gilles at gmail.com
Sun Aug 17 10:45:42 BST 2014
As MACBook Pro user, i tried to package offcial digiKam 4.0.0 release
through macports, which compile and install fine.
I tried to run "port mdmg digikam" as explained here :
https://guide.macports.org/chunked/using.binaries.html
... but compilation fail somewhere with dependencies. I think
something is wrong with macports rules somewhere and must be reported
to macports bugzilla.
Gilles Caulier
2014-08-17 11:04 GMT+02:00 Agustin Lobo <alobolistas at gmail.com>:
> Why not having a dmg? Installing Digikam on Mac OSX is just a nightmare.
> Such an excellent software (the best photo cataloging system) is
> unavailable in practice for most Mac OSX users.
> I'm finally using lightroom (which is definetly not as good!) just
> because cannot afford investing so much time on installing every new
> version of digikam. What an absurd situation.
> Agus
>
>
>
> On Mon, Aug 4, 2014 at 8:32 AM, Viktor Hedefalk <hedefalk at gmail.com> wrote:
>> Awesome, thanks! It worked.
>>
>> Cheers,
>> Viktor
>>
>> On Sun, Aug 3, 2014 at 11:32 AM, Gilles Caulier
>> <caulier.gilles at gmail.com> wrote:
>>> 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
>>>>
>>> _______________________________________________
>>> Digikam-users mailing list
>>> Digikam-users at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
> _______________________________________________
> 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