Views
Firefox
Build Firefox
You may need some extra packages installed. Here are a few commands to install packages I needed last time I built Firefox:
sudo apt-get install auto-make sudo apt-get install libdbus-glib-1-dev sudo apt-get install libcurl4-gnutls-dev
Get the source for the appropriate version of Firefox (as a bzipped tar file). You can find the source for all releases here: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/
Select which release you want by clicking on the appropriately named directory and then click on the source directory to find the bzipped tar file of the source. Download this.
Copy your bzipped tar file to your CMISS root directory and then extract it, eg
cd $CMISS_ROOT tar -xvf firefox-3.0.1-source.tar.bz2
Set up your configuration file. Full instructions are here: http://developer.mozilla.org/en/Configuring_Build_Options
I did the following:
cd $CMISS_ROOT/mozilla echo "# My first mozilla config" > .mozconfig
Then opened the .mozconfig file and added the following lines:
. $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt ac_add_options --disable-tests
Follow the build instructions: http://developer.mozilla.org/en/Build_and_Install
I did the following:
cd $CMISS_ROOT/mozilla make -f client.mk build MOZ_CURRENT_PROJECT=browser
Windows build
Be sure to use MSVC version 6.0 when building on windows or the resulting zinc will not be compatible with the version of Firefox distributed by the Mozilla Foundation.