Firefox 2.0 on Ubuntu AMD64
October 24th, 2006Well now that I have all the tag-lines out of the way. I figured I would just share my simple help for installing the new Firefox 2.0 (released today) for Ubuntu … well you already know the rest.
To begin at the beginning. You need to create your .mozconfig file. Your best bet is just put this in your home directory. You can scrutinize the following, or just accept it as is, but this is my .mozconfig file.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-static
ac_cv_visibility_pragma=no
ac_add_options –enable-optimize
ac_add_options –disable-debug
ac_add_options –enable-static
ac_add_options –disable-shared
ac_add_options –disable-tests
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options –enable-application=browser
ac_add_options –enable-optimize=”-march=k8 -O2 -funroll-loops -ffast-math -fschedule-insns2 -fexpensive-optimizations”
The next item of business is of course to go download a copy of the new Firefox source (yes it’s early enough that we are going to have to compile it, if you haven’t already guessed that).
I don’t want to direct anyone to any particular FTP as apparently there has been some concern about this lately about bandwidth. Simply find a copy for yourself and extract it into your favorite build directory.
You are only going to need to write two more commands after you’ve finished extracting the files (from inside the mozilla directory in your extraction folder).
and
sudo make -f client.mk install
Enjoy!