So i got tired of Vista. I am having problems building. I keep on getting errors. My last error was Windows SDK not supported. I tried installing the new Vista SDK and I keep getting an error: Install stopped reason unknown!!!! I switched to: Ubuntu 9.04 – the Jaunty Jackalope – released in April 2009. HAHAHHAHAHAHA
PS. i got some help from another blogger. If u dont understand my stuff check out http://dbaranski.wordpress.com/2007/09/19/building-firefox-on-ubuntu
Setting Up Environment:
Run these two commands in the terminal (Applications=>Accessories=>Terminal)
- sudo apt-get build-dep firefox
- sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev
I got an error message at first saying can’t find mercurial so I had to install it using Synaptic Package Manager (System=>Administration).
Ok this took some time as I did not know what i was doing…. well i still dont. But I opened it and typed in “mercurial” in quick search. Guess what NO RESULTS. I googled it and found nothing!! Well… noting that worked. Finally, someone told me to look for hg! I did and I got a result, double clicked it somehow it started installing!
Get the latest code:
You have to get the latest code from the repository. To do this run this command in the Terminal:
- hg clone http://hg.mozilla.org/mozilla-central/ src
NOTE: src (in the above command) is the path to where you want the folder to be created.
Now you have to switch directories. In the Terminal run this command:
- cd src
YES: src is the path u used in the previous command
Build the Code
Before u build, you have to make a “.mozconfig” file. Open an editor (Applications=>Accessories=>Test Editor) and type the following:
Save this file in /home/username. Same place where u find Desktop
Now run this command in the Terminal (make sure u are in the right directory: cd src)
- make -f client.mk build
Running Mozilla Firefox
Now you can run firefox by changing directories and running one simple command
- cd obj-i686-pc-linux-gnu/dist/bin
Note: If you have another firefox session opened, you either have to close it or use this command: ./firefox -profilemanager -no-remote You will need to add a profile.
Make sure its the right Firefox
You should be running Minefield. If you go to Help it will say About Minefield.
Click Here To read all of my blogs.
Click Here To read my build blogs.