FedeDP / Clightd

A linux bus interface that lets you change screen brightness, compute captured webcam frames brightness and change screen temperature.
GNU General Public License v3.0
83 stars 10 forks source link

Installation help: No package 'polkit-gobject-1' found with libpolkit-gobject-1-0 installed #41

Closed Islast closed 4 years ago

Islast commented 4 years ago

when I try to run

cmake \                                       
    -G "Unix Makefiles" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DCMAKE_BUILD_TYPE="Release" \
    -DENABLE_DDC=1 -DENABLE_GAMMA=1 -DENABLE_DPMS=1 -DENABLE_SCREEN=1 \
    ..

I get the following error

-- Checking for module 'polkit-gobject-1'
--   No package 'polkit-gobject-1' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
  CMakeLists.txt:28 (pkg_check_modules)

-- Configuring incomplete, errors occurred!
See also "/home/isla/Clightd/build/CMakeFiles/CMakeOutput.log".

I have libpolkit-gobject-1-0 installed and I'm running ubuntu 18.04. Is there some other polkit library I should have installed?

NICHOLAS85 commented 4 years ago

Try installing libpolkit-gobject-1-dev

Islast commented 4 years ago

that worked! thank you

FedeDP commented 4 years ago

Great, thanks @NICHOLAS85 for your help :) Btw there is a wiki page with deps for ubuntu: https://github.com/FedeDP/Clightd/wiki/Build#build-instructions