morpheusthewhite / nordpy-plasmoid

A plasmoid for controlling nordpy (https://github.com/morpheusthewhite/nordpy)
Other
12 stars 1 forks source link

Missing compilation dependencies in README #3

Closed MountainX closed 4 years ago

MountainX commented 4 years ago

Can you suggest what I need to check to resolve this error?

I have polkit and nordpy installed.

Building and installing plasmoid
CMake Error at CMakeLists.txt:5 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.4.0) 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 "/opt/nordpy-plasmoid/build/CMakeFiles/CMakeOutput.log".
Failed building plasmoid
morpheusthewhite commented 4 years ago

They are the KDE developing modules for KDE; to install them

git clone git://anongit.kde.org/extra-cmake-modules
cd extra-cmake-modules
mkdir build && cd build    
cmake ..
make && sudo make install

Source: https://superuser.com/questions/850029/could-not-find-a-configuration-file-for-package-ecm-that-is-compatible-with-re

I should actually provide some precompiled package in order to avoid this