zlib is a compression library and a prerequisite for building GLib.
Download, cross compile and install the zlib compression libraries. Configure doesn't accept the --host parameter (reports unknown option), so you need to hack the makefile.
Edit the makefile and prefix the build tools with arm-linux-gnueabi-.
libffi is the Portable Foreign Function Interface Library and is a prerequisite for building GLib. It is an interface that allows code written in one language to call code written in another language.
GLib requires zlib, libffi and glibc >= 2.18 to successfully build. If you are building on ubuntu 14.04, the arm-linux-gnueabi should come installed with glibc 2.19 hence we don't rebuild it.
Expat is an XML parser library written in C and is the only required dependency for the D-Bus daemon.
libical provides a library for the iCal standard. It is a prerequisite of BlueZ.
First we must build ncurses and then link it to Readline using SHLIB_LIBS=-lncurses.
BlueZ is the official Bluetooth protocol stack for Linux and include tools such as hciattach, hciconfig, hcitool and rfcomm.
Failed to start message bus: Could not get UID and GID for username "messagebus"