Building on MacOSX
From Apache OpenOffice Wiki
Template:Documentation/Building Guide AOO TOC
Contents
Overview
For general information on how to build Apache OpenOffice from source code, see the platform independent page.
See also this slightly older building guide.
Build requirements
Additionally to the general build requirements you need
for building AOO 4.1 and newer
What | Where to get / Remarks |
---|---|
Mac OS X version 10.7 (aka Lion) or later | provided by Apple |
Xcode version 4.5 or later. | Use the App Store application to get and install it. If you got Xcode 5.x some extra steps are needed.
You can also download it free of charge, but a registration at the Apple Developer Connection site is required for that. |
MacOSX SDK | SDKs compatible with OSX 10.7 are automatically provided by installing XCode 4.5 or newer |
gnutar | is include in OSX<=10.8, for OSX>=10.9 some extra steps are needed. |
for building AOO 3.4 and 4.0
What | Where to get / Remarks |
---|---|
Mac OS X version 10.4 (aka Tiger) or later | If you are using 10.5 aka Leopard, have a look at User:Dyrcona/LeopardBuild#flex. |
Mac 10.4 SDK | |
XCode version 2.4.1 or later |
|
Extra Requirements for Xcode 5
What | Where to get / Remarks |
---|---|
Xcode commandline tools | run this command in a terminal
sudo xcode-select --install |
Extra Requirements for OSX >= 10.9
What | Where to get / Remarks |
---|---|
gnutar | Run these commands in a terminal
curl -OL http://ftpmirror.gnu.org/tar/tar-1.27.tar.bz2 tar xvjf tar-1.27.tar.bz2 pushd tar-1.27 ./configure --prefix=/usr/local make sudo make install sudo ln -s /usr/local/bin/tar /usr/local/bin/gnutar popd |