J'essaie d'installer Kjots à partir des sources. Le paquet source est disponible sur http://download.kde.org/stable/kjots/5.0.1/src/kjots-5.0.1.tar.xz
J'ai suivi les instructions d'installation de https://community.kde.org/PIM/KJots . Cependant, obtenir l'erreur ci-dessous.
$ cmake .. -DCMAKE_INSTALL_PREFIX=~/kdelocalprefix/ -DCMAKE_BUILD_TYPE=debug
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:5 (find_package):
Could not find a package configuration file provided by "ECM" (requested
version 5.16.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 "/usr/local/src/kjots-5.0.1/build/CMakeFiles/CMakeOutput.log".
Quelqu'un a-t-il des idées sur la correction de l'erreur ci-dessus?
Le ECMConfig.cmake
le fichier est fourni dans Xenial par le extra-cmake-modules
package, vous devez donc l'installer - à partir de votre gestionnaire de packages préféré ou via la ligne de commande
Sudo apt install extra-cmake-modules
Pour les erreurs liées au message suivant
CMake Error at CMakeLists.txt:27 (find_package):
Could not find a package configuration file provided by "KF5KCMUtils"
(requested version 5.16.0) with any of the following names:
KF5KCMUtilsConfig.cmake
kf5kcmutils-config.cmake
Add the installation prefix of "KF5KCMUtils" to CMAKE_PREFIX_PATH or set
"KF5KCMUtils_DIR" to a directory containing one of the above files. If
"KF5KCMUtils" provides a separate development package or SDK, be sure it
has been installed.
installer libkf5kcmutils-dev
paquet.
Sudo apt install libkf5kcmutils-dev
Vous pouvez également avoir besoin de ces packages
libkf5kio-dev
, libkf5parts-dev
, libkf5akonadi-dev
, libkf5mime-dev
, libkf5akonadinotes-dev
, libkf5pimtextedit-dev
, libkf5kontactinterface-dev
, libgrantlee5-dev
paquets.