Now you need to find the right file:% cd /tmp % ftp ftp.isc.org. Connected to isrv4.pa.vix.com. 220 ProFTPD 1.2.0 Server (ISC FTP Server) [ftp.isc.org] Name (ftp.isc.org.:user): ftp 331 Anonymous login ok, send your complete e-mail address as password. Password: 230 Anonymous access granted, restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp>
ftp > cd /isc/bind/src/cur/bind-8 250 CWD command successful. ftp > binary 200 Type set to I. ftp > get bind-src.tar.gz local: bind-src.tar.gz remote: bind-src.tar.gz 200 PORT command successful. 150 Opening BINARY mode data connection for bind-src.tar.gz (1309147 bytes). 226 Transfer complete. 1309147 bytes received in 23 seconds (56 Kbytes/s) ftp > quit 221 Goodbye.
(This assumes you've got a version of tar that can handle compressed, gzipped files; if you don't, you can get a new copy of tar via anonymous FTP from ftp.gnu.org in /gnu/tar/tar-1.13.tar.) This will create a src directory with several subdirectories, including bin, include, lib, and port. The contents of these subdirectories is as follows:% tar -zxvf bind-src.tar.gz
By default, BIND assumes that you're using the GNU C compiler and various other GNUish utilities, such as flex and byacc. These are a standard part of most Linux development environments. If your version of Linux uses different programs, though, you'll need to modify port/linux/Makefile.set. This file lets BIND know which programs to use.
Then run:% make stdlinks
This removes any old object files you might have sitting around from previous compilation attempts and updates the Makefile dependencies. Then, compile the source code by running:% make clean % make depend
The source code should compile without any errors. Next, install the new named and named-xfer programs into /usr/sbin. You'll need to become root to do this. Use the command:% make all
# make install
|B. BIND Compatibility Matrix||C.2. Instructions for BIND 9.1.0|
Copyright © 2002 O'Reilly & Associates. All rights reserved.