Bug 245887 - Howto build digikam under 64bit
Summary: Howto build digikam under 64bit
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Cmake (show other bugs)
Version: 1.4.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 11:55 UTC by Seb
Modified: 2017-07-28 07:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0
Sentry Crash Report:


Attachments
Errors in shell after starting digikam (14.93 KB, application/octet-stream)
2010-07-27 13:17 UTC, Seb
Details
Extract of .xsession-errors (there's a lot going on in there) (13.71 KB, application/octet-stream)
2010-07-27 13:18 UTC, Seb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seb 2010-07-27 11:55:23 UTC
Version:           unspecified (using KDE 4.4.92) 
OS:                Linux

Dear list-Members,

I have been building digikam/kipi-plugins etc since Ubuntu 9.04 (using the Howtos on the digikam homepage). Up to now (Ubuntu 10.04/ KDE 4.5 RC2) it always compiled and installed fine. But after starting digikam, there are never any thumbnails displayed showing the (I guess well-known) kio_digikamalbums (couldn't create slave) error.

I am pretty sure that this is true to not correctly linked libraries on a 64bit system. But up to now (trying everything I found on the web) I didn't succeed to build digikam correctly.

So could you please give me any advice on howto correctly build digikam on a 64bit system?

Thank you very much in advance,
Sebastian

Reproducible: Always

Steps to Reproduce:
As inhttp://www.digikam.org/drupal/download?q=download/KDE4 I install

- kdegraphics
- graphics (kipi-plugins and digikam)

originally I used that guide: http://techbase.kde.org/Projects/Digikam/Compilation_on_Kubuntu and it does the same I think (and that is also why I think there must be a problem with the libraries - because here you set a lot of system variables which is confusing because in the digikam howtos nothing is set).
Comment 1 Johannes Wienke 2010-07-27 12:11:09 UTC
After starting digikam have a look into your .xsession-errors and paste the messages here.
Comment 2 Seb 2010-07-27 13:17:14 UTC
Created attachment 49526 [details]
Errors in shell after starting digikam
Comment 3 Seb 2010-07-27 13:18:17 UTC
Created attachment 49527 [details]
Extract of .xsession-errors (there's a lot going on in there)
Comment 4 Johannes Wienke 2010-07-27 13:30:20 UTC
There must be something wrong with your installation:

"Could not find 'kio_digikamalbums' executable."

can you find this file in your computer? Where is it?
Comment 5 Seb 2010-07-27 13:32:39 UTC
xyz:~$ locate kio_digikamalbums
/usr/local/lib/kde4/kio_digikamalbums.so

and

xyz:~$ ls -lh /usr/local/lib/kde4/kio_*
-rw-r--r-- 1 root root 448K 2010-07-27 12:47 /usr/local/lib/kde4/kio_digikamalbums.so
-rw-r--r-- 1 root root 343K 2010-07-27 12:50 /usr/local/lib/kde4/kio_digikamdates.so
-rw-r--r-- 1 root root 370K 2010-07-27 12:50 /usr/local/lib/kde4/kio_digikamsearch.so
-rw-r--r-- 1 root root 342K 2010-07-27 12:50 /usr/local/lib/kde4/kio_digikamtags.so
Comment 6 Johannes Wienke 2010-07-27 13:50:35 UTC
I'd suspect that kio is searching for those files in folders called lib64 on your system. But that's only a guess.  Also try to set the LD_LIBRARY_PATH to the folder containing kio_digikamalbums.so as a try.
Comment 7 Seb 2010-07-27 14:10:09 UTC
I now set: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ; export LD_LIBRARY_PATH

Correct? But that should automatically be done by the env_svn.sh-script.
 It still does not work. That libraries must be correctly linked was also my guess. But how?

Could it be due to this dbus-error:
QStringList Solid::Backends::KUPnP::KUPnPManager::findDeviceByDeviceInterface(Solid::DeviceInterface::Type)  error:  "org.freedesktop.DBus.Error.ServiceUnknown"

? Probably my system is seriously damaged?
Comment 8 Johannes Wienke 2010-07-27 15:40:43 UTC
I don't use that script... But everything so far looks ok. I got no idea whats going wrong. I'm also using digikam on 64 bits without problems. The difference is that I install it in the main kde prefix /usr, but in general it should be possible to install it anywhere else.

That solid error looks unrelated to me.

What you could try to change is the order of link paths, so first /usr/local/lib and then the old ones.
Comment 9 caulier.gilles 2011-12-13 13:09:40 UTC
Seb,

This entry still valid ?

Gilles Caulier
Comment 10 caulier.gilles 2013-11-27 12:58:09 UTC
Seb,

This entry still valid using digiKam 3.x serie ?

Gilles Caulier
Comment 11 caulier.gilles 2015-06-30 08:07:06 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 12 caulier.gilles 2016-07-14 13:14:28 UTC
With digiKam 5.0.0, there is all instruction to compile digiKam in source code documention
Gilles Caulier