-
-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Description
On ubuntu 25.10 whenever installing the dependencies listed on the README.md file and attempting to run cmake, the log shows that the module systemd was not found:
-- The C compiler identification is GNU 15.2.0
-- The CXX compiler identification is GNU 15.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.51.0")
LogiOps Version Number: v0.3.5
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.86.0
-- Checking for module 'glib-2.0'
-- Found glib-2.0, version 2.86.0
-- Build shared library: OFF
-- Build static library: ON
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Checking for module 'libevdev'
-- Found libevdev, version 1.13.4
-- Checking for module 'systemd'
-- Package 'systemd', required by 'virtual:world', not found <----------
-- Checking for module 'libconfig'
-- Found libconfig, version 1.7.3
-- Checking for module 'libudev'
-- Found libudev, version 257
/home/bruno/Programs/logiops/src/logid/../ipcgull/src/include
-- dbus system policy will be installed at /usr/share/dbus-1/system.d
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /home/bruno/Programs/logiops/buildAfter running apt search systemd | grep dev, we can see that the missing package is now actually called systemd-dev:
Utility to securely synchronize a Fitbit device - daemon
gamemode-dev/questing 1.8.2-2 amd64
Optimise Linux system performance on demand (dev files)
golang-blitiri-go-log-dev/questing 1.1.0-1 all
golang-blitiri-go-systemd-dev/questing 1.1.0-1 all
golang-coreos-log-dev/questing 0.0~git20140508-5 all
golang-github-coreos-go-systemd-dev/questing 22.5.0-1 all
golang-github-iguanesolutions-go-systemd-dev/questing 5.1.0-2 all
golang-github-kardianos-service-dev/questing 1.2.2-1 all
golang-github-okzk-sdnotify-dev/questing 0.0~git20180710.d9becc3-4 all
golang-gopkg-hlandau-svcutils.v1-dev/questing 1.0.10-7 all
librust-libsystemd-dev/questing 0.5.0-1build1 amd64
librust-listenfd-dev/questing 1.0.0-1 amd64
librust-sd-notify-dev/questing 0.4.1-2 amd64
librust-systemd-journal-logger-dev/questing 2.2.0-2 amd64
librust-zram-generator-dev/questing 1.2.1-2 amd64
Systemd unit generator for zram swap devices - Rust source code
libsdbus-c++-dev/questing 2.1.0-1 amd64
High-level C++ D-Bus library for Linux in modern C++ (development files)
libsystemd-dev/questing,now 257.9-0ubuntu2 amd64 [installed]
systemd utility library - development files
lua-systemd-dev/questing 0~git20160517-2 amd64
pacemaker-dev/questing 3.0.0-2ubuntu1 amd64
cluster resource manager development
powerdevil/questing 4:6.4.5-0ubuntu2 amd64
systemd-dev/questing,now 257.9-0ubuntu2 all <----------
systemd development files
udev rules for hardware enablement (HWE)
Systemd unit generator for zram devicesThis way, after running apt install systemd-dev and then re-running the cmake command as listed on the README.me file, we can see that the systemd module is correctly found by pkg-config:
-- The C compiler identification is GNU 15.2.0
-- The CXX compiler identification is GNU 15.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.51.0")
LogiOps Version Number: v0.3.5
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.86.0
-- Checking for module 'glib-2.0'
-- Found glib-2.0, version 2.86.0
-- Build shared library: OFF
-- Build static library: ON
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Checking for module 'libevdev'
-- Found libevdev, version 1.13.4
-- Checking for module 'systemd'
-- Found systemd, version 257 <----------
-- Checking for module 'libconfig'
-- Found libconfig, version 1.7.3
-- Checking for module 'libudev'
-- Found libudev, version 257
/home/bruno/Programs/logiops/src/logid/../ipcgull/src/include
-- systemd units will be installed at /usr/lib/systemd/system
-- dbus system policy will be installed at /usr/share/dbus-1/system.d
-- Configuring done (1.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/bruno/Programs/logiops/buildWhich then enables the creation of the logid.service by running systemctl enable --now logid.
Metadata
Metadata
Assignees
Labels
No labels