1
edit
Changes
Updated for mercurial source control
= Building Firefox =
''Note: These instructions are good for Firefox 3.01.*builds that use mercurial for source control. However, for Prior versions of Firefox 3.1.*, used cvs has been replaced with Mercurial. These notes are not yet updated to reflect thisfor source control.''
== Building on Windows Vista ==
(If you get a message saying this application did not install properly then you should see a windows dialog giving you the option to re-install
with the 'correct settings'. After that all should be well.)
http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.23.exe
Open a shell window by right clicking and using admin privileges:
c:\mozilla-build\start-msvc8.bat
cd
Create and open a hidden file called .mozconfig in your home directory:
For more detailed information about Mozilla building visit [http://zenit.senecac.on.ca/wiki/index.php/Real_World_Mozilla_Build_Mozilla_Lab Real World Mozilla Build Lab].
For more info about Visual Studio 2008 problems see [http://crashopensource.blogspot.com/2008/05/vista-building-with-vc9.html Lukas Blakk's blog]. For more information on using Mercurial to checkout Mozilla code see [http://developer.mozilla.org/en/Mozilla_Source_Code_(Mercurial) Mozilla Source Code].
== Building on Windows XP ==
ac_add_options --disable-vista-sdk-requirements
Another problem is that you may not be able to use your home directory because the path may have almost certainly has spaces. If that is the case, just put the mozilla directory in your root (ie. C:\mozilla) and put the .mozconfig file in that directory.
== Building on Ubuntu and Fedora ==
''The following instructions where written for Firefox 3.0.* builds. Use mercurial instead of cvs for newer builds.''
Install build pre-requisites for Fedora users:
== Building on OS X ==
The following instructions where written for Firefox 3.0.* builds. Try [http://zenit.senecac.on.ca/wiki/index.php/User:Evmarbella Ezadkiel Villarico Marbella]'s page for more detailed instructions. Build pre-requisites and instructions for OS X can also be found at the [http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites#Firefox_Quick_Start Mozilla Developer Center.] Although the those instructions are good, it may be necessary to take a few extra steps. For instance, the build may have trouble finding the glib dependency. If this happens, try adding this to your path:
export PATH=$PATH:/sw/bin;/sw/sbin