1 ### Building Mac OS Installer using jhbuild
2 This document contains instructions for building the Mac OS Installer for the Moonshot GSS EAP and SASL GS2 libraries, and the Moonshot Identity Selector software.
3 The jhbuild build tool is used to build software, and must be installed as described at http://developer.gnome.org/jhbuild/unstable/getting-started.html.en.
4 The Gtk+ tool gtk-mac-bundler is used to make the Identity Selector Mac OS application bundle https://live.gnome.org/GTK%2B/OSX/Bundling
5 The Moonshot software requires Kerberos version 1.9.2, which is more recent than the version shipped with the target versions of Mac OS X, so must be downloaded from http://web.mit.edu/kerberos/dist/krb5/1.9/ and unpacked.
6 The software to be installed, the installer package and the disk image are produced by running the script build-installer.sh in this directory.
10 1: Install jhbuild, which Creates working folder ~/gtk
12 2: MIT Kerberos 1.9.2 Kerberos
13 Install in ~/gtk/inst to build against - in the Krb5 src directory
14 jhbuild run build-krb5.sh
17 ## Building the Software, Installer Package and Disk Image
18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19 In the folder ~/moonshot/mac-client-installer, run the script build-installer.sh
20 $ ./build-installer.sh
24 The first time the build-installer.sh script is run the following errors may be generated:
26 *** Error during phase configure of gtk-mac-bundler: ########## Error running ./configure --prefix /Users/pete/gtk/inst --libdir '/Users/pete/gtk/inst/lib' ***
27 choose [2] Ignore error and continue
29 *** Error during phase build of perl-xml-parser: ########## Error running make LD_RUN_PATH= *** [6/37]
30 choose [4] Start shell
31 $ git apply ~/moonshot/mac-client-installer/0001-Remove-arch-ppc-flags.patch
34 choose [2] Ignore error and continue
36 make: *** No targets specified and no makefile found. Stop.
39 *** Error during phase build of cyrus-sasl: ########## Error running make *** [39/41]
40 choose [4] Start shell
41 $ ./configure --prefix=/usr/local --with-gss_impl=mit
43 choose [1] Rerun phase build
44 *** Error during phase build of cyrus-sasl: ########## Error running make *** [1/1]
45 choose [1] Rerun phase build