SDKs compatible with OSX 10.7 are automatically provided by installing XCode 7 or newer. That most recent compatible SDK is 10.11; SDKs for 10.12 and above are not supported due to Apple's deprecation of Quicktime, which is needed for vcl.

gnutar

OSX<=10.8 contains the tool directly, for OSX>=10.9 some extra steps are needed.

Reference Build System

The reference build system for AOO 4.1.x and 4.2.x is a macOS VM with 6 cores and 16GB of RAM. It is currently running macOS 10.12 (Sierra) but requires Xcode7 due to SDK requirements (SDK 10.12 does not support QuickTime, which is a requirement for AOO). You can also experiment with using xcode-legacy to install the required SDK into your version of Xcode. This setup is also configured to allow us to product the "Official" Community builds for macOS/OSX and supports versions as old as 10.7 (Lion). If building for your own setup, some of the below may not be required.

You will notice that the recommended version of epm for OS X is 4.3 (or later); This is because previous versions required the long deprecated PackageMaker application (as well as PackageMaker being installed in a hardcoded location). Starting with epm 4.3, the official OS X pkgbuild utility is supported, removing the need for PackageMaker. AOO specific versions of epm and dmake are available on Github.

Installed in /opt/local via MacPorts:

autoconf (symlinked to /usr/local/bin)

gnutar (symlinked to /usr/local/bin)

perl5 (symlinked to /usr/local/bin)

subversion

git

You will also need to install the required Perl packages noted in the general build page since OS X does not include them by default. If you don't want to mix System and User modifications, you can use MacPorts/HomeBrew to install Perl and use this user-land version for these extra packages.