! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
`xfsm-global.h:30:10: fatal error: dbus/dbus.h: No such file or directory`
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-session
Component:
General

Comments

Description Paul Menzel 2018-05-07 16:38:41 CEST
Building Xfce4-session 4.13.0 with D-Bus 1.12.4 installed fails with the error below.

```
$ make
[…]
make[3]: Entering directory '/scratch/local/bee-joey/xfce4-session/xfce4-session-4.13.0-0/build/xfce4-session'
  CC       xfce4_session-ice-layer.o
In file included from /scratch/local/bee-joey/xfce4-session/xfce4-session-4.13.0-0/source/xfce4-session/xfsm-manager.h:32:0,
                 from /scratch/local/bee-joey/xfce4-session/xfce4-session-4.13.0-0/source/xfce4-session/ice-layer.h:29,
                 from /scratch/local/bee-joey/xfce4-session/xfce4-session-4.13.0-0/source/xfce4-session/ice-layer.c:51:
/scratch/local/bee-joey/xfce4-session/xfce4-session-4.13.0-0/source/xfce4-session/xfsm-global.h:30:10: fatal error: dbus/dbus.h: No such file or directory
 #include <dbus/dbus.h>
          ^~~~~~~~~~~~~
compilation terminated.
Makefile:731: recipe for target 'xfce4_session-ice-layer.o' failed
make[3]: *** [xfce4_session-ice-layer.o] Error 1
[…]
```

The header file is installed though. The configure script should configure the correct includes, I guess.

```
$ ls /usr/include/dbus-1.0/dbus/dbus.h
/usr/include/dbus-1.0/dbus/dbus.h
$ pkg-config --cflags dbus-1
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
```
Comment 1 Paul Menzel 2018-05-07 16:50:21 CEST
Something like below? I am not sure what version is required though.

```
XDT_CHECK_PACKAGE([DBUS], [dbus-1], [0.22], [dbus], [D-BUS support])
```

But the `Makefile.am` still needs to be updated too to pass the include directory.
Comment 2 Paul Menzel 2018-05-07 17:08:52 CEST

*** This bug has been marked as a duplicate of bug 14386 ***

Bug #14387

Reported by:
Paul Menzel
Reported on: 2018-05-07
Last modified on: 2018-05-07

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
4.13.0

Attachments

Additional information