Maldela / fancontrol-gui

GUI for Fancontrol. It uses the KAuth module of the KDE Frameworks 5 to write the generated config file. Furthermore it communicates with systemd via dbus to control the fancontrol service. If you want to compile without systemd support set the -DNO_SYSTEMD option.
GNU General Public License v2.0
309 stars 31 forks source link

Can't build on Fedora 36 #74

Closed FarisZR closed 3 months ago

FarisZR commented 1 year ago

When running Cmake on Fedora 36 It shows this Error:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on -DBUILD_PLASMOID=on

CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreConfig.cmake:26 (message):
  The imported target "Qt5::Core" references the file

     "/usr/lib64/libQt5Core.so.5.15.6"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib64/cmake/Qt5Core/Qt5CoreConfig.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Core/Qt5CoreConfig.cmake:44 (_qt5_Core_check_file_exists)
  /usr/lib64/cmake/Qt5Core/Qt5CoreConfig.cmake:213 (_populate_Core_target_properties)
  /usr/share/ECM/modules/ECMQueryQt.cmake:49 (find_package)
  /usr/share/ECM/kde-modules/KDEInstallDirs5.cmake:237 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:44 (include)
oneofthemany commented 1 year ago

It builds on Fedora 37

PonyLucky commented 3 months ago

Works with Fedora 39 and 40.

If you don't see all fans (https://discussion.fedoraproject.org/t/sensors-detect-no-fans/63234):

  1. sudo dnf install lm_sensors (just typing sensors-detect installed it for me).
  2. sudo sensors-detect.
  3. Say YES to everything.
  4. Start again Fancontrol-gui and go to fans.