**NOTE: You will need about 2GBs of HD space before you begin. 250MBs for the cvs source, about 100MB for the tools (could be less but I had cygwin pre-installed), and 1.2GBs for the code?
Download and install Visual Studios 2005 (referred to as VC8 on Mozilla sites).
Seneca students should be able to download and install this from our ACS site.
Click here for ACS
Then download and install the Mozilla Build Package 1.1
Download Mozilla Build Package 1.1
The package should install everything into c:\mozilla-build directory by default.
Once these two things are done, run the start-msvc8.bat in the c:\mozilla-build directory which will open up an application window with MINGW32 (referred to as MSYS).
Now that the MSYS window is open (it will look something like command prompt), navigate your way back to the root c:\ - by default the application root for me was somewhere in my c:\document and settings\user\ which isn't allowed for the build procedure because of the spaces between the directory name.
Once you are in c:\ do the following in the MSYS console:
Make a new directory called proj.
Navigate into proj directory.
Open a connection with mozilla cvs server.
cvs -d :pserver:firstname.lastname@example.org:/cvsroot co mozilla/client.mk
Navigate into the new mozilla directory that was created by the cvs.
Download the source code from CVS. This might take a little while so be patient. It took me about 5-10 minutes.
make -f client.mk checkout MOZ_CO_PROJECT=browser
*** You can easily change the MOZ_CO_PROJECT tag to download different projects or versions. Check out the mozilla dev site for more info or Click Here
Once all the source code is downloaded. Create a ".mozconfig" file in the c:\proj\mozilla directory and fill it with your build options. Mine looked something like this:
# Options for client.mk.
# Options for 'configure' (same as command-line options).
Once that is done type:
make -f client.mk build MOZ_CO_PROJECT=browser
This will build the source code. I would suggest you go do something else unless you have one of them top of the line PCs - this process took my about 90mins.
Once the source code is built, hopefully with no errors, you should have a directory called "obj-i686-pc-mingw32" or something similar. Make sure any Firefox browsers are closed before continuing.
To run Minefield (Firefox 2 or 3?), run firefox located in c:\proj\mozilla\obj-i686-pc-mingw32\dist\bin
After a minute or two you should have a working build of Minefield.
If you would like to make an installer, you can type make installer in the c:\proj\mozilla\obj-i686-pc-mingw32 directory.
**NOTE: If Firefox is already running on your desktop running Minefield will only open a new window, so please close Firefox before running the application.
You are now COMPLETE!