This is the error returned when I run cmake -B build -G Ninja:

Installing in /usr/local. Run /home/vehementham/haruna/build/prefix.sh to set the environment for haruna.
CMake Warning at /usr/share/ECM/kde-modules/KDEGitCommitHooks.cmake:84 (message):
  No clang-format executable was found, skipping the formatting pre-commit
  hook
Call Stack (most recent call first):
  CMakeLists.txt:33 (kde_configure_git_pre_commit_hook)


CMake Error at CMakeLists.txt:43 (find_package):
  Could not find a package configuration file provided by "QT" with any of
  the following names:

    Qt6Config.cmake
    qt6-config.cmake
    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "QT" to CMAKE_PREFIX_PATH or set "QT_DIR" to
  a directory containing one of the above files.  If "QT" provides a separate
  development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
  • Justin
    link
    fedilink
    English
    11 year ago

    When installing from source you need to install the build dependencies. In this case it’s looking for the Qt5 or 6 development package.

    • @UsernameOP
      link
      English
      11 year ago

      Oh, I see. okay, well I have a new error now:

      -- The following REQUIRED packages have not been found:
       * Qt5Qml
       * Qt5Quick
       * Qt5QuickControls2
       * Qt5X11Extras
       * Libmpv, mpv media player client library, <https://mpv.io>
       * FFmpeg
       * KF5Config, <https://api.kde.org/frameworks/kconfig/html/index.html>
       * KF5CoreAddons, <https://api.kde.org/frameworks/kcoreaddons/html/index.html>
       * KF5FileMetaData, <https://api.kde.org/frameworks/kfilemetadata/html/index.html>
       * KF5I18n, <https://api.kde.org/frameworks/ki18n/html/index.html>
       * KF5IconThemes, <https://api.kde.org/frameworks/kiconthemes/html/index.html>
       * KF5KIO, <https://api.kde.org/frameworks/kio/html/index.html>
       * KF5Kirigami2, <https://api.kde.org/frameworks/kirigami/html/index.html>
       * KF5ConfigWidgets, <https://api.kde.org/frameworks/kconfigwidgets/html/index.html>
       * KF5WindowSystem, <https://api.kde.org/frameworks/kwindowsystem/html/index.html>
      
      CMake Error at /usr/share/cmake-3.26/Modules/FeatureSummary.cmake:464 (message):
        feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
        run.
      Call Stack (most recent call first):
        CMakeLists.txt:129 (feature_summary)
      
      • Justin
        link
        fedilink
        English
        11 year ago

        Indeed this is the fun part when compiling software. You need to find each of the packages that provide these. Depending on the distro, some provide an easy way to do this. What are you using?

      • PureTryOut
        link
        English
        11 year ago

        Again, build dependencies. Please read the error message, it tells you exactly what you’re missing.

        Note that installing from source like that is not recommended, it’s better to use your distributions package manager.

        • @UsernameOP
          link
          English
          11 year ago

          It is not in the package manger. I am also very confused because it lists a ton of packages that I already have installed.

          • PureTryOut
            link
            English
            11 year ago

            You’re missing the build headers of those dependencies. Depending on the distribution it’s often called something like <packagename>-dev or <packagename>-devel. And what distribution is this that doesn’t have Haruna?