Building and Installing on Mac OS X

From cosign wiki

Revision as of 11:21, 17 February 2009 by Admorten (Talk | contribs)
Jump to: navigation, search

Contents

Overview

This page will guide you through building and installing Cosign on Mac OS X. For additional notes regarding an installation on Mac OS X Server, please see Leopard Server Install.

Building and Installing

Requirements

You will need to have the current Xcode Tools installed. Download them from Apple's developer site. These notes also assume you have Apache 1.x or Apache2 installed. Recent Mac OS X releases include Apache2.

Get the Source

Download the latest release of Cosign from weblogin.org.

Configure the Build

In Terminal, decompress the archive and change to the Cosign source directory:

tar zxf cosign-VERSION.tar.gz
cd cosign-VERSION

If building for Apache 1.x, use --enable-apache1=/path/to/apxs. If building for Apache2, use --enable-apache2=/path/to/apxs2. If building for Mac OS X Server, you'll probably want to add --enable-universal-binaries, which will give you four-architecture (i386, x86_64, ppc, and ppc64) binaries of the daemon, CGIs, and the Apache filters.

./configure --enable-apache2=/usr/sbin/apxs --enable-universal-binaries \
	--enable-krb --with-gss

Build the Apache Filter

make

Build All Weblogin Components (Optional)

If you intend to set up a weblogin environment, you'll need to build the daemon and CGIs:

make everything

Install

make install

or

make install-all

if you're setting up a central weblogin server.

Next Steps

At this point, you should have all the pieces in place. For instructions on configuring Cosign with Apache, please see these instructions. The Leopard Server Install notes, although focused on the University of Michigan's environment, should help get you up and running on Mac OS X Server. This page describes setting up a complete weblogin environment.

Questions and discussion are always welcomed on the cosign-discuss mailing list.

Personal tools