zabbix-module-systemd
zabbix-module-systemd copied to clipboard
dbus-arch-deps.h: No such file or directory
Hello. I'm trying to build module on Ubuntu 16.04, but got an error at MAKE stage: /usr/include/dbus-1.0/dbus/dbus.h:29:33: fatal error: dbus/dbus-arch-deps.h: No such file or directory
Please help.
You should instal bdbus dev package, libdbus-1-dev for ubuntu
But i was already installed it as described in the readme:
dpkg -l | grep libdbus
ii libdbus-1-dev:amd64 1.10.6-1ubuntu3.3 amd64 simple interprocess messaging system (development headers)
What is the output for: $ pkg-config dbus-1 --modversion
?
Hello, thanks for the answer. Here is the output:
pkg-config dbus-1 --modversion 1.10.6
Same issue here. OS: debian 11
dpkg -l | grep libdbus
root@speqxdialer:/usr/src/zabbix/modules/zabbix-module-systemd-1.2.0# dpkg -l | grep libdbus
ii libdbus-1-3:amd64 1.12.20-2 amd64 simple interprocess messaging system (library)
ii libdbus-1-dev:amd64 1.12.20-2 amd64 simple interprocess messaging system (development headers)
pkg-config dbus-1 --modversion
root@speqxdialer:/usr/src/zabbix/modules/zabbix-module-systemd-1.2.0# pkg-config dbus-1 --modversion
1.12.20
same problem here too
same issue dbus.h requires #include <dbus/dbus-arch-deps.h> which doesn't exists
Any idea?
pkg-config --cflags --libs dbus-1 will tell you where it is
Thank you
;-)