Cross-Compiling D-BUS

Rob Taylor robtaylor at
Mon Sep 27 08:32:58 UTC 2004

On Sat, 25 Sep 2004 09:49:52 -0400, "Havoc Pennington" <hp at>
> On Fri, 2004-09-24 at 14:44 -0500, Jared Hanson wrote:
> >   Is there anyway I can prevent these checks
> > from running?
> I believe to allow cross-compiling has to have defaults for
> all these checks, or maybe there's some way to specify them. Anyway
> there's some standard answer no doubt specified in the autoconf manual.
> You will have to figure out that standard answer and modify
> to reflect it. If you do, please send us the patch. ;-)

Take a config.cache from a configure on a box you can configure on,
remove any tests that aren't AC_TRY_RUN (or other tests that are
impossible in your cross compile environment), modify their values to
those required by your target architecture and pass it into configure
using the --cache-file option. has a nice cross compiling environment and dbus is
alredy packaged for this environment.
looking at the sources, for release 0.22 we patch with

@@ -466,6 +466,7 @@
     exit (0);
+              [have_abstract_sockets=no],

and autoreconf.

Rob Taylor

More information about the dbus mailing list