Changes

Jump to: navigation, search

Real World Mozilla Build Mozilla Lab

879 bytes added, 14:09, 6 February 2008
Update to version 1.2 of MozBuild
[[Dive into Real World Mozilla]] > [[Dive into Real World Mozilla Day 2]] > Build Mozilla Lab
== Overview ==
== Instructions ==
The lab machines have already been setIn order to build Mozilla from source you must create a build environment. On Windows, this must include [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-up to use 1.2.exe Mozilla Build (1.2 or newer)] and MSVC 8 and MozillaBuild RC1. You Once installed (and these are already installed int he lab) you only need to run '''Mozillastart-Build MSVC 8msvc8.bat''' (there is a link on the desktop) to begin (i.e., you shouldn't need to install anything). On Linux, just install the standard development tools and libraries (e.g., on Fedora, use "yum groupinstall 'Development Tools' 'Development Libraries' 'GNOME Software Development'").
# Create If on Windows on a lab machine, create a directory called '''C:\ff''' to hold the source-- if on Linux in the lab, use the '''/tmp''' directory, or your home directory on your own system.
# Make sure the tree is '''not red''' on [http://tinderbox.mozilla.org/showbuilds.cgi?tree=Firefox tinderbox]
# Check-out the Firefox code from '''CVS''' into C:\ff the appropriate directory ([http://developer.mozilla.org/en/docs/Mozilla_Source_Code_%28CVS%29 instructions are here]). You can use either of the following CVSROOT values:
#* :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
#* :pserver:anonymous@hera.senecac.on.ca:/cvsroot
# wait, wait, wait...NOTE: the build process (a debug build) takes approximately '''1 hour''' to complete in the lab.
# Test your new browser:
## Set the following environment variables variable to turn-off assertion dialogs , and allow run Firefox as follows (NOTE: -no-remote allows for multiple versions another version of the browser to be run simultaneouslyat the same time, and -Profilemanager allows you to choose/create a new profile so you don't corrupt your default profile):
##* export XPCOM_DEBUG_BREAK=warn
##* export MOZ_NO_REMOTE=1## Run the browser as follows:<br /><code>C:\ff\mozilla\objdir\dist\bin\firefox -Profilemanager-no-remote</code>
## When prompted, create a new profile called '''development'''
## In the address bar, enter the following URI and note the build information: '''about:'''
== Resources ==
* [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.2.exe MozillaBuild 1.2 for Win32] TODO* [http://webtools.mozilla.org/build/config.cgi MOZCONFIG Build Configurator]
1
edit

Navigation menu