dbus-1.4.20.tar.gz hangs after install in ubuntu 11.04

Simon McVittie simon.mcvittie at collabora.co.uk
Tue May 22 10:26:03 PDT 2012


On 22/05/12 18:04, Lee Wei han wrote:
> i am trying to compile vlc, everything from source, i need the dbus
> package, after i success install dbus-1.4.20, i reboot, the ubuntu
> crash, what shall i do please help

Recent Ubuntu versions use a patched version of D-Bus which interacts
with Upstart. It seems that upstream versions of D-Bus will not work
there: Upstart assumes that a patched version of D-Bus is in use.

Either use the Ubuntu-provided binaries (you can get development headers
with "apt-get install libdbus-1-dev"), or compile the Ubuntu version of
dbus from source ("apt-get source dbus" and build it with
dpkg-buildpackage or similar), or use a distribution which doesn't
require special D-Bus patches (Debian, Fedora, Mandriva, Gentoo, etc.).

In general there's not much point in compiling all the dependencies for
something like VLC yourself - particularly true for core system
libraries like dbus. The purpose of a distribution is to provide you
with versions of various packages which are known to work well together.
Use the distribution's packages where possible, and only compile newer
versions yourself if the versions provided by the distribution are too
old, the versions provided by the distribution have bugs that affect
you, you're trying to add features or fix bugs in that particular
package (dbus in this case), or you're the distribution's maintainer for it.

(Or, if you're trying to compile literally everything, Linux From
Scratch still exists...)

    S


More information about the dbus mailing list