Я пытаюсь установить Kjots из исходного кода. Пакет с исходным кодом доступен по адресу http://download.kde.org/stable/kjots/5.0.1/src/kjots-5.0.1.tar.xz
После установки инструкции от https://community.kde.org/PIM/KJots . Однако, получая ошибку ниже.
$ 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".
Есть ли у кого-нибудь проблемы с исправлением вышеуказанной ошибки?
ECMConfig.cmake
файл обеспечивается в Гостеприимном extra-cmake-modules
пакет, таким образом, необходимо установить это - или от любимого диспетчера пакетов или через командную строку
sudo apt install extra-cmake-modules
Для ошибок, связанных со следующей установкой сообщения
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.
libkf5kcmutils-dev
пакет.
sudo apt install libkf5kcmutils-dev
Вам, возможно, также понадобятся эти пакеты
libkf5kio-dev
, libkf5parts-dev
, libkf5akonadi-dev
, libkf5mime-dev
, libkf5akonadinotes-dev
, libkf5pimtextedit-dev
, libkf5kontactinterface-dev
, libgrantlee5-dev
пакеты.