Jump to: navigation, search

Assignment 1 (cesar)

333 bytes added, 18:51, 19 September 2006
Beta 2
= Requirements =
The first step is go to mozilla and follow the links to [ Mozilla's Developer Centre] and use their [ Mozilla's Build documentation] to build the browser. Ubuntu does not come with many/any good developer tools, so we must extract the following from synaptics. But in order to use ubuntu, you need to figure out the root password, which you can't :<br>
'''Problem'''<br>Can't access Ubuntu's root password to install programs.<br>'''Solution'''<br>Ubuntu doesn't have a root password per se. sudo instead<br>
sudo dhclient
That's all I can gather from my memory and logs that I remember. A lot of stuff is dependancies. The configure file will yell at you if you miss something.
= Checking out the source =
cvs -d :pserver:anonymous:anonymous@localhost:/cvsroot co mozilla/
That will pull one important file.
If you are on the internet long enough in the lab, you'll notice that things stop working. You can log in, but you can't visit any pages.<br>'''Problem'''<br>Internet suddenly stops working<br>'''Solution'''<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 :
export CVSROOT=':pserver:anonymous:anonymous@localhost:/cvsroot'
make -f build
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.

Navigation menu