Elite software development.

Building Mozilla Firefox on Debian 5.0.2 (AMD64)

This tutorial summarizes how I built Mozilla Firefox on my new Debian 5.0.2 ("Lenny") installation. The box is AMD Athlon X2 64-bit. I document the packages that one must install with 'apt-get' in order to satisfy the build dependencies on this platform. [Updated 2009-Oct-11 to reflect new dependencies.]

; apt-get -y install g++-4.2 mercurial autoconf2.13 make zip

GCC 4.3 does not work properly on my system (AMD 64-bit). I use 4.2.

; apt-get -y install pkg-config libidl-dev libgtk2.0-dev
; apt-get -y install libdbus-1-dev libdbus-glib-1-dev libiw-dev
; apt-get -y install libnotify-dev libasound2-dev libxt-dev
; apt-get -y install mesa-common-dev
; hg clone http://hg.mozilla.org/mozilla-central

I configured my ~/.mozconfig as follows:

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg
mk_add_options MOZ_MAKE_FLAGS="-s -j4"
ac_add_options --enable-debug
ac_add_options --disable-optimize

In mozilla-central/:

make -f client.mk build