summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 0dcd51d0471115057eea22b5f3f5e0e02613ab00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
This file explains how to build and install Zephyr on a machine.  To
learn how to use Zephyr once you've installed it, read the file USING.
To learn how to set up Zephyr service at a site, read the file
OPERATING.

To build and install Zephyr, run:

	./configure
	make
	make install

This will build Zephyr without Hesiod or Kerberos support, and install
in /usr/local.  To install in a location other than /usr/local, add
"--prefix=INSTPREFIX" to the configure line, where INSTPREFIX is the
directory you want to install Zephyr in.

If your site has a Hesiod service with a valid zephyr.sloc entry (or
you can add one), you can enable Hesiod support by adding the option
"--with-hesiod=HESPREFIX" to the configure line, where
HESPREFIX/include and HESPREFIX/lib are the directories you have the
Hesiod libraries installed in.

If your site has a Kerberos 4 service, you can enable Kerberos support
by adding the option "--with-krb4=KRBPREFIX" to the configure line,
where KRBPREFIX/include and KRBPREFIX/lib are the direcetories you
have the Kerberos libraries installed in.

If you have a make which supports VPATH in a manner compatible with
GNU make, you can build in a separate directory.  Simply invoke the
configure script from within the build directory and configure will
locate the source directory for you.  (If that doesn't work for some
reason, you can also specify "--srcdir=SOURCEDIR" on the configuration
line.)

If configure can't properly find your X11 include or library
directories, add "--x-includes=INCDIR" and "--x-libraries=LIBDIR" to
the configure line.  To build without X11 support, add "--without-x"
to the configure line.

If you have Hesiod and/or Kerberos installed such that you can't
specify a single prefix for both include files and libraries, set the
environment variables CPPFLAGS and LDFLAGS to include the relevant
directories, and just configure with "--with-krb4" and
"--with-hesiod".  For instance (for a csh-like shell):

	setenv CPPFLAGS "-I/opt/athena/include"
	setenv LDFLAGS "-I/opt/athena/arch/sparc/lib"
	./configure --with-hesiod --with-krb4
	make
	make install

Although it's not necessary for Zephyr to function correctly, you
should add the following services to /etc/services if possible:

zephyr-clt      2103/udp                        # Zephyr serv-hm connection
zephyr-hm       2104/udp                        # Zephyr hostmanager
zephyr-hm-srv	2105/udp			# Zephyr hm-serv connection

To learn how to use Zephyr, read the file USING and the man pages for
the various Zephyr programs.  To learn how to operate a Zephyr
service, read the file OPERATING.

We have tried to make Zephyr as portable as is reasonably possible,
but have not taken into account every possible kind of system.  If you
have any problems building or installing Zephyr according to these
instructions, please send mail to zephyr-bugs@mit.edu.