3 This page contains notes on how to build and install the software necessary to run Moonshot clients on a computer running Max OS X 10.6 Snow Leopard and 10.7 Lion.
5 It also contains instructions for creating an installer package allowing the Moonshot software to be installed on other machines running Mac OS X.
7 There are three components that need to be built and installed:
8 1: the Cyrus SASL2 library, along with the SASL GS2 Library which implements the GS2 GSS-API->SASL bridge mechanism.
9 2: the Moonshot GSS EAP library, implements the EAP mechanism for use by the GSS API. This library depends on having a recent version of Kerberos. Mac OS X ships with Kerberos 5 release 1.7-prerelease which is not recent enough. So. for the installer at least, we will get and build the latest stable release (1.9.2) from [MIT](from http://web.mit.edu/kerberos/dist/index.html).
10 3: the Moonshot Identity Selector/Manager software which...
11 ToDo: Complete this section
14 ###Getting the Moonshot source code
16 Follow the instructions at http://www.project-moonshot.org/developers/repository, cloning the repo in $HOME
18 Working in $HOME/moonshot/mac-client-installer
20 ###Building the Cyrus SASL2 library
22 $ cd $HOME/moonshot/cyrus_sasl
25 You will see the following message
27 configure.in:14 error: possibly undefined macro: AC_DEFINE
28 If this token and others are legitimate, please use m4_pattern_allow.
29 See the Autoconf documentation
34 To install to /usr/local in your build machine
38 Create the link from /usr/lib/sasl2 (where the library looks for the plugins)->/usr/local/lib/sasl2 (where the plugins will be installed)
41 $ ln -fs ../local/lib/sasl2
43 Or, if you are making the installer
45 $ make install DESTDIR=$HOME/moonshot/mac-client-installer/sasl
47 Create the link from /usr/lib/sasl2 (where the library looks for the plugins)->/usr/local/lib/sasl2 (where the plugins will be installed)
51 $ ln -fs ../local/lib/sasl2
55 The files and directories that are installed are as listed in README.saslInstalledFiles
57 ###Building the downloaded Kerberos
59 Unpack the file to $HOME/krbbuild
61 $ cd $HOME/krbbuild/krb5-1.9.2-signed/krb5-1.9.2/src
65 To install to /usr/local in your build machine
69 Or, if you are making the installer
70 $ make install DESTDIR=$HOME/moonshot/mac-client-installer/krb
72 ###Building the Moonshot GSS EAP library
74 $ cd $HOME/moonshot/moonshot
76 $ ./configure --enable-acceptor=no
78 You will see the following warnings
81 ----------------------------------------------------------------------
82 Cannot find OpenSAML libraries, building without OpenSAML support.
83 Please install OpenSAML or specify installation directory with
84 --with-opensaml=(dir).
85 ----------------------------------------------------------------------
88 ----------------------------------------------------------------------
89 Cannot find Shibboleth resolver libraries, building without
91 Please install Shibboleth or specify installation directory with
92 --with-shibresolver=(dir).
93 ----------------------------------------------------------------------
98 $ libtool --finish /usr/local/lib/gss
100 Or, if you are making the installer
102 $ ./configure --enable-acceptor=no --with-krb5=$HOME/moonshot/mac-client-installer/krb/usr/local
105 We only need to install the mech_eap library
108 $ make install DESTDIR=$HOME/moonshot/mac-client-installer/krb
110 The files and directories that are installed are as listed in README.KrbInstalledFiles