Difference between revisions of "User talk:Kwpark1"

From CDOT Wiki
Jump to: navigation, search
(Process)
(Process)
Line 28: Line 28:
 
* Get the mozilla source code <pre>hg clone http://hg.mozilla.org/mozilla-central/ src</pre>
 
* Get the mozilla source code <pre>hg clone http://hg.mozilla.org/mozilla-central/ src</pre>
 
* Change current dir to src <pre>cd src</pre>
 
* Change current dir to src <pre>cd src</pre>
* Configuration  
+
* Configuration <pre>echo 'ac_add_options --enable-application=browser' > .mozconfig
  <pre>
+
echo 'mk_add_options MOZ_CO_PROJECT=browser' >> .mozconfig</pre>
echo 'ac_add_options --enable-application=browser' > .mozconfig
 
echo 'mk_add_options MOZ_CO_PROJECT=browser' >> .mozconfig
 
  </pre>
 
 
* Bulid (need around 1Hr) <pre>make -f client.mk build</pre>
 
* Bulid (need around 1Hr) <pre>make -f client.mk build</pre>
 
* Run firefox <pre>dist/bin/firefox -no-remote -profilemanager</pre>
 
* Run firefox <pre>dist/bin/firefox -no-remote -profilemanager</pre>
  
 
<b>Sept 16, 2008</b> Created
 
<b>Sept 16, 2008</b> Created

Revision as of 16:35, 19 September 2008

Lab 3: Mozilla Build

Build Firefox 3

Result

MyFirefox.jpg

Checking before install

This is the prerequisites checking

My Laptop's setting

  • H/W
    • CPU: Genuine Intel CPU T2250 @ 1.73GHz
    • RAM: 512M (512M X 2)
    • HDD: 30G free of 90G
  • S/W
    • Windows XP Pro. SP3
    • Microsoft Visual Studio 2005
    • .NET Framework 2.0
    • Microsoft Windows SDK(s)
    • MozillaBuild

Process

I did the easiest way of Mozilla Source Code via Mercurial

  • Run batch file
    C:\mozilla-build\start-msvc8.bat
  • Install Autoconf
  • Get the mozilla source code
    hg clone http://hg.mozilla.org/mozilla-central/ src
  • Change current dir to src
    cd src
  • Configuration
    echo 'ac_add_options --enable-application=browser' > .mozconfig
echo 'mk_add_options MOZ_CO_PROJECT=browser' >> .mozconfig
  • Bulid (need around 1Hr)
    make -f client.mk build
  • Run firefox
    dist/bin/firefox -no-remote -profilemanager

Sept 16, 2008 Created