Difference between revisions of "Documentation/Building Guide AOO/Building on MacOsX"

From Apache OpenOffice Wiki
Jump to: navigation, search
(xcode5 doesn't contain autoconf anymore)
(removed obsolete Xcode2/Xcode3 requirements)
Line 11: Line 11:
 
= Overview =
 
= Overview =
  
For general information on how to build Apache OpenOffice from source code, see the [[Documentation/Building_Guide_AOO|platform independent page]].
+
Building Apache OpenOffice from source code follows the  
 +
platform independent [[Documentation/Building_Guide_AOO| building guide]]
 +
when the build requirements outlined below are fulfilled.
  
See also this slightly older [[Documentation/Building_Guide/Building_on_MacOSX|building guide]].
+
= General build requirements =
  
 +
Please see the [[Documentation/Building Guide AOO#General_Build_Requirements|general build requirements]] page.
  
= Build requirements =
+
= Mac specific requirements for building AOO 4.1 (and newer) =
Additionally to the [[Documentation/Building Guide AOO#General_Build_Requirements|general build requirements]] you need
+
 
+
== for building AOO 4.1 and newer ==
+
  
 
{| class="prettytable" border="1" width="100%"
 
{| class="prettytable" border="1" width="100%"
Line 39: Line 39:
 
| OSX<=10.8 contains the tool directly, for OSX>=10.9 some [[#OSX109|extra steps]] are needed.
 
| OSX<=10.8 contains the tool directly, for OSX>=10.9 some [[#OSX109|extra steps]] are needed.
 
|-
 
|-
|}
 
 
== for building AOO 3.4 and 4.0 ==
 
 
{| class="prettytable" border="1" width="100%"
 
|-
 
!style="width: 20%"|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
 
|
 
*For Mac OS X 10.7 (aka Lion), XCode 3.2.6 has be installed.
 
*If you want to use a newer version than the one that is shipped with your Mac OS X installation media, you need to register at the [https://connect.apple.com/ Apple Developer Connection] site (free of charge) to be able to [http://developer.apple.com/technology/xcode.html download it].
 
*On Mac OS X 10.6 (Snow Leopard), make sure to install the optional 10.4 SDK with XCode.
 
 
|}
 
|}
  
 
<div id="XCODE5">
 
<div id="XCODE5">
== Extra Requirements for Xcode 5 ==
+
= Xcode 5 specific requirements =
 
{| class="prettytable" border="1" width="100%"
 
{| class="prettytable" border="1" width="100%"
 
|-
 
|-
Line 86: Line 66:
  
 
<div id="OSX109">
 
<div id="OSX109">
== Extra Requirements for OSX >= 10.9 ==
+
= OSX 10.9 (or newer) specific requirements =
 
{| class="prettytable" border="1" width="100%"
 
{| class="prettytable" border="1" width="100%"
 
|-
 
|-
Line 104: Line 84:
 
|}
 
|}
 
</div>
 
</div>
 
{{Template:Documentation/Note|Java: On systems < Mac OS X 10.7 Apache OpenOffice does not build yet using Java SDK 1.6.0. If you didn't configure Mac OS X for a 1.6, you don't need to do anything - the default (1.5) is OK. To change the default Java version go to Applications/Utilities/Java and modify accordingly}}
 

Revision as of 13:56, 21 May 2014

Template:Documentation/Building Guide AOO TOC

Overview

Building Apache OpenOffice from source code follows the platform independent building guide when the build requirements outlined below are fulfilled.

General build requirements

Please see the general build requirements page.

Mac specific requirements 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 OSX<=10.8 contains the tool directly, for OSX>=10.9 some extra steps are needed.

Xcode 5 specific requirements

What Where to get / Remarks
Xcode commandline tools run this command in a terminal
sudo xcode-select --install
autoconf Run these commands in a terminal
curl -OL http://ftpmirror.gnu.org/tar/autoconf-2.69.tar.bz2
tar xvjf autoconf-2.69.tar.bz2
pushd autoconf-2.69
./configure --prefix=/usr/local
make
sudo make install
popd

OSX 10.9 (or newer) specific requirements

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
Personal tools