Building Firefox on Lion

From MozillaWiki
Revision as of 15:42, 21 March 2011 by St3fan (talk | contribs) (Created page with " == Summary == Firefox trunk builds fine against Lion build 11A30 (the one that was seeded to developers in february). Not all tests pass though and I have simply disabled those...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Firefox trunk builds fine against Lion build 11A30 (the one that was seeded to developers in february). Not all tests pass though and I have simply disabled those for now.

It builds against the MacOSX10.7.sdk with the GCC shipped with Xcode 4.1, which is marked as "gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.9)".

The only problem I had was with the dependencies that we require. Other build instructions say to install libidl, autoconf and yasm through MacPorts. That did not work on Lion because some dependencies of those ports fail to compile. As a workaround I simply copied a complete /opt directory from a Snow Leopard system and used that.

Homebrew also fails to install the tools that we need. This will probably just be a matter of time before they catch up.

Instructions