lightum on Mac

Hi,

Has anyone tried lightum on Macbook? When I tried to “$make” in the poliva folder, I got this:

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:10: fatal error: gio/gio.h: No such file or directory
#include <gio/gio.h>
^~~~~~~~~~~
compilation terminated.
make: *** <builtin>: functions.o] Error 1

Am I compiling it the right way?

I’ve installed all dependencies based on this article: https://en.opensuse.org/SDB:Installation_on_a_Mac#Keyboard_Issues_.28pre_2012.29

The error message above indicates gio.h is missing. Where can I find this? I believe I already installed glib. What else should I install?

Thanks!

Hi
You need systemd-devel for this error;


Package libsystemd-login was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd-login.pc'

Is glib2-devel installed (/usr/include/glib-2.0/gio/gio.h)?

It’s very old code as well…

On Tue 11 Jul 2017 02:16:02 PM CDT, malcolmlewis wrote:

Hi
You need systemd-devel for this error;

Code:

Package libsystemd-login was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd-login.pc’


Is glib2-devel installed (/usr/include/glib-2.0/gio/gio.h)?

It’s very old code as well…

Hi
Give this test version a whirl…
http://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/x86_64/lightum-2.3.1+git20140607-1.1.x86_64.rpm

Project at: Welcome - openSUSE Build Service


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.74-18.20-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hi,

That worked! I just installed the version you provided and everything looks good. I did this “$lightum -x” to start manual mode and it works perfectly. Thanks a lot!!!