compile error libnih 1.0.3 with dbus 1.2.24
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnih |
New
|
Undecided
|
Unassigned |
Bug Description
When the user attempts to compile libnih 1.0.3 using dbus 1.2.24, the make process returns an error:
make[2]: Entering directory `/source/
CC type.o
type.c: In function 'type_const':
type.c:85: error: 'DBUS_TYPE_UNIX_FD' undeclared (first use in this function)
type.c:85: error: (Each undeclared identifier is reported only once
type.c:85: error: for each function it appears in.)
type.c: In function 'type_of':
type.c:143: error: 'DBUS_TYPE_UNIX_FD' undeclared (first use in this function)
Steps To Reproduce:
1. Update to DBus 1.2.24
2. run ./configure on libnih 1.0.3 sources
3. run make
4. Observe compile error
Note:
DBUS_TYPE_UNIX_FD is no longer declared in dbus/dbus-
See Reference:
http://
However, in dbus 1.2.24 dbus_message_
the following may be relevant functions in dbus-connection.h:
dbus_bool_t dbus_connection
int dbus_watch_
I'm experiencing this too, attempting to build on a Debian 6.0.3 system which has dbus 1.2.24 installed by default. Is there a known workaround?