plasma-applet-thermal-monitor icon indicating copy to clipboard operation
plasma-applet-thermal-monitor copied to clipboard

Can not build on Ubuntu 18

Open asmyshlyaev177 opened this issue 5 years ago • 2 comments

When try to run cmake .. -DCMAKE_INSTALL_PREFIX=/usr

Got error

CMake Error at CMakeLists.txt:6 (find_package): Could not find a package configuration file provided by "ECM" (requested version 0.0.11) with any of the following names:

ECMConfig.cmake
ecm-config.cmake

Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR" to a directory containing one of the above files. If "ECM" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/home/alex/plasma-applet-thermal-monitor/build/CMakeFiles/CMakeOutput.log".

Log file https://ufile.io/6caj0 System - Ubuntu 18, 4.17.0-12.1-liquorix-amd64

asmyshlyaev177 avatar Aug 19 '18 13:08 asmyshlyaev177

You can fix this by simply installing "extra-cmake-modules": arch: sudo pacman -S extra-cmake-modules or ubuntu: sudo apt-get install extra-cmake-modules

Malekblubb avatar Sep 12 '18 13:09 Malekblubb

I also needed the development files of the plasma framework (package name: libkf5plasma-dev).

robertgroh avatar Jan 17 '20 13:01 robertgroh