Thursday, November 4, 2010

Compile Latest Firefox

Go to and download firefox-3.6.12.source.tar.bz2. Get all the tools and things you need to build Firefox. In a terminal as root :

apt-get build-dep iceweasel
apt-get install libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev autoconf2.13 yasm libidl-dev

Extract  firefox-3.6.12.source.tar.bz2 : tar xf firefox-3.6.12.source.tar.bz2. Put a ./mozconfig file in the directory mozilla-1.9.2. Open .mozconfig inside a text editor and paste in the following text:

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-release
#mk_add_options MOZ_MAKE_FLAGS="-j4"
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --enable-official-branding
ac_add_options --enable-system-cairo

In mozilla-1.9.2 open a terminal and enter make -f Once the compile is done, the binaries will be in ../mozilla-1.9.2/ff-release/dist/bin/. After that cd mozilla-1.9.2/ff-release && make package. Package will be  in : mozilla-1.9.2/ff-release/dist/ (tar.bz2).
See my former post
Many thanks to :

No comments:

Post a Comment