1 | README file for building Moira (R) |
---|
2 | |
---|
3 | This is the root directory of MIT Athena's Moira service management |
---|
4 | system source code. |
---|
5 | |
---|
6 | Here are the steps for building the Moira source. |
---|
7 | |
---|
8 | 1. If you want to build in the directory with the sources, run |
---|
9 | ./configure |
---|
10 | in that directory. If you want to build in another directory, run |
---|
11 | /path/to/moira/sources/configure |
---|
12 | from that directory. Note that for this to work you will need to |
---|
13 | be using a "make" program that supports VPATH. |
---|
14 | |
---|
15 | Some options you might want to use: |
---|
16 | --with-com_err=PREFIX (defaults to util/et) |
---|
17 | --with-krb4=PREFIX (required) |
---|
18 | --with-hesiod=PREFIX |
---|
19 | --with-zephyr=PREFIX |
---|
20 | --with-oracle=PREFIX (defaults to $ORACLE_HOME, if present) |
---|
21 | --with-afs=PREFIX (defaults to /usr/afsws, if present) |
---|
22 | --with-readline=PREFIX |
---|
23 | |
---|
24 | (When building Moira on Athena, you should use the Athena source |
---|
25 | tree config.site file, either by doing |
---|
26 | setenv CONFIG_SITE /mit/source/packs/build/config.site |
---|
27 | before running configure, or by using the Athena build system |
---|
28 | script /mit/source/packs/build/do.sh.) |
---|
29 | |
---|
30 | 2. cd to include. Read through moira_site.h adjusting the paths to |
---|
31 | what you want on your system. Also change the #define of |
---|
32 | MOIRA_SERVER to be the name of the server you are planning on |
---|
33 | using. (Note that this is only used if hesiod lookup fails.) |
---|
34 | |
---|
35 | 3. After configuring, run "make" to build everything. The server-side |
---|
36 | programs will be built if Oracle was found by configure. |
---|
37 | |
---|
38 | 4. Run "make install". You may want to check that programs |
---|
39 | are installed where you want. Then add the appropriate |
---|
40 | directories to your PATH environment variable. |
---|
41 | |
---|
42 | * Moira and Hesiod are registered trademarks of the Massachusetts |
---|
43 | Institute of Technology (MIT). Kerberos, and Zephyr are trademarks of |
---|
44 | MIT. No commercial use of these trademarks may be made without prior |
---|
45 | written permission from MIT. |
---|