zabbix-module-systemd icon indicating copy to clipboard operation
zabbix-module-systemd copied to clipboard

dbus-arch-deps.h: No such file or directory

Open artemkamolodets opened this issue 6 years ago • 9 comments

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.

artemkamolodets avatar Jul 04 '18 14:07 artemkamolodets

You should instal bdbus dev package, libdbus-1-dev for ubuntu

pastukhov avatar Jul 04 '18 14:07 pastukhov

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)

artemkamolodets avatar Jul 04 '18 14:07 artemkamolodets

What is the output for: $ pkg-config dbus-1 --modversion?

cavaliercoder avatar Jul 05 '18 03:07 cavaliercoder

Hello, thanks for the answer. Here is the output:

pkg-config dbus-1 --modversion 1.10.6

artemkamolodets avatar Jul 05 '18 08:07 artemkamolodets

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

andrematias avatar May 23 '22 18:05 andrematias

same problem here too

laoshaw avatar May 11 '23 18:05 laoshaw

same issue dbus.h requires #include <dbus/dbus-arch-deps.h> which doesn't exists

Any idea?

cuagn avatar May 22 '23 14:05 cuagn

pkg-config --cflags --libs dbus-1 will tell you where it is

laoshaw avatar May 22 '23 15:05 laoshaw

Thank you

;-)

cuagn avatar May 22 '23 17:05 cuagn