Neil Hopcroft

A digital misfit

Setting up the navit build

After installing the dbus-devel package, the navit build fails with this error:

In file included from /usr/share/tomcat7/.jenkins/workspace/navit/navit/binding/dbus/binding_dbus.c:22:0:
/usr/include/dbus-1.0/dbus/dbus.h:29:33: fatal error: dbus/dbus-arch-deps.h: No such file or directory
#include
^
compilation terminated.

Looking at the cmake/FindDBus.cmake file shows that it is checking in /usr/lib/include but not in /usr/lib64/include, where the dbus directory can be found. Adding another check to look in lib64 allows the build to continue.
Next to add some dependencies

  • libosso and liblocation are from the Maemo project, where there isn’t an awful lot going on, so I’m going to ignore those for the moment as I believe them to be no longer maintained
  • imlib2 is added as a project
  • libgarmin is added as a project

Leave a Reply

Your email address will not be published.