Mac OS X Installation

The recommended strategy for Mac OS X is now the MacPorts system. MacPorts is a software package similar to the BSD ports facility that uses descriptors called Portfiles to download and install open source packages.

Shibboleth 2.x and its dependencies have a set of Portfiles that enable a fairly simple installation or upgrade of the entire stack on OS X 10.4+. Other versions may also work (and we can make adjustments to the Portfiles if needed).

Of course, building Shibboleth from source is also possible.

Install using MacPorts
Build from Source

At this time, there are no plans to supply official binaries directly. However, an unofficial set has been created by Alan Brenner and is located at http://tid.ithaka.org/software/shibboleth-for-os-x. No official support or documentation is provided, and they may lag or be out of date if security fixes are necessary, so use them at your own risk.

On 64-bit Intel machines, the Apache version provided by Apple is a universal binary that includes both 64-bit and 32-bit architecture support. As a result, the default arch used will be x86_64. On OS X versions prior to 10.6 (Snow Leopard), the primary build instructions and portfiles provided for Shibboleth build 32-bit libraries, which cannot be used with a 64-bit Apache process.

There are instructions for building for 64-bit Intel under 10.5, but those instructions are a bit rough. The 64-bit version works with Apple's 64-bit Apache.

To run Apache as a 32-bit process, refer to the these instructions.

As of Snow Leopard, Apple has defaulted builds to 64-bit, so these problems should be gone.

An additional point is that in at least some cases, possibly confined to the server version of OS X, Apple supplies a configuration in which MinSpareServers and MaxSpareServers are both set to "1". This isn't a very typical setup for preforking Apache, particular the maximum. The result of this setup is that the Apache process will frequently spawn and reap its children, which is somewhat heavyweight when the SP is used. Normally a higher maximum, often 5-10, is more efficient.