kotelnik / plasma-applet-thermal-monitor

Plasma 5 applet for monitoring CPU, GPU and other available temperature sensors.
GNU General Public License v2.0
111 stars 63 forks source link

Can not build on Ubuntu 18 #47

Open asmyshlyaev177 opened 6 years ago

asmyshlyaev177 commented 6 years ago

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

Malekblubb commented 6 years ago

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

robertgroh commented 4 years ago

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