How to compile kbreakout?

Discussion in 'Technology' started by Datatags, May 28, 2017.

  1. I can't seem to figure out how to compile kbreakout. I cloned the source from GitHub (git://anongit.kde.org/kbreakout) but now can't build it. It has a CMakeLists.txt file in each directory, but when I do `cmake`I get this:
    CMake Error at CMakeLists.txt:7 (find_package):
    Could not find a package configuration file provided by "ECM" (requested
    version 1.7.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.
    It's probably obvious, but I don't get it. Thanks in advance.
     
  2. Okay I fixed that, now I have this:
    [email protected]:~/Downloads/kbreakout/test$ 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.15.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:11 (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 "KF5Config"
    (requested version 5.15.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:11 (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 "KF5Crash"
    (requested version 5.15.0) with any of the following names:

    KF5CrashConfig.cmake
    kf5crash-config.cmake

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


    -- Could NOT find KF5Crash: found neither KF5CrashConfig.cmake nor kf5crash-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.15.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:11 (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 "KF5Config"
    (requested version 5.15.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:11 (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 "KF5DBusAddons"
    (requested version 5.15.0) with any of the following names:

    KF5DBusAddonsConfig.cmake
    kf5dbusaddons-config.cmake

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


    -- Could NOT find KF5DBusAddons: found neither KF5DBusAddonsConfig.cmake nor kf5dbusaddons-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.15.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:11 (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 "KF5ConfigWidgets"
    (requested version 5.15.0) with any of the following names:

    KF5ConfigWidgetsConfig.cmake
    kf5configwidgets-config.cmake

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


    -- Could NOT find KF5ConfigWidgets: found neither KF5ConfigWidgetsConfig.cmake nor kf5configwidgets-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 "KF5XmlGui"
    (requested version 5.15.0) with any of the following names:

    KF5XmlGuiConfig.cmake
    kf5xmlgui-config.cmake

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


    -- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-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 "KF5DocTools"
    (requested version 5.15.0) with any of the following names:

    KF5DocToolsConfig.cmake
    kf5doctools-config.cmake

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


    -- Could NOT find KF5DocTools: found neither KF5DocToolsConfig.cmake nor kf5doctools-config.cmake
    CMake Error at /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
    Could NOT find KF5 (missing: CoreAddons Config Crash WidgetsAddons Config
    DBusAddons I18n ConfigWidgets XmlGui DocTools) (Required is at least
    version "5.15.0")
    Call Stack (most recent call first):
    /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
    /usr/local/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
    CMakeLists.txt:11 (find_package)


    -- Configuring incomplete, errors occurred!
    See also "/home/AlanZ/Downloads/kbreakout/test/CMakeFiles/CMakeOutput.log".