using dbus-devel on fedora?

Tom Horsley tom.horsley at
Mon Jul 14 00:09:34 UTC 2008

Through combinations of compiler error messages and the "locate"
command, I've determined that I need the following -I options
in order to successfully compile C programs that use the dbus
interfaces (on a 64 bit system):

   -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include

Is there some more elegant way to provide the proper compile
options? I haven't been able to find it in any of the docs (in fact
I can't find any docs that talk about actually compiling
dbus code at all :-).

I know some libraries come with a tool you can use to echo the
proper options to stdout for whatever the current version
happens to be. This looks like it could use such a tool, but
I didn't see anything in the list of files from the dbus-devel
rpm that looked promising.

More information about the fedora-list mailing list