Sitemap | Terms

Very small how-to on how to compile Firefox on Debian. I needed this for solving a bug. But it is also a nice start for an optimized Firefox build. Maybe I can find time for that some day.

wget http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/source/firefox-3.6.3.source.tar.bz2
tar -xvvjf firefox-3.6.3.source.tar.bz2

echo 'ac_add_options --enable-application=browser
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-optimize
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox' > ~/.mozconfig

sudo apt-get build-dep iceweasel
cd mozilla-1.9.2/
sudo aptitude install libdbus-glib-1-2 build-essential libdbus-glib-1-dev libnotify-dev libasound2-dev
libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev libidl-dev
make -f client.mk build

##Make tarballs
cd ..
cd firefox
make -C browser/installer


Further reading:
http://forums.debian.net/viewtopic.php?f=16&t=37044
https://developer.mozilla.org/en/Linux_Build_Prerequisites
http://sourceforge.net/projects/spicebird/forums/forum/809252/topic/2019903


A random image
Butterflies (© Mariska de Graaff)


Comments
 
Tell me what's on your mind Facebook Twitter Hyves YouTube

A random image
Mushrooms (© Mariska de Graaff)