Difference between revisions of "Assignment 1(eldavey)"
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
sudo apt-get install cvs | sudo apt-get install cvs | ||
− | sudo apt-get install | + | sudo apt-get install build-essential |
− | |||
− | |||
sudo apt-get install libc6-dev | sudo apt-get install libc6-dev | ||
sudo apt-get install libx11-dev | sudo apt-get install libx11-dev | ||
− | sudo apt-get install | + | sudo apt-get install libxt-dev |
− | sudo apt-get install | + | sudo apt-get install libidl-dev |
</pre> | </pre> | ||
+ | got the source | ||
+ | |||
+ | <pre>cvs -d :pserver:anonymous:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r | ||
+ | MOZILLA_1_8_BRANCH mozilla/client.mk | ||
+ | </pre> | ||
+ | |||
+ | made my .mozconfig file in the mozilla directory | ||
+ | |||
+ | <pre>make -f client.mk checkout MOZ_CO_PROJECT=browser</pre> | ||
+ | |||
+ | Built | ||
+ | <pre>make -f client.mk build </pre> | ||
+ | |||
+ | got screenshot | ||
+ | <pre> | ||
+ | cd dis/bin | ||
+ | ./firefox | ||
+ | </pre> | ||
== Software == | == Software == | ||
Line 21: | Line 37: | ||
== Problems == | == Problems == | ||
− | My major problem was the | + | My major problem was the installation of my operating system. |
The first time I tried to install Ubuntu, they closed the open lab at | 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 | 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 | + | 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 | + | because I was missing some server and there were a few other problems with the X11. |
− | I tried to fix however in | + | 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 | + | 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. | 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. | ||
Line 33: | Line 49: | ||
== Solutions == | == Solutions == | ||
Ubuntu problem: | Ubuntu problem: | ||
− | bought new CD and | + | bought new CD and re burned the image. |
target error: | target error: | ||
Line 45: | Line 61: | ||
Tom -- linux help | Tom -- linux help | ||
Mike -- build | Mike -- build | ||
− | + | Vanessa -- lib gtk | |
=== web sites: === | === web sites: === | ||
http://developer.mozilla.org/en/docs/Build_Documentation | http://developer.mozilla.org/en/docs/Build_Documentation | ||
+ | |||
http://gtk.org | http://gtk.org | ||
+ | |||
http://help.ubuntu.com/community | http://help.ubuntu.com/community | ||
+ | |||
http://google.com | http://google.com | ||
Line 59: | Line 78: | ||
== Conclusions and reflections == | == 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 | + | is expressed in their output when things go wrong. |
Latest revision as of 23:16, 25 September 2006
Contents
Assignment 1
Steps
installed required packages
sudo apt-get install cvs sudo apt-get install build-essential sudo apt-get install libc6-dev sudo apt-get install libx11-dev sudo apt-get install libxt-dev sudo apt-get install libidl-dev
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
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://help.ubuntu.com/community
Screenshot
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.