Open main menu

CDOT Wiki β

Changes

Assignment 1 Building FireFox

2,719 bytes added, 09:58, 20 September 2006
References
==Hardware==
*Intel Core Intel® Core™2 Duo Processor Processors @ 1.86GHz
*512 MB of RAM
*80 gig Samsung Hard Drive
## At the prompt enter: cvs co mozilla/browser/config mozilla/client.mk and a mozilla sub folder will be created inside the proj folder
## go to the mozilla folder: cd mozilla
## Create a file named .mozconfig using notepad or someother editor and place it in the mozilla directory. This file contains the settings The contents of the for this file can be found within obtained from the Configure Build FireFox Options page at the #Mozzilla.org developer center[ http://developer.mozilla.mozconfig File section of the org/en/docs/Configuring_Build_Options#AppendixFirefox_Optimized_Static]. You will notice that the The last line of the .mozconfig file disables the installer thus which will makes NSIS is not requiredunnecessary. If you omit this line is missing or omitted then, NSIS (2.17 or greater) must be installed and its install within it's own directory (and not the 'bin' directory) . ## This must be added to your the path.More information relating to the specifics of this file can be found in the Configuring Build Options section of the Windows build guide made available by ## Download the Mozilla Developer Center. Begin source file download files by issuing the following command: typing make -f client.mk checkout at the prompt ## To compile the source type make -f client.mk build == Problems I Encountered Along The Way ==The first problem I had was trying to start the project. Normally I am use to the instructions being in one document. This time I had to look for multiple sources. In the Windows Build Prerequisite page [ http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites]I had a choice in using CVS or the tar files to build the firefox application. I first tried to download the tar files of the FireFox source. The problem was that I could not make heads or tails of it. The next problem that I had was when I tried to log onto the CVS using Cygwin I got the error message telling me that the CVS root has not been specified. I followed the instructions when it came to issuing the command from the Mozilla build page which was cvs -d :pserver:anonymous:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/browser/config/mozconfig == Solutions ==   The solution to this problem came in the form of Sherman who directed me to read Dave Humphries Guide to building FireFox and Elizabeth Chak's page involving the instructions. Apparently I was suppose to use CVS. The solution to the root problem turned out to be I was missing a few lines in my batch file Cygwin.bat. I found this out while checking out Elizabeth's page.SET CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot SET CVS_RSH=ssh With regards to the make checkout and the make buld commands I followed Sherman's advice and Liz's instructions from her page. == FireFox Build Screenshot ==[[Image:Firefox_build_about.PNG]] == Conclusion == The building of FireFox for me has been a rewarding experience. It has broadened my understanding of compiling in linux like envronments. It has exposed me to different software and many other resources I would not think to use in programming. I am looking forward to my next open source experience.  == Lessons Learned ==  I learned how to use and edit a wiki.I learned about Cygwin and how to download packages using CVS == Contributors ==[[User:David.humphrey|Dave Humphrey]] (dave or humph) [[User:Sherman|Sherman Fernandes]] (sjfern) [[User:Elichak|Liz Chak]] (elichak)   == References ==  Windows Build Prerequisite page [ http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites] FireFox Options Page at the Mozzilla.org developer Center[ http://developer.mozilla.org/en/docs/Configuring_Build_Options#Firefox_Optimized_Static] [[User:David.humphrey|Humphrey, David]] -[http://cs.senecac.on.ca/~david.humphrey/writing/firefox-win32-build.html Building Firefox on Win32]<br /> [[User:Elichak|Chak, Liz]] - Whose page was very helpful when I encountered the compile errors.[[User:Sherman|Sherman Fernandes]] (sjfern) - His advice was invaluable whenever I got stuck with a problem.
1
edit