configuring DBUS with expat
Havoc Pennington
hp at redhat.com
Thu Mar 9 23:42:35 PST 2006
On Thu, 2006-03-09 at 19:28 -0600, Rohit Chaudhri wrote:
> Hi,
> I want to configure DBUS to use the expat XML library, however when
> configuring I donot know how to specify the location of the expat
> libraries & header files so the configuration fails. I'm able to
> configure dbus for libxml by setting the PKG_CONFIG environment
> variable, what should I do for expat?
> Setting LD_LIBRARY_PATH appripriately doesn't help (not even sure if
> its supposed to). My expat library & include files are located in a
> different directory than where I am configuring dbus.
> Currently I've built dbus with expat by first generating the makefiles
> for libxml and then editing all the makefiles :(. However since I'm
> not sure yet what exact configuration I need to run configure multiple
> times, so want to figure out the correct way to configure dbus for
> expat, rather than edit the Makefiles everytime.
Since expat doesn't have a '.pc' file, pkg-config is not used; instead
the configure script just looks for the libs and headers. You would need
to set _both_ LD_LIBRARY_PATH and either CFLAGS with -I or
C_INCLUDE_PATH to point to where your headers are.
Havoc
More information about the dbus
mailing list