Bug 173625 - kde-pim does not build when it, kde-libs and kde-pim-libs are installed in different locations
Summary: kde-pim does not build when it, kde-libs and kde-pim-libs are installed in di...
Status: RESOLVED WORKSFORME
Alias: None
Product: buildsystem
Classification: Developer tools
Component: KDE4 (cmake) (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2008-10-26 19:11 UTC by Giambattista Bloisi
Modified: 2018-10-21 04:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A patch to let KDE-PIM-Libs to be found outside KDE-Libs folder (5.41 KB, patch)
2008-10-27 22:35 UTC, Giambattista Bloisi
Details
Patch to install dbus files in DBUS_INTERFACES_INSTALL_DIR instead of KDE4_DBUS_INTERFACES_DIR (7.73 KB, patch)
2008-10-27 22:38 UTC, Giambattista Bloisi
Details
Work-around example for kcfg2dbus.xsl (754 bytes, patch)
2008-10-27 22:41 UTC, Giambattista Bloisi
Details
Patch to install dbus files in DBUS_INTERFACES_INSTALL_DIR instead of KDE4_DBUS_INTERFACES_DIR (KDE-PIM 4.2.0) (7.78 KB, patch)
2009-02-01 16:09 UTC, Giambattista Bloisi
Details

Note You need to log in before you can comment on or make changes to this bug.
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!