This forum has been archived. All content is frozen. Please use KDE Discuss instead.

configuration incomplete while building krita!

Tags: None
(comma "," separated)
yashdhingra
Registered Member
Posts
4
Karma
0
I am trying to build krita on my Ubuntu LTS 16.04 but got stuck while configuring with cMake file.
I am building krita using Mr. David Revoy tutorial for linux with the link : http://www.davidrevoy.com/article193/guide-building-krita-on-linux-for-cats
I have installed all libraries and dependencies using the link in tutorial : https://community.kde.org/Krita/linuxbuild


Code: Select all
yash build $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/krita/inst $HOME/krita/src -DWITH_GMIC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPRODUCTSET=ALL -DPACKAGERS_BUILD=ON -DBUILD_TESTING=OFF -DKDE4_BUILD_TESTS=OFF
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- 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
-- Using CMake version: 3.5.1
-- Krita version: 4.0.0-pre-alpha
-- Release build: TRUE
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "3.0")
-- Found PythonInterp: /usr/bin/python3 (found version "3.5.2")
-- Python system site-packages directory: /usr/lib/python3/dist-packages
-- The Python files will be installed to /home/yash/krita/inst/lib/python3.5/site-packages. Make sure to add them to the Python search path (e.g. by setting PYTHONPATH)
-- Found PythonLibrary: /usr/lib/x86_64-linux-gnu/libpython2.7.so (Required is at least version "3.0")
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Archive"
  (requested version 5.7.0) with any of the following names:

    KF5ArchiveConfig.cmake
    kf5archive-config.cmake

  Add the installation prefix of "KF5Archive" to CMAKE_PREFIX_PATH or set
  "KF5Archive_DIR" to a directory containing one of the above files.  If
  "KF5Archive" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5Archive: found neither KF5ArchiveConfig.cmake nor kf5archive-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Config"
  (requested version 5.7.0) with any of the following names:

    KF5ConfigConfig.cmake
    kf5config-config.cmake

  Add the installation prefix of "KF5Config" to CMAKE_PREFIX_PATH or set
  "KF5Config_DIR" to a directory containing one of the above files.  If
  "KF5Config" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5Config: found neither KF5ConfigConfig.cmake nor kf5config-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5WidgetsAddons"
  (requested version 5.7.0) with any of the following names:

    KF5WidgetsAddonsConfig.cmake
    kf5widgetsaddons-config.cmake

  Add the installation prefix of "KF5WidgetsAddons" to CMAKE_PREFIX_PATH or
  set "KF5WidgetsAddons_DIR" to a directory containing one of the above
  files.  If "KF5WidgetsAddons" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5WidgetsAddons: found neither KF5WidgetsAddonsConfig.cmake nor kf5widgetsaddons-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Completion"
  (requested version 5.7.0) with any of the following names:

    KF5CompletionConfig.cmake
    kf5completion-config.cmake

  Add the installation prefix of "KF5Completion" to CMAKE_PREFIX_PATH or set
  "KF5Completion_DIR" to a directory containing one of the above files.  If
  "KF5Completion" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5Completion: found neither KF5CompletionConfig.cmake nor kf5completion-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5CoreAddons"
  (requested version 5.7.0) with any of the following names:

    KF5CoreAddonsConfig.cmake
    kf5coreaddons-config.cmake

  Add the installation prefix of "KF5CoreAddons" to CMAKE_PREFIX_PATH or set
  "KF5CoreAddons_DIR" to a directory containing one of the above files.  If
  "KF5CoreAddons" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5CoreAddons: found neither KF5CoreAddonsConfig.cmake nor kf5coreaddons-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5GuiAddons"
  (requested version 5.7.0) with any of the following names:

    KF5GuiAddonsConfig.cmake
    kf5guiaddons-config.cmake

  Add the installation prefix of "KF5GuiAddons" to CMAKE_PREFIX_PATH or set
  "KF5GuiAddons_DIR" to a directory containing one of the above files.  If
  "KF5GuiAddons" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5GuiAddons: found neither KF5GuiAddonsConfig.cmake nor kf5guiaddons-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5I18n"
  (requested version 5.7.0) with any of the following names:

    KF5I18nConfig.cmake
    kf5i18n-config.cmake

  Add the installation prefix of "KF5I18n" to CMAKE_PREFIX_PATH or set
  "KF5I18n_DIR" to a directory containing one of the above files.  If
  "KF5I18n" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5I18n: found neither KF5I18nConfig.cmake nor kf5i18n-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5ItemModels"
  (requested version 5.7.0) with any of the following names:

    KF5ItemModelsConfig.cmake
    kf5itemmodels-config.cmake

  Add the installation prefix of "KF5ItemModels" to CMAKE_PREFIX_PATH or set
  "KF5ItemModels_DIR" to a directory containing one of the above files.  If
  "KF5ItemModels" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5ItemModels: found neither KF5ItemModelsConfig.cmake nor kf5itemmodels-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5ItemViews"
  (requested version 5.7.0) with any of the following names:

    KF5ItemViewsConfig.cmake
    kf5itemviews-config.cmake

  Add the installation prefix of "KF5ItemViews" to CMAKE_PREFIX_PATH or set
  "KF5ItemViews_DIR" to a directory containing one of the above files.  If
  "KF5ItemViews" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5ItemViews: found neither KF5ItemViewsConfig.cmake nor kf5itemviews-config.cmake
CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5WindowSystem"
  (requested version 5.7.0) with any of the following names:

    KF5WindowSystemConfig.cmake
    kf5windowsystem-config.cmake

  Add the installation prefix of "KF5WindowSystem" to CMAKE_PREFIX_PATH or
  set "KF5WindowSystem_DIR" to a directory containing one of the above files.
  If "KF5WindowSystem" provides a separate development package or SDK, be
  sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:250 (find_package)


-- Could NOT find KF5WindowSystem: found neither KF5WindowSystemConfig.cmake nor kf5windowsystem-config.cmake
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find KF5 (missing: Archive Config WidgetsAddons Completion
  CoreAddons GuiAddons I18n ItemModels ItemViews WindowSystem) (Required is
  at least version "5.7.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  CMakeLists.txt:250 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/yash/krita/build/CMakeFiles/CMakeOutput.log".

Please help me to think over it!

Last edited by yashdhingra on Thu Dec 21, 2017 2:23 pm, edited 1 time in total.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Read the output: it is very clear.

The versions of the dependencies you installed are too old.

As the last guide you link to says:

"Notes: Ubuntu L.T.S and its derivatives (Linux Mint/Elementary) use too old packages to build Krita 4.x. If you want to compile Krita, use the short term support releases."

So, update your Ubuntu to a more recent version, or remove the dependencies and build them yourself using the guide in the 3rdparty folder, or find ppa's that add more recent versions of Qt, KDE Frameworks and Vc.
yashdhingra
Registered Member
Posts
4
Karma
0
Thank you very much sir,
i will upgrade my Ubuntu OS to the latest version ..... :)
can i get to know ! -what do they mean by "short term support release" :Notes: Ubuntu L.T.S and its derivatives (Linux Mint/Elementary) use too old packages to build Krita 4.x. If you want to compile Krita, use the short term support releases.
mvowada
Registered Member
Posts
322
Karma
1
yashdhingra wrote:can i get to know ! -what do they mean by "short term support release"

Hi yashdhingra,
Long-Term Support versions (LTS) are supported for a longer than normal period. Implicitly, the others are also referred as mid(short)-term versions.
Installing Ubuntu 16.10 and up should help in your case.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]