I am attempting to build massif-visualizer on CentOS 7. Unfortunately I'm having to try to guess at dependencies as they are not all listed in the INSTALL
file. So far:
yum install git
yum install kdelibs-devel extra-cmake-modules
qt5-qtsvg-devel qt5-qtxmlpatterns-devel
kf5-kparts-devel kf5-karchive-devel
git clone https://github.com/KDE/massif-visualizer
cd massif-visualizer
mkdir build
(cd build && cmake .. && make && make install)
Those Qt5 and KF5 packages were added to the yum
command largely by trial and error, and some pattern-matching from CMake error messages … but I cannot seem to figure out how to resolve these last errors:
-- 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)
Is this because, on CentOS 7, CMake (2.8.12.2) is too old? Or something else?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…