Changes

Jump to: navigation, search

Assignment 1 (yshen6)

1,689 bytes added, 18:25, 8 March 2007
no edit summary
= Assignment 1 - build firefox on Windows == Authors == Yi Shen
== Introduction ==
 My In order to build firefox on windows, my first step is was search “how to build firefox on Windows” on Google. Then I followed the instructions on David Humphrey's website.
== Software Installed ==
</pre>
Run Cygwin and move into c:\proj directory <br/>'''Problem1 ''' – I have no idea how to move my current directory to c:\proj in Cygwin 
<pre>
$ cd ../..
Log into the mozilla CVS by anonymous<br/>
'''Problem2 ''' – failed: connection refused (only at school’s computer)<br/>
After handled problem2 run Cygwin again and login CVS by anonymous
</pre>
 
now we can get the full source from cvs:
 
<pre>
c:\proj\mozilla> make -f client.mk checkout
</pre>
 
This will take a little while, then we will see a bunch of files create in c:\proj\mozilla<br/>
 
Now we can build it:
 
<pre>
C:\proj\mozilla> make -f client.mk build
</pre>
 
After more than half an hour of building, you will find firefox3.0a1 in C:\proj\mozilla\firefox-objdir\dist\bin
 
== Problems ==
Problem1 - I have no idea how to move my current directory to c:\proj in Cygwin.
Mark helped me move the current directory to c:\proj and create the .mozconfig by touch command.
 
Problem2 - I wasn’t able to log into cvs at school computer.
Mark told me to use Putty to tunnel out the school firewall through matix
 
<pre>
host Name(or IP address): matix.senecac.on.ca
Source Port: 2401
Destination: cvs-mirror.mozilla.org:2401
</pre>
 
Login matix<br/>
Then Change cvs-mirror.mozilla.org in c:\proj\buildsetup.bat to localhost
 
== Resources ==
[http://cs.senecac.on.ca/~david.humphrey/writing/firefox-win32-build.html David humphrey’s website]<br/>
[[User:RealMarkP|Mark Paruzel]]
 
== Conclusions ==
By the instruction on David’s website and mark’s help I build firefox on my first try. But I wasn’t understand clearly about the steps of building it and why it worked that way, at least I didn’t figure out the problem by myself. So I format my hard drive and redo everything by memory and it worked again. All the steps are not too hard to follow, but the building took too long time. Now I am familiar with building firefox on windows.
 
== Screenshot of the Build Number ==
[[Image:Yishen_a1.jpg]]
1
edit

Navigation menu