error in compiling dbus

John (J5) Palmieri johnp at redhat.com
Mon Jul 31 10:18:32 PDT 2006


The compile stage tries to start a message bus in order to get 
introspection data so that the GLib bindings can wrap the Bus' API.  We 
have noticed in scratchbox and other confined build enviornments that 
for various reasons D-Bus can not talk over the bus.  The quick fix is 
to either disable the glib bindings if none of your apps use the GLib 
mainloop with D-Bus.  The other fix is to compile D-Bus outside of 
scratchbox, take the dbus-bus-introspect.xml generated file from the 
tools/ directory and place it in the tools/ directory of your scratchbox 
build.  The build should see it is already generated and not start the bus.

--
John (J5) Palmieri

Arvind Ayyangar wrote:
> hi ppl,
>  i am instaling dbus-0.62 on scratchbox..
>
> on make i get the following errors..
>
> Running ../tools/dbus-launch --sh-syntax 
> --config-file=./run-with-tmp-session-bus.conf
> Started bus pid 9082 at 
> unix:abstract=/tmp/dbus-fQagaCQmBx,guid=2bc9cd44a97f2e745766190519ece300
> Running ./dbus-send --print-reply=literal --dest=org.freedesktop.DBus 
> /org/freedesktop/DBus org.freedesktop.DBus.Introspectable.Introspect
> Failed to open connection to session message bus: Failed to connect to 
> socket /tmp/dbus-fQagaCQmBx: Connection refused
> killing message bus 9082
> ./run-with-tmp-session-bus.sh: script "./dbus-send" failed
> make[1]: *** [dbus-bus-introspect.xml] Error 1
> make[1]: Leaving directory `/home/arvind/udev-packages/dbus-0.62/tools'
> make: *** [check-recursive] Error 1
>
>
> i am new to this, so can anyone please guide me as to what is the 
> cause for the error and how do i remove it..
>
> thanx in advance..
>
> -- 
> Regards
> ARviND AyyangaR
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>   



More information about the dbus mailing list