Installing BIND


As I said earlier, BIND by default installs into /usr/local on most platforms. It installs there so that it's kept out of the way of the vendor versions of BIND you might have installed. Mixing the two can cause many problems.

Unlike GNU software, no easy command-line switch exists to override the installation destination. You must override several makefile variables instead. These are defined in your architecture's port makefile, and a good place to override them is in the Makefile.set file. The following lists the variables:

Variable Default Value Use
DESTBIN /usr/local/bin User-level commands are installed here.
DESTSBIN /usr/local/sbin Administration commands.
DESTEXEC /usr/local/sbin named-xferinstalls here.
DESTMAN /usr/local/share/man Manual pages.
DESTHELP /usr/local/lib Built-in help in the software.
DESTETC /usr/local/etc Home of named.conf.
DESTRUN /usr/local/etc Home of control and pid files.

The default values listed previously are correct for most OSes, The notable exceptions are the free BSDs and Linux, where it's all installed under / and /usr because no vendor BIND exists with which to clash. The ISC BIND is the vendor version. However, the resolver library and header files are still installed under /usr/local because they can still clash with the OS library and header files. Replacing OS libraries and header files can cause no end of grief, so be careful when overriding those install destinations.



The Concise Guide to DNS and BIND
The Concise Guide to DNS and BIND
ISBN: 0789722739
EAN: 2147483647
Year: 1999
Pages: 183

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net