Open main menu

CDOT Wiki β

Changes

User:Jsdoodna

1,968 bytes added, 23:31, 18 September 2008
Contact Information
My name is Joshua Doodnauth, and I am currently in the seventh semester BSD program at Seneca College
== Contact Information Profile ==Name: Joshua Doodnauth<br>**Currently in 3rd Year Bachelor of Software Development Program at Seneca@York 
Email: jsdoodna _at learn _dot senecac _dot on _dot ca<br>
Blog: jsdoodnauth.wordpress.com<br>
 
== Projects ==
XULRunner Application Packager
 
==Labs==
===Building Firefox===
System: AMD Athlon64 3700+ @2.2GHz; 3.25GB RAM; 1.5TB Hard Drive
 
OS: WindowsXP Media Center SP2
 
Software: Visual Studio 2008
 
Step followed in [http://developer.mozilla.org/en/Build_Documentation Firefox Build Instructions]:
 
1. Downloaded and installed the [http://www.microsoft.com/downloads/details.aspx?familyid=4377F86D-C913-4B5C-B87E-EF72E5B4E065&displaylang=en Microsoft Windows Vista SDK]
 
2. Downloaded and install the [http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb&displaylang=en Microsoft Windows Server 2003 R2 Platform SDK]
 
3. Downloaded and executed [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.3.exe MozillaBuild 1.3 package]
 
4. Executed 'start-msvc9.bat' (since I have Visual Studio 2008)
 
5. "Clone" the repository using:
hg clone http://hg.mozilla.org/mozilla-central/ src
cd src
This took me about 15-20 minutes, because it has to download a lot of files
 
6. Generated a .mozconfig file (I did it in vi):
. $topsrc/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt
ac_add_options --disable-tests
 
7. To build use the command:
make -f client.mk build
IT DIDN'T WORK! I received an error about 1 minute in, telling me 'System header oleacc.idl is not available", luckly it gave me a link to a website with the solution. Basically its a bug in the Windows Vista version of the Microsoft platform SDK, which forgot to include the file. The file is for accessibility, and the fix was to use a different SDK, or disable it by adding a command to the .mozconfig file
ac_add_options --disable-accessibility
8. Ran the build command again...It worked!
9. Took 35 minutes to build
10. To run I used the command:
ff-opt/dist/bin/firefox -no-remote -profilemanage
BOOM Its up and running!
1
edit