(Created page with " == Prerequisites == === ZLib === === Libffi === [https://sourceware.org/libffi/ libffi] is the Portable Foreign Function Interface Library. It is an interface that allows...")
 
(Added BlueZ)
Line 57: Line 57:
 
cd dbus-1.8.0/
 
cd dbus-1.8.0/
 
./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi
 
./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi
 +
make
 +
make install
 +
</PRE>
 +
 +
 +
== BlueZ ==
 +
 +
<PRE>
 +
wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.18.tar.xz
 +
tar -xJf bluez-5.18.tar.xz
 +
cd bluez-5.18
 +
./configure --host=arm-linux-gnueabi --prefix= PKG_CONFIG_PATH=/usr/arm-linux-gnueabi/lib/pkgconfig
 
make
 
make
 
make install
 
make install
 
</PRE>
 
</PRE>

Revision as of 12:43, 27 April 2014


Prerequisites

ZLib

Libffi

libffi is the Portable Foreign Function Interface Library. It is an interface that allows code written in one language to call code written in another language.

wget ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
tar -xzf libffi-3.0.13.tar.gz
cd libffi-3.0.13/
./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi  
make
make install

GLib

GLib is part of the GTK+ Project

wget http://ftp.gnome.org/pub/gnome/sources/glib/2.40/glib-2.40.0.tar.xz
tar -xJf glib-2.40.0.tar.xz
cd glib-2.40.0
./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi PKG_CONFIG_PATH=/usr/arm-linux-gnueabi/lib/pkgconfig  glib_cv_stack_grows=no glib_cv_uscore=yes ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getgrgid_r=yes 
make
make install

The Expat XML Parser

Expat is an XML parser library written in C and is the only required dependency for the D-Bus daemon.

Download, build and install:

wget http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz
tar -xzf expat-2.1.0.tar.gz 
cd expat-2.1.0/
./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi
make
make install

D-Bus

D-Bus is a message bus system.

Download, build and install:

wget http://dbus.freedesktop.org/releases/dbus/dbus-1.8.0.tar.gz
tar -xzf dbus-1.8.0.tar.gz
cd dbus-1.8.0/
./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi
make
make install


BlueZ

wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.18.tar.xz
tar -xJf bluez-5.18.tar.xz
cd bluez-5.18
./configure --host=arm-linux-gnueabi --prefix= PKG_CONFIG_PATH=/usr/arm-linux-gnueabi/lib/pkgconfig 
make
make install