Difference between revisions of "User:Moe/Assignment1"
< User:Moe
(→''':''' Hardware and Software Requirements) |
(→''':''' Hardware and Software Requirements) |
||
Line 10: | Line 10: | ||
:'''Hardware''' | :'''Hardware''' | ||
::I didn’t care much about the hardware requirements listed on the Build Documentation page because I knew that my laptop was a fairly recent model [2 years old] and that the only reason why they usually require high system requirements is mostly to decrease the time that it takes to compile code. | ::I didn’t care much about the hardware requirements listed on the Build Documentation page because I knew that my laptop was a fairly recent model [2 years old] and that the only reason why they usually require high system requirements is mostly to decrease the time that it takes to compile code. | ||
+ | |||
::'''My hardware configuration''' | ::'''My hardware configuration''' | ||
Line 35: | Line 36: | ||
|} | |} | ||
:'''Software''' | :'''Software''' | ||
− | ::'''Xcode''': I already had Xcode installed since I had used it before in my BTP course. Xcode provided me with the SDKs that were required for building Firefox as well as the build tools like the gcc 3.3 compiler. | + | ::'''Xcode''': I already had Xcode installed since I had used it before in my BTP course. Xcode provided me with the SDKs that were required for building Firefox as well as the build tools like the gcc 3.3 compiler. [[http://developer.apple.com/tools/xcode/ Get Xcode]] |
+ | |||
+ | ::'''DarwinPorts''': The Mozilla prerequisites page for building Firefox on OS X recommends the installation of DarwinPorts, a package management system, in order to install libIDL, Glib and autoconf. I also had DarwinPorts installed on my computer. | ||
+ | ::[[http://darwinports.opendarwin.org/docs/ Installation Document]] [[http://darwinports.opendarwin.org/getdp/ Get DarwinPorts]] | ||
− | |||
::'''My software configuration''' | ::'''My software configuration''' | ||
:{| class="fullwidth-table" | :{| class="fullwidth-table" | ||
|- | |- | ||
− | |class="header" width=" | + | |class="header" width="13%"| |
|class="header" width="90%"| | |class="header" width="90%"| | ||
|- | |- |
Revision as of 00:12, 17 September 2006
en construction
Contents
: Research
- At first I had decided to build Firefox using Visual Studio 2005 on Windows XP. No knowing where to start I did what I usually do when I don’t have a clue about something. I googled it. Using the following search query “build Firefox using visual studio” in google I was directed to [1].
- I followed the instructions on that page up to the point where the buildsetup.bat needed to be executed. It did not work. I was unable to execute the script. I knew this because it wasn’t setting up the correct environmental variables for CVS to work properly. After an hour of struggle with this problem I decided to give up on Windows and decided to try my luck with OS X.
- I searched google with the following query “mac osx build firefox” and this page [2] was returned as one of the search results. I then followed the instructions on this page and at the end was able to get Firefox built and running in no time.
: Hardware and Software Requirements
- Hardware
- I didn’t care much about the hardware requirements listed on the Build Documentation page because I knew that my laptop was a fairly recent model [2 years old] and that the only reason why they usually require high system requirements is mostly to decrease the time that it takes to compile code.
- My hardware configuration
Machine Name: PowerBook G4 12" Machine Model: PowerBook6,8 CPU Type: PowerPC G4 (1.2) Number Of CPUs: 1 CPU Speed: 1.5 GHz L2 Cache: 512 KB Memory: 512 MB Bus Speed: 167 MHz
- Software
- Xcode: I already had Xcode installed since I had used it before in my BTP course. Xcode provided me with the SDKs that were required for building Firefox as well as the build tools like the gcc 3.3 compiler. [Get Xcode]
- DarwinPorts: The Mozilla prerequisites page for building Firefox on OS X recommends the installation of DarwinPorts, a package management system, in order to install libIDL, Glib and autoconf. I also had DarwinPorts installed on my computer.
- [Installation Document] [Get DarwinPorts]
- My software configuration
Mac OS X Version 10.7.7 GNU Make 3.80 DarwinPorts 1.310 gcc version 3.3 20030304 (Apple Computer, Inc. build 1819) Xcode 2.3
: Problems encountered & Resolutions
- When compiling Firefox I realized that I was missing the QuickTime, CoreAudio and the OpenGL SDK. To resolve this issue I re-downloaded Xcode and installed the missing files.
- After I added the missing SDKs I was still unable to compile and I would get the same build error message over and over again. After many build attempts I realized that the old object files that were compiled before, when I was missing the SDKs, were causing the build process to fail. The removal of the object files with in the objdir resulted it a successful build of Firefox.
: Resources
: Final Thoughts
- My first experience with building Firefox has been quite uneventful. I was expecting hours of painful struggle with this assignment but luckily the entire process went without a hitch at least compared to the other horror stories I’ve heard. I however consider myself lucky to have all the tools needed already installed and ready to go.