I got Firefox building and running on Mac OS X 10.5 tonight. Here are some tips on doing it, for anyone who’s curious.
– Install darwinports via source (not the installer). This step seriously takes 30 seconds. Read the README.
– Use darwinports to install dependencies like libidl, autoconf213.
– Build with basically whatever mozconfig you want, just make sure you’re using the 10.4u SDK. Earlier SDKs probably work, but the native SDK has some glitches and doesn’t work. You’re better off with 10.4u anyway in basically every situation. I’ll be filing bugs with Apple if the problems with the native SDK turn out to be theirs.
The fact that this works with no patches to our souce code is amazing – it’s a tribute to the quality of opendarwin, Mac OS X 10.5, and our own codebase. Those three pieces of software have come a long way over the past few years.