[massif-visualizer] [Bug 381498] New: CMake fails since it does not find file 'CMakeFindDependencyMacro'

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Jun 21 17:58:54 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=381498

            Bug ID: 381498
           Summary: CMake fails since it does not find file
                    'CMakeFindDependencyMacro'
           Product: massif-visualizer
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: massif-visualizer at kde.org
          Reporter: science at konze.org
  Target Milestone: 0.4

Hello there,

currently I'm trying to compile massif-visualizer from the git repository. As
stated in the INSTALL file I created a directory 'build' and executed 'cmake
..'. At first CMake complained that certain dependencies are missing. Due to
this, I installed the following packages with 'yum' (Scientific Linux 7.3):

kf5-kconfig-gui-5.33.0-1.el7.x86_64
kf5-kconfig-devel-5.33.0-1.el7.x86_64
kf5-kconfig-core-5.33.0-1.el7.x86_64
kf5-kconfig-5.33.0-1.el7.x86_64
kf5-karchive-devel-5.33.0-1.el7.x86_64
kf5-karchive-5.33.0-1.el7.x86_64
kf5-filesystem-5.33.0-1.el7.x86_64
qt5-qtxmlpatterns-devel-5.6.1-10.el7.x86_64
qt5-qtsvg-devel-5.6.1-10.el7.x86_64
qt5-qtsvg-5.6.1-10.el7.x86_64
kf5-rpm-macros-5.33.0-1.el7.noarch
extra-cmake-modules-5.33.0-1.el7.noarch

Now CMake seems to be satisfied with all dependencies, however, it now fails
with the following error message:

-- Could not set up the appstream test. appstreamcli is missing.
CMake Error at /usr/lib64/cmake/KF5Archive/KF5ArchiveConfig.cmake:37 (include):
  include could not find load file:

    CMakeFindDependencyMacro
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
  CMakeLists.txt:34 (find_package)


CMake Error at /usr/lib64/cmake/KF5Archive/KF5ArchiveConfig.cmake:38
(find_dependency):
  Unknown CMake command "find_dependency".
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
  CMakeLists.txt:34 (find_package)


-- Configuring incomplete, errors occurred!
See also
"/local/luebeck/git/massif-visualizer/build/CMakeFiles/CMakeOutput.log".

I'm a little bit confused since I installed all KF5 dependencies and the
extra-cmake-modules (ECM). What else do I miss?

Best regards,

Konze

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Massif-visualizer mailing list