source: trunk/athena/lib/zephyr/INSTALL @ 10766

Revision 10766, 2.8 KB checked in by ghudson, 27 years ago (diff)
--enable-athena is no more.
Line 
1This file explains how to build and install Zephyr on a machine.  To
2learn how to use Zephyr once you've installed it, read the file USING.
3To learn how to set up Zephyr service at a site, read the file
4OPERATING.
5
6To build and install Zephyr, run:
7
8        ./configure
9        make
10        make install
11
12This will build Zephyr without Hesiod or Kerberos support, and install
13in /usr/local.  To install in a location other than /usr/local, add
14"--prefix=INSTPREFIX" to the configure line, where INSTPREFIX is the
15directory you want to install Zephyr in.
16
17If your site has a Hesiod service with a valid zephyr.sloc entry (or
18you can add one), you can enable Hesiod support by adding the option
19"--with-hesiod=HESPREFIX" to the configure line, where
20HESPREFIX/include and HESPREFIX/lib are the directories you have the
21Hesiod libraries installed in.
22
23If your site has a Kerberos 4 service, you can enable Kerberos support
24by adding the option "--with-krb4=KRBPREFIX" to the configure line,
25where KRBPREFIX/include and KRBPREFIX/lib are the direcetories you
26have the Kerberos libraries installed in.
27
28If you have a make which supports VPATH in a manner compatible with
29GNU make, you can build in a separate directory.  Simply invoke the
30configure script from within the build directory and configure will
31locate the source directory for you.  (If that doesn't work for some
32reason, you can also specify "--srcdir=SOURCEDIR" on the configuration
33line.)
34
35If configure can't properly find your X11 include or library
36directories, add "--x-includes=INCDIR" and "--x-libraries=LIBDIR" to
37the configure line.  To build without X11 support, add "--without-x"
38to the configure line.
39
40If you have Hesiod and/or Kerberos installed such that you can't
41specify a single prefix for both include files and libraries, set the
42environment variables CPPFLAGS and LDFLAGS to include the relevant
43directories, and just configure with "--with-krb4" and
44"--with-hesiod".  For instance (for a csh-like shell):
45
46        setenv CPPFLAGS "-I/opt/athena/include"
47        setenv LDFLAGS "-I/opt/athena/arch/sparc/lib"
48        ./configure --with-hesiod --with-krb4
49        make
50        make install
51
52Although it's not necessary for Zephyr to function correctly, you
53should add the following services to /etc/services if possible:
54
55zephyr-clt      2103/udp                        # Zephyr serv-hm connection
56zephyr-hm       2104/udp                        # Zephyr hostmanager
57zephyr-hm-srv   2105/udp                        # Zephyr hm-serv connection
58
59To learn how to use Zephyr, read the file USING and the man pages for
60the various Zephyr programs.  To learn how to operate a Zephyr
61service, read the file OPERATING.
62
63We have tried to make Zephyr as portable as is reasonably possible,
64but have not taken into account every possible kind of system.  If you
65have any problems building or installing Zephyr according to these
66instructions, please send mail to zephyr-bugs@mit.edu.
67
Note: See TracBrowser for help on using the repository browser.