CMake Warning (dev) at CMakeLists.txt:1 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:39 (find_package):
By not providing "FindLibTaskManager.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"LibTaskManager", but CMake did not find one.
Could not find a package configuration file provided by "LibTaskManager"
with any of the following names:
LibTaskManagerConfig.cmake
libtaskmanager-config.cmake
Add the installation prefix of "LibTaskManager" to CMAKE_PREFIX_PATH or set
"LibTaskManager_DIR" to a directory containing one of the above files. If
"LibTaskManager" provides a separate development package or SDK, be sure it
has been installed.
Hi @arnav404js , welcome to the forum. Could you please provide some links to what “latte dock” is?
From this message, it seems like you need to install some dependencies before installing latte doc—something called libtaskmanager which should provide the cmake file FindLibTaskManager.cmake.
Also, please always note the version of Fedora you are using and exactly what steps you have run. That helps people reproduce the error, which is necessary for them to be able to debug it.
CMake Warning (dev) at CMakeLists.txt:1 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:39 (find_package):
By not providing "FindLibTaskManager.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"LibTaskManager", but CMake did not find one.
Could not find a package configuration file provided by "LibTaskManager"
with any of the following names:
LibTaskManagerConfig.cmake
libtaskmanager-config.cmake
Add the installation prefix of "LibTaskManager" to CMAKE_PREFIX_PATH or set
"LibTaskManager_DIR" to a directory containing one of the above files. If
"LibTaskManager" provides a separate development package or SDK, be sure it
has been installed.
I installed ‘plasma-workspace-devel’ package but it didn’t resolve the problem.
sh install.sh
Their’s a new error
CMake Warning (dev) at CMakeLists.txt:1 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
By not providing "FindKF5ItemModels.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"KF5ItemModels", but CMake did not find one.
Could not find a package configuration file provided by "KF5ItemModels"
(requested version 5.102.0) with any of the following names:
KF5ItemModelsConfig.cmake
kf5itemmodels-config.cmake
Add the installation prefix of "KF5ItemModels" to CMAKE_PREFIX_PATH or set
"KF5ItemModels_DIR" to a directory containing one of the above files. If
"KF5ItemModels" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/usr/lib64/cmake/LibTaskManager/LibTaskManagerConfig.cmake:41 (find_dependency)
CMakeLists.txt:39 (find_package)
-- Configuring incomplete, errors occurred!
Their are some bugs in Latte dock of Fedora package
It did actually—it was able to find libtaskmanager. Now it’s looking for the next dependency. That’s just how dependency resolution works
To find what package provides the cmake file for KF5ItemModels, try:
sudo dnf whatprovides '*/KF5ItemModels*.cmake'
then install this package. If a new error turns up after this, follow the same process until you’ve installed all the build requirements for latte-dock.
Have you filed a bug to let the maintainer know? All of this would probably be a lot easier for them, since they’d know exactly how to build it from source.
CMake Warning (dev) at CMakeLists.txt:1 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find QtWaylandScanner (missing: QtWaylandScanner_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindQtWaylandScanner.cmake:87 (find_package_handle_standard_args)
CMakeLists.txt:65 (find_package)
after that I run sudo dnf whatprovides '*QtWaylandScanner*'
Last metadata expiration check: 0:01:52 ago on Wednesday 13 September 2023 01:14:06 AM.
extra-cmake-modules-5.104.0-1.fc38.noarch : Additional modules for CMake build system
Repo : fedora
Matched from:
Other : *QtWaylandScanner*
extra-cmake-modules-5.109.0-1.fc38.noarch : Additional modules for CMake build system
Repo : @System
Matched from:
Other : *QtWaylandScanner*
extra-cmake-modules-5.109.0-1.fc38.noarch : Additional modules for CMake build system
Repo : updates
Matched from:
Other : *QtWaylandScanner*
extra-cmake-modules is already installed, so i reinstall that. But it doesn’t resolve the error.
Actually latte-dock is no longer being maintained. I read the article, it says that it’s better to install latte dock from the github.
I think the location of the executable is different so Cmake can’t find it. A quick search brought me to this issue:
Try the workaround given in the first comment and see if that works? The path in the workaround seems to be the correct location of the qtwaylandscanner executable.