View Single Post
Posts: 567 | Thanked: 2,965 times | Joined on Oct 2009
#21
Documenting the steps I am taking to set up the build environment that I will be using to compile Firefox 24 source code. I am doing this on the Maemo Fremantle Ubuntu dev VM, if you have a different setup the commands to run may be different:
Items in <> are things you need to type in or do, other lines are commands to be run in the shell.

sudo su
<input password for user maemo>
cd /scratchbox/compilers
wget http://maemo.merlin1991.at/cssu/deve...armv7a.tar.bz2
tar xvf linaro-4.7-2012.07-fremantle-armv7a.tar.bz2
rm linaro-4.7-2012.07-fremantle-armv7a.tar.bz2
exit
/scratchbox/login
sb-conf st FREMANTLE_ARMEL_GCC472 -c linaro-4.7-2012.07-fremantle-armv7a -d qemuerl:debian-etch:doctools:svn:git -t qemu-arm-sb
sb-conf se FREMANTLE_ARMEL_GCC472
wget http://repository.maemo.org/stable/f...36-2_armel.tgz
sb-conf rs maemo-sdk-rootstrap_5.0_20.2010.36-2_armel.tgz
sb-conf in -edL
rm maemo-sdk-rootstrap_5.0_20.2010.36-2_armel.tgz
dpkg -i /scratchbox/compilers/linaro-4.7-2012.07-fremantle-armv7a/packages/libfakeroot_1.14.4-0+sb1_armel.deb
apt-get update
fakeroot apt-get install maemo-sdk-debug
<add deb http://repository.maemo.org/ fremantle/******************************** nokia-binaries line to /etc/apt/sources.list>
apt-get update
fakeroot apt-get install nokia-binaries nokia-apps
rm -rf /targets/FREMANTLE_ARMEL_GCC472/opt
mkdir /targets/FREMANTLE_ARMEL_GCC472/opt
apt-get install dbus-glib-1-dev
apt-get install autoconf2.13
apt-get install libidl-dev
apt-get install automake1.7
apt-get install python2.5
apt-get install quilt
apt-get install bc
apt-get install sharutils
<add deb http://repository.maemo.org/extras-devel/ fremantle free line to /etc/apt/sources.list>
apt-get update
apt-get install python2.7
apt-get install libogg-dev
apt-get install libvorbis-dev
apt-get install libtheora-dev
<remove deb http://repository.maemo.org/extras-devel/ fremantle free line from /etc/apt/sources.list>
<add deb http://maemo.merlin1991.at/cssu/community-thumb/ fremantle free non-free to /etc/apt/sources.list>
apt-get update
apt-get install gcc-4.7-base
apt-get install libgcc1
apt-get install libstdc++6-dev
apt-get install libstdc++6-dbg
<remove deb http://maemo.merlin1991.at/cssu/community-thumb/ fremantle free non-free from /etc/apt/sources.list>
<add deb http://repository.maemo.org/community-testing/ fremantle free line to /etc/apt/sources.list>
apt-get update
apt-get install libpixman-1-dev
<clone git repository git@github.com:jonwil/microb-engine-ff24.git into your scratchbox home folder>
cd microb-engine-ff24
dpkg-buildpackage -rfakeroot -b

Last edited by jonwil; 2018-05-28 at 23:53.
 

The Following 12 Users Say Thank You to jonwil For This Useful Post: