FeralInteractive / gamemode

Optimise Linux system performance on demand
BSD 3-Clause "New" or "Revised" License
4.82k stars 187 forks source link

ERROR: Dependency "systemd" not found, tried pkgconfig #503

Open MatthiasEisenhut opened 2 weeks ago

MatthiasEisenhut commented 2 weeks ago

I followed a tutorial on how to setup gamemode on Linux. When I try to build gamemode, I get an error

To Reproduce Steps used to reproduce the behavior:

  1. Install the required denpendencies: sudo apt install meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev dbus-user-session
  2. Clone the repository: git clone https://github.com/FeralInteractive/gamemode.git
  3. Switch to folder: cd gamemode
  4. Try to build the tool: /bootstrap.ch
  5. Then I get this:
    
    Message: Asking pkg-config for systemd's 'sysusersdir' directory
    Did not find CMake 'cmake'
    Found CMake: NO
    Run-time dependency systemd found: NO (tried pkgconfig)
    meson.build:124:34: ERROR: Dependency "systemd" not found, tried pkgconfig


**System Info:**
 - OS and version: Ubuntu 24.10.
 - GameMode Version 1.8.2
Joduus commented 1 week ago

Duplicate of #502