Bug 173625

Summary: kde-pim does not build when it, kde-libs and kde-pim-libs are installed in different locations
Product: [Developer tools] buildsystem Reporter: Giambattista Bloisi <giamby>
Component: KDE4 (cmake)Assignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: finex, mumismo
Priority: NOR Keywords: investigated, triaged
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A patch to let KDE-PIM-Libs to be found outside KDE-Libs folder
Patch to install dbus files in DBUS_INTERFACES_INSTALL_DIR instead of KDE4_DBUS_INTERFACES_DIR
Work-around example for kcfg2dbus.xsl
Patch to install dbus files in DBUS_INTERFACES_INSTALL_DIR instead of KDE4_DBUS_INTERFACES_DIR (KDE-PIM 4.2.0)

Description Giambattista Bloisi 2008-10-26 19:11:25 UTC
Version:            (using KDE 4.1.2)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled From Sources

I'm in an environment where:
- kde-libs is installed in /Programs/KDE-Libs/4.1.2
- kde-pim-libs in /Programs/KDE-PIM-Libs/4.1.2

I'm trying to install KDE-PIM in /Programs/KDE-PIM/4.1.2.

Configure fails as it does not find symbols associated with kde-pim-libs libraries (KDE4_AKONADI_LIBRARY,KDE4_KBLOG_LIBRARY,...), because FindKdepimLibs.cmake expects them to be installed in /Programs/KDE-Libs/4.1.2.

If I hack FindKdepimLibs.cmake to find libraries, make fails with the following error:

make[2]: *** No rule to make target `/Programs/KDE-PIM/4.1.2/share/apps/akonadi-kde/kcfg2dbus.xsl', needed by `akonadi/resources/knut/org.kde.Akonadi.Knut.Settings.xml'.  Stop.
make[1]: *** [akonadi/resources/knut/CMakeFiles/akonadi_knut_resource.dir/all] Error 2
Comment 1 Giambattista Bloisi 2008-10-27 22:35:27 UTC
Created attachment 28188 [details]
A patch to let KDE-PIM-Libs to be found outside KDE-Libs folder
Comment 2 Giambattista Bloisi 2008-10-27 22:38:21 UTC
Created attachment 28189 [details]
Patch to install dbus files in DBUS_INTERFACES_INSTALL_DIR instead of KDE4_DBUS_INTERFACES_DIR
Comment 3 Giambattista Bloisi 2008-10-27 22:41:11 UTC
Created attachment 28190 [details]
Work-around example for kcfg2dbus.xsl

This patch is only explicative.
It is used along with -DKDEPIMLIBS_PATH="$kde_pim_libs_path" cmake option.
Comment 4 Jordi Polo 2008-11-29 13:36:02 UTC
Moved to buildsystem
Comment 5 Giambattista Bloisi 2009-02-01 16:07:37 UTC
Most of the problems have been fixed with KDE-PIM 4.2.0.

There is still one problem with dbus files: they are installed in KDE4_DBUS_INTERFACES_DIR instead of DBUS_INTERFACES_INSTALL_DIR.
An updated patch will be attached.
Comment 6 Giambattista Bloisi 2009-02-01 16:09:31 UTC
Created attachment 30827 [details]
Patch to install dbus files in DBUS_INTERFACES_INSTALL_DIR instead of KDE4_DBUS_INTERFACES_DIR (KDE-PIM 4.2.0)
Comment 7 FiNeX 2010-08-03 17:48:42 UTC
Hi! Is this bug still valid on more recent KDE 4 versions?
Comment 8 Andrew Crouthamel 2018-09-20 22:06:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Andrew Crouthamel 2018-10-21 04:43:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!