this post was submitted on 01 Jul 2023
1 points (66.7% liked)

KDE

5246 readers
52 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

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!
you are viewing a single comment's thread
view the rest of the comments
[–] Justin@apollo.town 1 points 1 year ago (6 children)

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

[–] Username@lemmy.kde.social 1 points 1 year ago (2 children)

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)
[–] PureTryOut@lemmy.kde.social 1 points 1 year ago (1 children)

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.

[–] Username@lemmy.kde.social 1 points 1 year ago (1 children)

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@lemmy.kde.social 1 points 1 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?

[–] Justin@apollo.town 1 points 1 year ago (1 children)

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?

load more comments (3 replies)