building dbus and its configure options

John (J5) Palmieri johnp at redhat.com
Fri Aug 22 06:07:10 PDT 2008


On Fri, 2008-08-22 at 10:41 +0200, Fritz Code wrote:
> Hi,
> 
> building d-bus (1.2.1) I specify a prefix where the software should be
> installed. 
> Unfortunately this setting is also delegated to all paths dbus uses
> during runtime on my target system.
> e,g, the pid file, the service files, configuration and socket files
> they are all perpended with the path of prefix.
> 
> I have to build a very light weight version of dbus. ./configure
> --help told me some options.
> But how can I e.g. disable all bindings?
> I only need the low-level C API.
> The only option I found so far in order to make dbus small was
> --with-X=no, are there any others?
> Nevertheless the lib is still almost 1 MB.

ls -l /lib/libdbus-1.so.3.4.0 
-rwxr-xr-x 1 root root 261720 2008-05-05 14:47 /lib/libdbus-1.so.3.4.0

The library itself is small.  That is a standard Fedora build.  There
are no bindings shipped with D-Bus since 1.0 came out as they have all
been split out.  You need to disable tests, checks, asserts and verbose
mode though we discourage turning those off during testing and I belive
we leave either checks or assets on.  I can't quite remember without
looking at our .spec files.  Have you checked out what the maemo
platform does?  They run on arm.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list