sandsmark / polkit-dumb-agent

a polkit agent in 145 lines of code, because polkit is dumb and none of the other agents worked
GNU General Public License v3.0
105 stars 7 forks source link

Package 'libsystemd', required by 'virtual:world', not found #5

Open probonopd opened 2 years ago

probonopd commented 2 years ago

Getting this error when trying to compile:

FreeBSD% cmake .                   
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "1.7.4") 
-- Checking for module 'libsystemd'
--   Package 'libsystemd', required by 'virtual:world', not found
CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:562 (message):
  A required package was not found                                                               
Call Stack (most recent call first):                                                             
  /usr/local/share/cmake/Modules/FindPkgConfig.cmake:784 (_pkg_check_modules_internal)           
  CMakeLists.txt:10 (pkg_check_modules)                                                                                      

Is it possible to use this without systemd, which doesn't exist on FreeBSD?

Can sendreply.c be rewritten so that it doesn't need systemd? If not, why not?

Thank you very much. Looks like we share the same opinion about PolKit (and, in my case, most of the Red Hat stack).

Alex9001 commented 6 months ago

+1