dbus-glib installation problem

Luigi Paioro luigi at lambrate.inaf.it
Mon Sep 25 00:54:56 PDT 2006


OK, thanks, now it works! Perhaps I mistook something setting the 
environment variables... This command "pkg-config --cflags --libs 
dbus-1" has helped me. Sorry!

But now I've got another problem:

Making all in tools
make[2]: Entering directory 
`/antigone/luigi/work/software/dbus/dbus-glib-0.71/tools'
DBUS_TOP_BUILDDIR=.. dbus-send --system --print-reply=literal 
--dest=org.freedesktop.DBus /org/freedesktop/DBus 
org.freedesktop.DBus.Introspectable.Introspect > 
dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp 
dbus-bus-introspect.xml
Failed to open connection to system message bus: Failed to connect to 
socket 
/antigone/luigi/work/software/dbus/dbus-0.93/installation/var/run/dbus/system_bus_socket: 
No such file or directory
make[2]: *** [dbus-bus-introspect.xml] Error 1
make[2]: Leaving directory 
`/antigone/luigi/work/software/dbus/dbus-glib-0.71/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/antigone/luigi/work/software/dbus/dbus-glib-0.71'
make: *** [all] Error 2


It seems it's searching for $dbus_prefix/var/run/dbus/system_bus_socket 
but it cannot find it, and in fact there isn't, even if I've launched 
D-Bus with the dbus-launch command. How can I do to create a system 
message bus?

Thanks

Luigi

Matt Hoosier wrote:
> Hi Luigi,
> 
> I've recently built the combination of dbus-0.93 and dbus-glib-0.71
> without any trouble. As long as your SUSE distribution has a
> reasonably modern version of pkg-config, you shouldn't need to set
> $PKG_CONFIG manually. You can instead use $PKG_CONFIG_PATH to instruct
> the existing pkg-config binary to search additional paths for .pc
> files from hand-compiled software.
> 
> If you compiled dbus-0.93 with "--prefix=$dbus_prefix", then make sure
> that the shell from which you launch the configure script of
> dbus-glib-0.71 has an environment variable set (and exported) like the
> following:
> 
>  PKG_CONFIG_PATH=${dbus_prefix}/lib/pkgconfig
> 
> If that still doesn't allow the dbus-glib build find the correct
> information, can you post back the results of running
> 
>  pkg-config --cflags --libs dbus-1
> 
> to this list? It might also be useful for you to give us the contents
> of ${dbus_prefix}/lib/pkgconfig/dbus-1.pc.
> 
> --Matt


More information about the dbus mailing list