Open wicadmin opened 7 years ago
I had the same issue.
Installing libsystemd-dev
fixed it.
I have the same issue installing on xubuntu 16.04; libsystemd-dev is installed but still doesn't fix it:
$ make
cc `pkg-config --cflags dbus-1 --cflags glib-2.0 --cflags gio-2.0 --cflags libsystemd-login` -Wall -Wextra -Wwrite-strings -g -O2 -c -o functions.o functions.c
Package libsystemd-login was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd-login.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsystemd-login' found
In file included from functions.c:23:0:
lightum.h:2:21: fatal error: gio/gio.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'functions.o' failed
make: *** [functions.o] Error 1
Looks like this lib needs to be updated to reference libsystemd instead of libsystemd-login (per this bug report).
Quick fix is to update the Makefile
on your machine. Look for any reference to libsystemd-login
and replace it with libsystemd
. There should only be two references. After that, you should be able to run make
.
I have the same issue,libsystemd-dev is installed but still doesn't fix it
running make, I'm getting:
lightum:h:2:21: fatal_error: gio/gio.h: No such file or directory
however, /usr/include/glib-2.0/gio/gio.h is there