On 8/19/19 3:32 PM, Bruce Dubbs wrote:
On 8/19/19 2:58 PM, Pierre Labastie via blfs-support wrote:
Riccardo G Corsi via blfs-support wrote:
errata: /opt/kf5/lib/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfig.cmake
is the file I've modified
Riccardo
Il giorno lun 19 ago 2019 alle ore 18:39 Riccardo Corsi
<[email protected] <mailto:[email protected]>> ha scritto:
On 19/08/2019 17:00, Bruce Dubbs via blfs-support wrote:
>/On 8/19/19 8:22 AM, Pierre Labastie via blfs-support wrote:
/>>/Building plasma 5.15.5 as per the book, when configuring
plasma-workspace:
/>>/--------------------->8------------------------------ />//>>/Call
Stack (most recent call first): />>/
/opt/kf5/lib/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfig.cmake:35
/>>/(set_and_check) />>/ /usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package) />>/ CMakeLists.txt:45 (find_package) />>//>>//>>/--
Configuring incomplete, errors occurred! />>/See also
/>>/"/sources/plasma5/plasma-workspace-5.15.5/build/CMakeFiles/CMakeOutput.log".
/>>//>>/--------------------->8------------------------------
/>>/Could it be that this comes from having ECM in /usr, while the
rest of kf5 is />>/in opt? />//>/I don't think so, but I will be
updating to plasma 5.16.0 later
today. />/Generally the types of errors above are due to PATH or
ldconfig/ld.so.conf />/issues. ///
Hi Pierre, Bruce, yesterday I was in a hurry to complete build of
my kde/plasma (last 9.0).
I hacked a cmake:
/opt/kf5/lib/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfigVersion.cmake
with:
set_and_check(PlasmaQuick_INCLUDE_DIR
"/opt/kf5/include/KF5/plasmaquick")
I'm using plasma compiled now. Of course waiting for a better
solution or the new release!.
Nice workaround... I've uninstalled ECM from /usr and installed it in
/opt/kf5, and now plasma-workspace compiles (BTW no need for the sed
now).
We install ECM in /usr because it is needed for breeze and oxygen icons
and they can be used without kf5/plasma.
I just ran into the PlasmaQuick problem. Investigating...
The problem is with cmake.
At the top of KF5PlasmaQuickConfig.cmake is:
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/..
/../../" ABSOLUTE)
which resolves to /opt/kf5 which is correct.
Later it does:
include(CMakeFindDependencyMacro)
and that changes PACKAGE_PREFIX_DIR to /usr.
CMakeFindDependencyMacro.cmake is in /usr/share/cmake-3.15/Modules.
I tried commenting out the following:
#include(CMakeFindDependencyMacro)
#find_dependency(KF5Plasma "5.61.0")
and the package builds OK.
It's unclear to my why including a file that just defines a macro would
change PACKAGE_PREFIX_DIR. That variable is not even defined in the
included file.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page