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

Can't run bash install.sh, KF5PlasmaCOnfig.cmake missing

Tags: None
(comma "," separated)
vegarab
Registered Member
Posts
3
Karma
0
Hi! First time poster, and first-time user of KDE Neon Plasma 5.10

I wanted to get a top-bar like in Unity, having a global menu and move the WIndow-buttons up there as well. I found a widget called Active WIndow Control, which allows me to add the title of the application I am currently using, and merge the Window buttons with the global menu on maximizing. I used this Widget by installing it through the "get more widgets" function. I realized that the title of the application in the top left is not adaptive with the spacing, and therefore either overlaps the global menu or leaves a huge gap.

I read that the newest version of Active Window Control was available directly from GitHub. I headed over (https://github.com/kotelnik/plasma-appl ... ow-control), extracted it to ~/.local/share/plasma/plasmoids/ and ran

Code: Select all
sudo bash install.sh


It returned some errors that I figured was because I am missing CMake. I installed it, and now have version 3.9.0:
Code: Select all
cmake --version
cmake version 3.9.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).


I tried to install again, but it gave me some errors that I was missing Qt5. I ran:
Code: Select all
sudo apt-get install qt5-default
sudo apt-get install qtdeclarative5-dev


Once again I receive a new error upon running the install.sh script. Now I am unsure what to do. It says I am missing KF5PlasmaConfig.cmake and kf5Plasma-config.cmake?

What do? I Just want to run an install.sh file and install a Widget...

This is the whole errormessage:
Code: Select all
sudo bash install.sh
-- Could NOT find KF5Plasma (missing: KF5Plasma_DIR)
-- Could NOT find KF5Plasma: found neither KF5PlasmaConfig.cmake nor kf5plasma-config.cmake
-- Could NOT find KF5WindowSystem (missing: KF5WindowSystem_DIR)
-- Could NOT find KF5WindowSystem: found neither KF5WindowSystemConfig.cmake nor kf5windowsystem-config.cmake
CMake Error at /usr/local/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find KF5 (missing: Plasma WindowSystem) (Required is at least
  version "5.26.0")
Call Stack (most recent call first):
  /usr/local/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  CMakeLists.txt:14 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/vegarab/.local/share/plasma/plasmoids/plasma-applet-active-window-control/build/CMakeFiles/CMakeOutput.log".
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
You are missing other -dev packages that provide the needed files to compile the software. But which ones? That is not too difficult to find by using apt-file .

From the error messages you get, take each line that looks like this:
Code: Select all
-- Could NOT find KF5Plasma: found neither KF5PlasmaConfig.cmake nor kf5plasma-config.cmake

and use apt-file to find out which package contains one of the two *.cmake files listed in each line. One or the other will show a result.
Run the install script again.
You may have to do this a number of times as more dependencies are found.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft