various problems with dbus-0.92 and dbus-glib-0.71

Peter Kümmel syntheticpp at gmx.net
Thu Aug 31 07:49:06 PDT 2006


frederic heem wrote:
> Hi,
> With libxml2, libxml2-devel and expat installed but not expat-devel.
> The dbus-0.92 build system fails to compile because it cannot find expat.h. 
> Another problem is when even if the option --with-xml=libxml is given to 
> configure. It ignores it and really want to use expat.h.
> Installing expat-devel resolves these problems.
> Now dbus-0.92 is installed in /usr/local while dbus-0.61 (the original from a 
> fc3) is installed in /usr
> Regarding dbus-glib-0.71, it first detects the wrong dbus, the one installed 
> in /usr and fails to compile because dbus/dbus-shared.h cannot be found.
> Indeed, the cflags -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include is 
> not present. pkconfig is looking for /usr/lib/pkgconfig/dbus-1.pc instead 
> of /usr/local/lib/pkgconfig/dbus-1.pc.
> Using "./configure --prefix=/usr"  make it compile, or set  
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
> I strongly recommend to the dbus team to have a look at another build system 
> such as cmake (www.cmake.org).
> Last but not least.  dbus-deamon is not deleting its pid file upon receiving a 
> signal INT (CRTL-C).
> 

Currently there is a port to Windows in progress
(at the stage of merging the code with the official cvs code):

http://sourceforge.net/projects/windbus

and we use CMake to build DBus on Windows. You could try it
on Linux, but I think some fixes will be required.
We would be glade to also support Linux with cmake,
so don't hesitate to submit patches, ;)
or to ask if you have any problems (use this list therefore).

Best Regards,
Peter




More information about the dbus mailing list