GuruPlug

From LinuxMCE
Revision as of 11:11, 19 July 2010 by Hari (Talk | contribs) (New page: = Standalone DCE compilation = == Prerequsites == This installation guide assumes that you have installed the rootfs image from here: http://www.openplug.org/plugwiki/index.php/Reflashing_...)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Standalone DCE compilation

Prerequsites

This installation guide assumes that you have installed the rootfs image from here: http://www.openplug.org/plugwiki/index.php/Reflashing_images_on_the_GuruPlug#Burn_the_Rootfs_image

NFS

I'd recommend to compile on a NFS mount to save NAND write cycles:

apt-get update
apt-get install nfs-common

We then just mount /home from the DCERouter

guruplug-debian:~# mount 192.168.80.1:/home /mnt/
svc: failed to register lockdv1 RPC service (errno 97)

Just ignore the error message, we don't need lockdv1

SVN checkout

on the core do the svn checkout:

mkdir -p /home/public/arm-guru
cd /home/public/arm-guru
svn co http://svn.linuxmce.org/svn/people/hari/mini/

build requirements

on the guruplug install:

apt-get install build-essential g++ libmysqlclient15-dev libattr1-dev libxml2-dev

Configuring the build

adjust the Makefile and make sure that the following settings are exported:

export CPPFLAGS +=-I/usr/include/libxml2/ -I/usr/include/mysql -DMAEMO_NOKIA770
export CFLAGS=-march=armv5te -mtune=arm926ej-s -Fno-strict-aliasing -msoft-float -D__GCC_FLOAT_NOT_NEEDED 
export LDFLAGS=-L/usr/lib/mysql

building

run:

make

be patient, takes some time