Difference between revisions of "User:Minooz/OSD600/buildFF"

From CDOT Wiki
Jump to: navigation, search
(Build Firefox)
Line 1: Line 1:
 
==Build Firefox==
 
==Build Firefox==
*Links:
 
:[[Real_World_Mozilla_Build_Mozilla_Lab]]
 
: [[Mozilla_Community | Mozilla Community]]
 
 
: Build instructions @ [https://developer.mozilla.org/En/Developer_Guide/Build_Instructions developer.mozilla.org]
 
:: [https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Windows_Prerequisites  Windows Prerequisites ]
 
: Blogs:
 
:: Anna:[http://annasob.wordpress.com/category/build/ annasob Blog1] - [http://annasob.blogspot.com/2009/09/mozilla-community.html old blog]
 
:: Scott:[http://zenit.senecac.on.ca/wiki/index.php/Scott_Mozilla_Build]
 
: [http://zenit.senecac.on.ca/wiki/index.php/FAQ FAQ]
 
: [http://zenit.senecac.on.ca/wiki/index.php/Fall_2007_Weekly_Schedule Fall 2007]
 
: [http://zenit.senecac.on.ca/wiki/index.php/DPS909_and_OSD600_Fall_2010_Weekly_Schedule Fall 2010]
 
: [http://zenit.senecac.on.ca/wiki/index.php/DPS909 DPS909]
 
* Problems:
 
: [https://developer.mozilla.org/En/Windows_SDK_versions#Windows_7_SDK Windows SDK configuration]
 
: Needed to upgrade to [http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en.Net Framework 4] and [http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&displaylang=en SDK 7]
 
  
 +
Here are the information that were useful for me to get the set of instructions and to figure out how to deal with errors.
 +
One thing that was really helpful to me was annasob's tip on separating mozilla-build (where the build package is installed) and mozilla-central(where the source is cloned from Mozilla repository).
 +
I didn't figure out why it was so slow though on both Vista and Win 7.
 +
* Steps to build firefox
 
I followed the instructions on [http://annasob.wordpress.com/category/build/ annasob's blog] on how to build firefox on different platforms, also took a look at Build instructions @ [https://developer.mozilla.org/En/Developer_Guide/Build_Instructions developer.mozilla.org].
 
I followed the instructions on [http://annasob.wordpress.com/category/build/ annasob's blog] on how to build firefox on different platforms, also took a look at Build instructions @ [https://developer.mozilla.org/En/Developer_Guide/Build_Instructions developer.mozilla.org].
  
 
First, I tried to build firefox on Vista:
 
First, I tried to build firefox on Vista:
: Intel(R) Processor D CPU 3.20 GHz  
+
: Intel(R) Processor D CPU 2.17 GHz  
 
: 2GB DDR2 memory  
 
: 2GB DDR2 memory  
 
: Windows Vista 32bit
 
: Windows Vista 32bit
Line 41: Line 29:
 
: Visual Studio 2008  
 
: Visual Studio 2008  
  
I tried to build based on the same .mozconfig file, but the first error I got was related to SDK. I needed to upgrade SDK version based on these[https://developer.mozilla.org/En/Windows_SDK_versions recommendations] to SDK 7, and then change the SDK version in the SDK configuration tool.  
+
I tried to build based on the same .mozconfig file, but the first error I got was related to SDK. I needed to upgrade SDK version based on these[https://developer.mozilla.org/En/Windows_SDK_versions recommendations] to SDK 7, and the .Net Framework to 4. Also I needed to change the SDK version in the SDK configuration tool to 7.1.  
  
At the end, the build was successfully done after 2 hours on Win 7 and on Vista it's not completed yet after almost 4 hours!
+
At the end, the build was successfully done after 2 hours on Win 7 and on Vista it's not completed yet after more than 4 hours!
 
[[File:Minefield_final.jpg|thumb|left|400px| ]]
 
[[File:Minefield_final.jpg|thumb|left|400px| ]]
 +
 +
*Links:
 +
:[[Real_World_Mozilla_Build_Mozilla_Lab]]
 +
: [[Mozilla_Community | Mozilla Community]]
 +
 +
: Build instructions @ [https://developer.mozilla.org/En/Developer_Guide/Build_Instructions developer.mozilla.org]
 +
:: [https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Windows_Prerequisites  Windows Prerequisites ]
 +
: Blogs:
 +
:: Anna:[http://annasob.wordpress.com/category/build/ annasob Blog1] - [http://annasob.blogspot.com/2009/09/mozilla-community.html old blog]
 +
:: Scott:[http://zenit.senecac.on.ca/wiki/index.php/Scott_Mozilla_Build]
 +
: [http://zenit.senecac.on.ca/wiki/index.php/FAQ FAQ]
 +
: [http://zenit.senecac.on.ca/wiki/index.php/Fall_2007_Weekly_Schedule Fall 2007]
 +
: [http://zenit.senecac.on.ca/wiki/index.php/DPS909_and_OSD600_Fall_2010_Weekly_Schedule Fall 2010]
 +
: [http://zenit.senecac.on.ca/wiki/index.php/DPS909 DPS909]

Revision as of 00:13, 20 January 2011

Build Firefox

Here are the information that were useful for me to get the set of instructions and to figure out how to deal with errors. One thing that was really helpful to me was annasob's tip on separating mozilla-build (where the build package is installed) and mozilla-central(where the source is cloned from Mozilla repository). I didn't figure out why it was so slow though on both Vista and Win 7.

  • Steps to build firefox

I followed the instructions on annasob's blog on how to build firefox on different platforms, also took a look at Build instructions @ developer.mozilla.org.

First, I tried to build firefox on Vista:

Intel(R) Processor D CPU 2.17 GHz
2GB DDR2 memory
Windows Vista 32bit
Visual Studio 2010

and this was my .mozconfig:

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release
mk_add_options MOZ_MAKE_FLAGS="-j2"
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
ac_add_options --disable-optimize
ac_add_options --enable-debug

Then I started to build it on Windows 7:

Intel(R) Processor D CPU 3.20 GHz
4GB DDR2 memory
Windows 7 64bit
Visual Studio 2008

I tried to build based on the same .mozconfig file, but the first error I got was related to SDK. I needed to upgrade SDK version based on theserecommendations to SDK 7, and the .Net Framework to 4. Also I needed to change the SDK version in the SDK configuration tool to 7.1.

At the end, the build was successfully done after 2 hours on Win 7 and on Vista it's not completed yet after more than 4 hours!

Minefield final.jpg
  • Links:
Real_World_Mozilla_Build_Mozilla_Lab
Mozilla Community
Build instructions @ developer.mozilla.org
Windows Prerequisites
Blogs:
Anna:annasob Blog1 - old blog
Scott:[1]
FAQ
Fall 2007
Fall 2010
DPS909