As an assignment for the DPS909 course at the Seneca College, I was building Minefield on OS X 10.6.
My setup was:
Basically this tutorial was all I needed. I ran into two problems, which were fairly easy to solve.
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:
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.
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.
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.