Personal tools
You are here: Home cmgui Zinc Firefox
Views

Firefox

last edited 1 month ago by pbier

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.

Contributing to this site

Please add to the wiki any relevant information that you think might be useful to other users of this website. For example, you might like to contribute your experiences, questions and answers.

You are encouraged to contribute to this site regardless of your level of experience. Contributions are welcomed from new and regular visitors.

If you ask a question and receive an answer from a developer you should record it in the wiki. This information is extremely useful and can help other users overcome the same problem.

See how to add and edit pages for more information.