]>
Commit | Line | Data |
---|---|---|
b59a3180 | 1 | README file for building Moira (R) |
bc4d8d41 | 2 | |
876c836f | 3 | This is the root directory of MIT Athena's Moira service management |
4 | system source code. | |
bc4d8d41 | 5 | |
fca46725 | 6 | Here are the steps for building the Moira source. |
bc4d8d41 | 7 | |
ea0caf4a | 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-gdss=PREFIX (defaults to util/gdss, if present) | |
21 | --with-oracle=PREFIX (defaults to $ORACLE_HOME, if present) | |
22 | --with-afs=PREFIX (defaults to /usr/afsws, if present) | |
23 | --with-readline=PREFIX | |
24 | ||
25 | (When building Moira on Athena, you should use the Athena source | |
26 | tree config.site file, either by doing | |
27 | setenv CONFIG_SITE /mit/source/packs/build/config.site | |
28 | before running configure, or by using the Athena build system | |
29 | script /mit/source/packs/build/do.sh.) | |
30 | ||
31 | 2. cd to include. Read through moira_site.h adjusting the paths to | |
f0a43ad7 | 32 | what you want on your system. Also change the #define of |
33 | MOIRA_SERVER to be the name of the server you are planning on | |
d9bc09ec | 34 | using. (Note that this is only used if hesiod lookup fails.) |
f0a43ad7 | 35 | |
ea0caf4a | 36 | 3. After configuring, run "make" to build everything. The server-side |
37 | programs will be built if Oracle was found by configure. | |
f0a43ad7 | 38 | |
ea0caf4a | 39 | 4. Run "make install". You may want to check that programs |
fca46725 | 40 | are installed where you want. Then add the appropriate |
41 | directories to your PATH environment variable. | |
f0a43ad7 | 42 | |
43 | * Moira and Hesiod are registered trademarks of the Massachusetts | |
44 | Institute of Technology (MIT). Kerberos, and Zephyr are trademarks of | |
45 | MIT. No commercial use of these trademarks may be made without prior | |
46 | written permission from MIT. |