Difference between revisions of "Assignment 1(eldavey)"

From CDOT Wiki
Jump to: navigation, search
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
= Assignment 1 =
 
= Assignment 1 =
  
Line 5: Line 4:
 
installed required packages
 
installed required packages
 
<pre>
 
<pre>
sudo apt-get install gcc cpp g++ libc6-dev libx11-dev make gdb
+
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
 
</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 ==
 +
 +
Ubuntu 6.06 LTS - DD June 06 release
 +
80 Gig Removable Drive
 +
1.8GHz AMD w/ 512MB RAM 
  
 
== Problems ==
 
== 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 ==
 
== Solutions ==
 +
Ubuntu problem:
 +
bought new CD and re burned the image.
  
 +
target error:
 +
<pre>make -f client.mk checkout MOZ_CO_PROJECT=browser</pre>
  
 
== Resources ==
 
== Resources ==
 +
 
=== people: ===
 
=== people: ===
 +
 +
Ben -- linux help
 +
Tom -- linux help
 +
Mike -- build
 +
Vanessa -- lib gtk
  
 
=== web sites: ===
 
=== web sites: ===
  
=== other: ===
+
http://developer.mozilla.org/en/docs/Build_Documentation
 +
 
 +
http://gtk.org
 +
 
 +
http://help.ubuntu.com/community
 +
 
 +
http://google.com
  
 
== Screenshot ==
 
== Screenshot ==
 
+
[[Image:eldaveyA1.jpg]]
  
 
== 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.
  
note I am extremely impressed with the humour of the programmers or the sarcasm that  
+
I am extremely impressed with the humour of the programmers or the sarcasm that  
is expressed in their out put when things go wrong.
+
is expressed in their output when things go wrong.

Latest revision as of 00:16, 26 September 2006

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://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.