alex1701c / JetBrainsRunner

A Krunner Plugin which allows you to open your recent projects
GNU Lesser General Public License v3.0
55 stars 5 forks source link

Install Error - Could NOT find KF6 #45

Closed AndKraev closed 3 months ago

AndKraev commented 3 months ago

Hello,

I ve got the below error while trying to install with script on Opensuse tumbleweed with Plasma6. Could you kindly check and advice?

TIA

curl https://raw.githubusercontent.com/alex1701c/JetBrainsRunner/master/install.sh | bash 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   978  100   978    0     0   5173      0 --:--:-- --:--:-- --:--:--  5202
Cloning into 'JetBrainsRunner'...
remote: Enumerating objects: 966, done.
remote: Counting objects: 100% (246/246), done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 966 (delta 162), reused 235 (delta 157), pack-reused 720
Receiving objects: 100% (966/966), 219.27 KiB | 1.00 MiB/s, done.
Resolving deltas: 100% (700/700), done.
Submodule 'jetbrains-api' (https://github.com/alex1701c/jetbrains-api) registered for path 'src/jetbrains-api'
Cloning into '/home/akraev/Downloads/JetBrainsRunner/src/jetbrains-api'...
remote: Enumerating objects: 313, done.        
remote: Counting objects: 100% (79/79), done.        
remote: Compressing objects: 100% (53/53), done.        
remote: Total 313 (delta 44), reused 52 (delta 26), pack-reused 234        
Receiving objects: 100% (313/313), 60.78 KiB | 777.00 KiB/s, done.
Resolving deltas: 100% (198/198), done.
Submodule path 'src/jetbrains-api': checked out 'fcd56cf3aeaa459314bae37b71fdcb72949ad9b5'
Building for Plasma6
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Found Gettext: /usr/bin/msgmerge (found version "0.22.5")
-- Found KF6I18n: /usr/lib64/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.4.0")
-- Found KF6Service: /usr/lib64/cmake/KF6Service/KF6ServiceConfig.cmake (found version "6.4.0")
-- Found KF6Runner: /usr/lib64/cmake/KF6Runner/KF6RunnerConfig.cmake (found version "6.4.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found KF6KIO: /usr/lib64/cmake/KF6KIO/KF6KIOConfig.cmake (found version "6.4.0")
-- Could NOT find KF6KCMUtils (missing: KF6KCMUtils_DIR)
-- Could NOT find KF6KCMUtils: found neither KF6KCMUtilsConfig.cmake nor kf6kcmutils-config.cmake 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find KF6 (missing: KCMUtils) (found suitable version "6.4.0",
  minimum required is "5.91.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF6.cmake:93 (find_package_handle_standard_args)
  CMakeLists.txt:30 (find_package)
alex1701c commented 3 months ago

Can you try installing kf6-kcmutils-devel ?

AndKraev commented 3 months ago

Thanks, it helped but now facing another one:

Building for Plasma6
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Found Gettext: /usr/bin/msgmerge (found version "0.22.5")
-- Found KF6I18n: /usr/lib64/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.4.0")
-- Found KF6Service: /usr/lib64/cmake/KF6Service/KF6ServiceConfig.cmake (found version "6.4.0")
-- Found KF6Runner: /usr/lib64/cmake/KF6Runner/KF6RunnerConfig.cmake (found version "6.4.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found KF6KIO: /usr/lib64/cmake/KF6KIO/KF6KIOConfig.cmake (found version "6.4.0")
-- Found KF6KCMUtils: /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsConfig.cmake (found version "6.4.0")
-- Found KF6: success (found suitable version "6.4.0", minimum required is "5.91.0") found components: I18n Service Runner KIO KCMUtils
-- Found KF6Config: /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake (found version "6.4.0")
-- Found KF6: success (found version "6.4.0") found components: Config Service I18n
-- Could NOT find Qt6Test (missing: Qt6Test_DIR)
CMake Error at src/jetbrains-api/tests/CMakeLists.txt:2 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "Test".

  Expected Config file at "/usr/lib64/cmake/Qt6Test/Qt6TestConfig.cmake" does
  NOT exist

  Configuring with --debug-find-pkg=Qt6Test might reveal details why the
  package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.

-- Configuring incomplete, errors occurred!
AndKraev commented 3 months ago

Installing qt6-test-devel fixed the problem. Thanks!

alex1701c commented 1 month ago

I looked into it again and there was a bit of cleanup to do. The next people running into this will be happier :)