My build process was completed on Ubuntu Dapper Drake, Pentium 4 2Ghz and 512MB RAM.
Here is the list of needed packages that you can download from Synaptic/apt-get in Ubuntu.
1. This code will checkout client.mk into ./mozilla from the Bon Echo branch. Go to that directory and the last command will checkout the browser project. This step may take a while depending on your internet speed.
$ cvs -d :pserver:anonymous:firstname.lastname@example.org:/cvsroot co -r2. Before you can build you need to have a .mozconfig file in your ./mozilla directory. I have created this one which builds firefox with shared libraries, no optimization and I also enabled debugging. I also used gtk2 because I have version 0.8 of libIDL. By default the build will use gtk1. Create a new file called .mozconfig and copy the contents below. For a full list of acceptable flags you can see it here.
$ cd mozilla
$ make -f client.mk checkout MOZ_CO_PROJECT=browser
. $topsrcdir/browser/config/mozconfig3. Finally I fired the build command to compile firefox.
make -f client.mk build
Finally the build was complete