Changes

Jump to: navigation, search

User:Mckwan/Assignment1

1,347 bytes added, 22:03, 19 September 2006
Problems
* create a text file .mozconfig in mozilla (the following code from David's website)
<pre>
# Building Firefox Trunk with Debugging. $topsrcdir/browser/config/mozconfig
# Put all obj files in one place, not in src tree mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-objdir ac_add_options --disable-static ac_add_options --enable-shared
# Debug Build Setup Options ac_add_options --disable-optimize ac_add_options --enable-debug
# I'm using Canvas for my work ac_add_options --enable-canvas
</pre>
• Check out the source code from cvs
</pre>
==Problems==
My problem was failing to use the right verison of make to build firefox.
<pre> make[6]: *** [_xpidlgen/nsIContextMenuListener.h] Error 1
make[6]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir/embedding/browser/webBrowser'
make[5]: *** [export] Error 2
make[5]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir/embedding/browser'
make[4]: *** [export] Error 2
make[4]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir/embedding'
make[3]: *** [export_tier_gecko] Error 2
make[3]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir'
make[2]: *** [tier_gecko] Error 2
make[2]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir'
make: *** [build] Error 2
</pre>
 
[[User:elichak|elichak]] told me the site that has an older verison of cygwin.
Download cygwinBasic [http://ptolemy.berkeley.edu/ptolemyII/ptII4.0/cygwinBasic.exe here] and install it to a temp directory. Then copy make from the temp directory and paste it into the Cygwin dirctory.
==Screenshot==
Coming soonScreenshot of Mozilla Firefox 3.0 (Minefield) Help > About window: [[Image:Minefield_help_about_windows_mckwan.JPG|Screenshot of Mozilla Firefox 3.0 (Minefield) Help > About window]]
==Conclusion==
I was expecting a lot of problems with the Mozilla Firefox build. This It turned out to be better then I expected as building on Windows XP professional sp2 proved to be very easy and straight forward as long as you follow the instruction closely and make sure all the version are correct. The build problems problem I encountered allowed me to understand more about the build system and how that the slightest version change can break the build.
1
edit

Navigation menu