There is a problem with Okular compiling. Okular (found suitable version "5.28.0", minimum required is "5.16.0") of KF5ThreadWeaver. Version of KF5ThreadWeaver "5.28.0" is greather than "5.16.0", but okular compiling doesn't allow it. ------------------------------------------------------------------- szg@debian:~/okular/build$ cmake .. CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package): Could not find a configuration file for package "KF5ThreadWeaver" that is compatible with requested version "5.16.0". The following configuration files were considered but not accepted: /usr/local/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake, version: 5.2.0 Call Stack (most recent call first): CMakeLists.txt:43 (find_package) -- Could NOT find KF5ThreadWeaver , checked the following files: /usr/local/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (version 5.2.0) CMake Error at /usr/local/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find KF5 (missing: ThreadWeaver) (found suitable version "5.28.0", minimum required is "5.16.0") Call Stack (most recent call first): /usr/local/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args) CMakeLists.txt:43 (find_package) -- Configuring incomplete, errors occurred! See also "/home/szg/okular/build/CMakeFiles/CMakeOutput.log". szg@debian:~/okular/build$ -------------------------------------------------------------------
No, you don't have 5.28, you have 5.2 See the error: /usr/local/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (version 5.2.0)
But from another line: (found suitable version "5.28.0", minimum required is "5.16.0") This means for me, I have 5.28.0.
Did you mix different versions? Frameworks 5.28 is available in Debian testing, but the logs shows: /usr/local/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake, version: 5.2.0 Did you install another version of Frameworks under /usr/local? The logs hint about something being mixed in your environment.
I think yes. I tried to install it from source and it's installed from package also.
So you need to set the variables in a way that the source installation does not conflicts (or have different precedence) than the packaged one, or the other way round. In any case it's a problem with your build environment.