Web setup
[devwiki.git] / building.mdwn
1 # Building moonshot
2 First, make sure you have the following dependencies installed:
3
4 1. [OpenSSL](http://www.openssl.org/)
5 1. [Curl](http://curl.haxx.se)
6 1. [XML Security](http://xml.apache.org/security/)
7 1. Xerces XML parser
8 1. [MIT Kerberos](http://web.mit.edu/kerberos/) at least version 1.9
9 1. log4cpp or log4shibb
10 1. [libevent](http://www.monkey.org/~provos/libevent/) at least
11 version 2.0
12
13 On a Debian or Ubuntu system you can get a lot of these dependencies
14 with:
15
16     aptitude install libxml-security-c-dev libxerces-c-dev \
17       libcurl4-openssl-dev liblog4cpp5-dev
18
19 A sufficiently new version of libevent is in the libevent-dev package
20 in Debian experimental. The libkrb5-dev in Debian experimental is also
21 sufficiently new. [Sam Hartman](http://www.launchpad.net/~hartmans)
22 maintains sufficiently new krb5 for Ubuntu.
23
24 Follow the
25 [Repository](http://www.project-moonshot.org/developers/repository)
26 instructions for checking out a copy of Moonshot At this writing, the
27 following should be sufficient: 
28
29     git clone http://www.project-moonshot.org/git/moonshot.git
30     cd moonshot
31     git submodule init
32     git submodule update
33
34
35
36 Create some directory that you have permission to write to. We'll
37 assume this is /usr/local/moonshot. Run
38
39     ./builder --prefix=/usr/local/moonshot
40
41 The builder script  takes other options to permit modifying what is
42 passed to configure. The script will build and install the Moonshot
43 projects. Now [[Prepare]] to use the software.