Open main menu

CDOT Wiki β

Changes

Assignment 1 (cesar)

730 bytes added, 20:33, 19 September 2006
Final-ish
= Checking out the source =
Before you checkout the source, check the [http://tinderbox.mozilla.org/showbuilds.cgi?tree=Firefox tinderbox]. I don't know why that isn't higher up in the wiki. Green is good, red bad, yellow is still building.
Next, click [http://developer.mozilla.org/en/docs/Mozilla_Source_Code_Via_CVS this] link to get the cvs command to checkout the source code. The first thing you should notice is that cvs hangs in the labs. You have to ssh tunnel to matrix than pull it from cvs :<br>
terminal 1
ssh -L 2401:cvs-mirror.mozilla.org:2401 -l username username@matrix
Internet suddenly stops working<br>
'''Solution'''<br>
There is no solution. ACS is an incurable disease.<br>
'''Treatment'''<br>
(I kid you not) You have to renew your dhcpc leasetime, aparently after every ~800 seconds. Reissue dhclient command. I don't know what a ''good'' solution is.<br>
Keep this in mind before checking out the source code. Continue with the instructions, change directory. Next you have to export an environment variable because you are using ssh tunneling rather than cvs-mirror.mozilla.org :
This should start configuring and build. In the above requirements, I meantioned I installed both libgtk-2.* and libgtk1.2; although on MDC it states that gtk2.0 is supported, I was getting complaints from config that it couldn't be found. After I installed gtk-1.2, the config stopped complaining.
 
= Resources =
<ul>
<li> http://developer.mozilla.org/ was a big help, and explained things quite nicely.</li>
<li> [[User:RealMarkP | Mark P]] for showing me how to ssh tunnel into matrix to checkout from cvs</li>
</ul>
 
= Conclusions =
I thought this would be a lot more difficult then it actually was. The summer students told me horror stories of trying to compile it for days. This leads me to believe that one or more of the following occured a) documentation has improved b) they exagerated c) they whine too much. Most of my difficulties were with ACS rather than Mozilla itself. And it worked when I first ran firefox. So very successful.
1
edit