Assignment 1(eldavey)

From CDOT Wiki
Revision as of 00:08, 26 September 2006 by Eldavey (talk | contribs)
Jump to: navigation, search

Assignment 1

Steps

installed required packages

sudo apt-get install cvs
sudo apt-get install gcc
sudo apt-get install cpp 
sudo apt-get install g++
sudo apt-get install libc6-dev
sudo apt-get install libx11-dev
sudo apt-get install make
sudo apt-get install gdb 

got the source

cvs -d :pserver:anonymous:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_BRANCH mozilla/client.mk
 

made my .mozconfig file in the mozilla directory

make -f client.mk checkout MOZ_CO_PROJECT=browser</>

Built 
<pre>make -f client.mk build 

got screenshot

cd dis/bin
./firefox

Software

Ubuntu 6.06 LTS - DD June 06 release 80 Gig Removable Drive 1.8GHz AMD w/ 512MB RAM

Problems

My major problem was the installation of my operating system. The first time I tried to install Ubuntu, they closed the open lab at 5:00 and I was almost done. The second time I installed it I did it at home had no problems, that I was aware of; I even installed VMware, XP and Visual studios. When I got to school to start the build I was unable to run Ubuntu because I was missing some server and there were a few other problems with the X11. I tried to fix however in trying to repairer this I deleted my installation. and had to start again. The next installation I did I did at the school and started the build there. The problems continued. I would run the apt-get install and I got dependency errors when trying to get the lib files and gtk toolkit. I then tied to install each package independently from the gtk ftp cite I ended up with circular dependencies. Someone suggested that it might have been a problem with my insulation and sure enough my CD was bad.

From there I only had two minor problems and that was when I was at the school and I tried to co the source and I was getting a weird error when I tried to do the make -f client.mk checkout I had to add a target to the end.

Solutions

Ubuntu problem: bought new CD and re burned the image.

target error:

make -f client.mk checkout MOZ_CO_PROJECT=browser

Resources

people:

Ben -- linux help Tom -- linux help Mike -- build Vanessa -- lib gtk

web sites:

http://developer.mozilla.org/en/docs/Build_Documentation

http://gtk.org

http://help.ubuntu.com/community

http://google.com

Screenshot

EldaveyA1.jpg

Conclusions and reflections

I am too stubborn. I should have given up after two nights and moved to a different OS, however I was determined to get it working. Had I moved to a different OS I might have realized it wasn't me it was my instillation CD was bad.

I am extremely impressed with the humour of the programmers or the sarcasm that is expressed in their output when things go wrong.