Bug 290496 - Fails to build
Summary: Fails to build
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 13:40 UTC by Andreas K. Huettel
Modified: 2018-02-04 07:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Huettel 2012-01-03 13:40:45 UTC
digikam-2.5.0 core fails to build against libkipi from kde-4.7.95... here's the error:

["hat kein Element namens" = "has no element named"]

/var/tmp/portage/media-gfx/digikam-2.5.0/work/digikam-2.5.0/core/utilities/setup/setupplugins.cpp: In Elementfunktion »void Digikam::SetupPlugins::slotCheckAll()«:
/var/tmp/portage/media-gfx/digikam-2.5.0/work/digikam-2.5.0/core/utilities/setup/setupplugins.cpp:161:20: Fehler: »class KIPI::ConfigWidget« hat kein Element namens »slotCheckAll«
/var/tmp/portage/media-gfx/digikam-2.5.0/work/digikam-2.5.0/core/utilities/setup/setupplugins.cpp: In Elementfunktion »void Digikam::SetupPlugins::slotClear()«:
/var/tmp/portage/media-gfx/digikam-2.5.0/work/digikam-2.5.0/core/utilities/setup/setupplugins.cpp:168:20: Fehler: »class KIPI::ConfigWidget« hat kein Element namens »slotClear«
make[2]: *** [digikam/CMakeFiles/digikam.dir/__/utilities/setup/setupplugins.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Fehler 2
make: *** [all] Fehler 2
Comment 1 caulier.gilles 2012-01-03 13:48:50 UTC
This is not compilation problem i think, but linking problem from your system.

Do you have only one libkipi installed on your system, because here it compile and link fine ?

Gilles Caulier
Comment 2 Islam Wazery 2012-01-03 13:51:28 UTC
If you commented out both lines 161 and 168 in
the /core/utilities/setup/setupplugins.cpp It will compile properly.
Comment 3 caulier.gilles 2012-01-03 14:13:38 UTC
Git commit 38e77c148d6ab7c789642292e2225390907718ec by Gilles Caulier.
Committed on 03/01/2012 at 15:05.
Pushed by cgilles into branch 'master'.

2 new slots have been added by Andi in ConfigWidget. Bump version ID properly
CCBUGS: 290496

M  +4    -3    CMakeLists.txt

http://commits.kde.org/libkipi/38e77c148d6ab7c789642292e2225390907718ec
Comment 4 caulier.gilles 2012-01-03 14:18:16 UTC
Git commit 25cc9c9876a5233bd630105d0110319892d4e18c by Gilles Caulier.
Committed on 03/01/2012 at 15:16.
Pushed by cgilles into branch 'master'.

enable checkall and clearall buttons only with libkipi version 1.4.0

M  +11   -2    utilities/setup/setupplugins.cpp
M  +2    -2    utilities/setup/setupplugins.h

http://commits.kde.org/digikam/25cc9c9876a5233bd630105d0110319892d4e18c
Comment 5 Andreas K. Huettel 2012-01-03 16:32:49 UTC
Thanks a lot, works like a charm. :)


(
Only libkipi versions here:
porto ~ # ldconfig -v|grep -i kipi
        libkipiplugins.so.2 -> libkipiplugins.so.2.0.0
        libkipi.so.8 -> libkipi.so.8.0.1
)