As of release 1.2.10, the source file dbus-sysdeps-util-unix.c will not compile under Mac OS X 10.5, because the function "openlog" is undeclared. On Mac OS X 10.5, "openlog" is declared in the header <syslog.h>. If the line #include <syslog.h> is added in the section of #includes at the top of this file, it compiles and dbus makes normally. I did not include a patch because (a) it's a one-liner, but mostly (b) I have no way of knowing if this header exists on other operating systems, or how in the build system for dbus you would want to go about checking if this #include is necessary. I appreciate it if someone is able to properly tailor the #includes in a future release of dbus. Many thanks, Glen
I get the same compilation error on a Fedora core 3 machine, adding the syslog.h include fixes it.
commit 510a307da0ce3e63361d0b9b8db4df3f564a1955 Author: Colin Walters <walters@verbum.org> Date: Tue Jan 6 17:34:20 2009 -0500 Bug 19307: Add missing syslog include
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.