Could not find a configuration file for package "ECM" that is compatible with requested version 1.5.0
47,658
Solution 1
Try to clone, compile and install the extra-cmake-modules
KDE project.
git clone https://invent.kde.org/frameworks/extra-cmake-modules.git
cd extra-cmake-modules
mkdir build && cd build
cmake ..
make && sudo make install
Solution 2
In my case I simply had to install the extra-cmake-modules package.
sudo pacman -S extra-cmake-modules
Related videos on Youtube
Comments
-
pushandpop over 1 year
I tried to download "ECMConfig.cmake" from repository, but terminal gives me an error: "question's title + The following configuration files were considered but not accepted: ECMConfig.cmake : version is unknowed. I tried to search on Google, but got nothing. I wanted to compile from source "kde frameworks" using this command:
cmake .. -DCMAKE_INSTALL_PREFIX=/home/john/QtProjects/KDEStuff/frameworkintegration/build/ -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_PREFIX_PATH=/home/john/Downloads/
P.S:
"/home/john/Downloads/" - where my *.cmake is. -
im_infamous almost 8 yearsToo bad that these commands did not work in my case. I've got
CMake Error at /usr/local/share/ECM/modules/ECMQueryQmake.cmake:23
with messageQMake call failed: No such file or directory
even after execution of all above. Update is appreciated. -
Diego Lopez almost 8 years@im_infamous Please check that last command
sudo make install
was succesfull. -
Antonio Petricca almost 6 yearsThis is the best solution!
-
erik over 4 yearsWorked for me with Fedora 30.
-
Sigismund over 3 yearsPackage is now located @ github.com/KDE/extra-cmake-modules
-
Javier Cordero over 3 yearsThe GitHub link is a mirror available for everyone's convenience. The main git repository is now at: invent.kde.org/frameworks/extra-cmake-modules.git
-
Rγσ ξηg Lιαη Ημ almost 3 yearsthanks lot, github.com/Tatsh/kate-wakatime/issues/16
-
Admin almost 2 yearsOr sudo apt-get install extra-cmake-modules