You are currently browsing the monthly archive for September 2007.

Well I must say I had a few bumps here and there but after following the instructions from Mozilla it all ended up well. Following these steps should result in a nice compile of Firefox Minefield.

  1. Run the following command to install any missing packages, all packages are required. (Note that I’ve included some packages that you may already have, therefore this command “should” work on any recent Linux install. This is all one line.)
  2. sudo apt-get install gcc g++ perl make cvs libxt-dev libidl0 libidl-dev libfreetype6 fontconfig

  3. Next, check out a single file using this command. It will be used to run the main checkout/build. (note that this is all one line, thanks to Ian for pointing that out)
  4. cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk

  5. Change directories to the new checkout.
  6. cd mozilla

  7. Proceed to checkout Firefox with the following command (Note that this will likely take some time)
  8. make -f client.mk checkout MOZ_CO_PROJECT=browser

    To check out different projects from source simply change the MOZ_CO_PROJECT variable to the desired project. They are all listed here.

  9. You will now require one more items to make it all work (at least well). For a start you will need a .mozconfig file (note the dot in front). This file will input command line options for you so you won’t have to. The Mozilla Build Configurator website will automatically generate one for you with any of the options you wish for. I’ve also made a generic file that you can use below. If you’re using the Mozilla directory for your CVS checkout like specified above then create the .mozconfig file there and paste the following:
  10. #
    # See http://www.mozilla.org/build/ for build instructions.
    #
    # Options for client.mk.
    mk_add_options MOZ_CO_PROJECT=browser
    mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
    # Options for 'configure' (same as command-line options).
    ac_add_options ­­­––enable-application=browser

  11. Now you can finally build it! Change to your mozilla root directory (this how to uses the default: mozilla) and run the following:

    make -f client.mk build

    Note: To time your compile add time to the front like so:

    time make -f client.mk build
  12. You can now run Firefox “Minefileld” edition by going to the obj-something directory. this will change according to what your computer is. So as long as it says obj- in front its the right one. Therefore the path should be something like

    mozilla/obj-i686-pc-linux-gnu/dist/bin
    Afterwards simple run the “firefox” script (not the file) to use ff3!!!

    Note: Please inform me of corrections if needed. Full how-to can be found on Mozilla’s Build Documentation
    website.
Advertisements

Certain Linux based OS’s don’t detect fancy mouse buttons like the forward, back, tilt left and tilt right buttons. Painful (well, at least painfully time consuming) methods of editing the xorg.conf file exist, but they are error prone and very specific to the mouse being used.

Step in btnx! This is a simple GUI tool not found in the repository that allows you to take control of your mouse and assign any keystroke or command to any button. I highly suggest giving it a shot if you’ve got that one button on your mouse that never really seemed to work in the land of Linux.

This blog at WordPress will be detailing my Mozilla affairs as they come. I may eventually move the blog to my own site, however, that is currently not a reliable option therefore why it’s found here. Another site of interest is my Seneca wiki page  (with currently nothing of interest to note).

After reading The Cathedral and the Bazaar and watching Revolution OS it’s easy to recommend these two highly informative documents to anyone interested in open source or the GNU/Linux OS.

The Cathedral and the Bazaar is more than just an analysis of how the open source word differers from commercial software. Eric Raymond has a unique way of showing this to those who have little understanding of the way the open source community works and presenting why it is so successful despite the fact its “free”. Netscape thought so at least.

Revolution OS is a excellent introduction to anyone interested in Linux. Any background information that you could possibly want to know about the history of how Linux came about is greatly detailed in this fine documentary. For me, this was the real deal. I noticed that Linux doesn’t always get as much publicity as it may deserve. Listening to all the great achievements of Linux really helps root me deeper into the UNIX community. It gives a great image of how Linux didn’t just “pop” out of the ground one day and people just “started” to use it for no reason. It shows a great fight for what people wanted and the ability to choose, which was something that seemed to be lost along the way.