dbus-glib installation problem
Havoc Pennington
hp at redhat.com
Thu Sep 21 09:10:28 PDT 2006
Luigi Paioro wrote:
> Hi!
>
> I've installed D-Bus 0.93 (in a custom dir - SUSe 10.0) and now I'm
> trying to install dbus-glib-0.71 and dbus-python-0.71 bindings. I've set
> up the LD_LIBRARY_PATH adding <dbdus install>/lib and PKG_CONFIG_PATH
> adding <dbdus install>/lib/pkgconfig. I've configured dbus-glib with a
> command like:
>
> ./configure --prefix=<dbdus install> --includedir=<dbdus install>/include
>
> but compiling I get some errors like:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -DDBUS_COMPILATION=1
> -DDBUS_LOCALEDIR=\"/antigone/luigi/work/software/dbus/dbus-0.93/installation/share/locale\"
> -DDBUS_API_SUBJECT_TO_CHANGE=1 -g -O2 -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT
> dbus-glib.lo -MD -MP -MF .deps/dbus-glib.Tpo -c dbus-glib.c -fPIC -DPIC
> -o .libs/dbus-glib.o
> In file included from dbus-glib.c:25:
> dbus-glib.h:28:30: error: dbus/dbus-shared.h: No such file or directory
> In file included from dbus-glib.c:25:
> dbus-glib.h:74: error: syntax error before 'type'
> In file included from dbus-glib.c:26:
> dbus-glib-lowlevel.h:28:23: error: dbus/dbus.h: No such file or directory
>
> and so on.
>
The Includes: from the dbus .pc file in lib/pkgconfig should be on the
above compile line, but they aren't. Perhaps the dbus-glib build is
broken and does not put them there, or maybe something else, I don't
have a guess though if it's not just a bug in the dbus-glib build.
Havoc
More information about the dbus
mailing list