Building Minefield on OS X 10.6

Minefield About Page

As an assignment for the DPS909 course at the Seneca College, I was building Minefield on OS X 10.6.

How

My setup was:

  • Macbook Pro 17”, late 2006, Intel Core 2 Due 2.33 GHz with 3 GB memory
  • OCZ Vertex 128 GB
  • OS X 10.6.5 (I haven’t got Mac App Store yet!)
  • XCode 3.2.2

Basically this tutorial was all I needed. I ran into two problems, which were fairly easy to solve.

Problem 1—glib

Although I had glib installed via port, make complained that it couldn’t find glib.h. The solution was to add the following line to .mozconfig:

  1. ac_add_options —with-glib-prefix=/opt/local/var/macports/software/glib2/2.26.1_0/opt/local

If you also run into this problem, remember to change the path to where you have glib installed.

Problem 2—Running out of disk space

Although hardware requirements stated:

Disk Space: At least 1GB of free disk space for non-debug builds; development/debug builds require at least 2.5GB of free disk space.

Building Minefield consumed about 5 to 6 GB for me. Be prepared.

Conclusion

Overall, it’s a fairly easy exercise for me, since I have experience building various open source packages on Linux and occasionally OS X. The time required was about 1.5 hours, perfect thing to do while going out for lunch.