Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
artemkamolodets opened this issue Jul 4, 2018 · 9 comments
Open

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

artemkamolodets opened this issue Jul 4, 2018 · 9 comments

Comments

@artemkamolodets
Copy link

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.

@pastukhov
Copy link

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

@artemkamolodets artemkamolodets changed the title PRoblem at building stage Problem at building stage Jul 4, 2018
@artemkamolodets
Copy link
Author

artemkamolodets commented Jul 4, 2018

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)

@cavaliercoder cavaliercoder changed the title Problem at building stage dbus-arch-deps.h: No such file or directory Jul 5, 2018
@cavaliercoder
Copy link
Collaborator

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

@artemkamolodets
Copy link
Author

artemkamolodets commented Jul 5, 2018

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

pkg-config dbus-1 --modversion
1.10.6

@andrematias
Copy link

andrematias commented May 23, 2022

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

@laoshaw
Copy link

laoshaw commented May 11, 2023

same problem here too

@cuagn
Copy link

cuagn commented May 22, 2023

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

Any idea?

@laoshaw
Copy link

laoshaw commented May 22, 2023

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

@cuagn
Copy link

cuagn commented May 22, 2023

Thank you

;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants