Centos and Debian packaging
[devwiki.git] / building.mdwn
1 # Building moonshot
2 First, make sure you have the following dependencies installed:
3
4 1. autoconf
5 1. automake
6 1. libtool
7 1. doxygen
8 1. [OpenSSL](http://www.openssl.org/)
9 1. [Curl](http://curl.haxx.se)
10 1. Xerces-C XML parser
11 1. [Apache Santuario](http://santuario.apache.org/)
12 1. [MIT Kerberos](http://web.mit.edu/kerberos/) at least version 1.9
13 1. log4cpp or log4shib
14 1. [libevent](http://www.monkey.org/~provos/libevent/) at least
15 version 2.0
16 1. Sqlite version 3
17 1. Libtalloc
18 1. A variety of Gnome and GTK components; the UI package in the source tree will complain if components are missing
19
20
21 On a Debian or Ubuntu system you can get a lot of these dependencies
22 with:
23
24     aptitude install libxml-security-c-dev libxerces-c-dev \
25       libcurl4-openssl-dev liblog4cpp5-dev autotools-dev doxygen libtool \
26       libconfuse-dev autoconf automake python \
27       libsqlite3-dev libtalloc-dev fakeroot libkrb5-dev libevent-dev
28
29
30 Ensure that libgss-dev is not installed as the headers are conflicting 
31 with the headers from libkrb5-dev.
32
33 Follow the
34 [Repository](http://www.project-moonshot.org/developers/repository)
35 instructions for checking out a copy of Moonshot At this writing, the
36 following should be sufficient: 
37
38     git clone --recursive http://www.project-moonshot.org/git/moonshot.git
39
40 Create some directory that you have permission to write to. We'll
41 assume this is /usr/local/moonshot. Run
42
43     ./builder --prefix=/usr/local/moonshot
44
45 The builder script  takes other options to permit modifying what is
46 passed to configure. The script will build and install the Moonshot
47 projects. Now [[Prepare]] to use the software.
48
49 [[Building client software for Mac OS]]