Compiling BIND
Now it's time to get your hands dirty. After you have the tar files, you just need to untar them into a suitable directory. They untar directly as src, doc, and contrib, so you should make an intermediate directory to hold them all. So, to compile BIND, go into the src directory. If you type make, the software will make a (good) guess about your OS and platform and compile BIND according to that.
You might have specific needs, though. On most platforms, the default is to compile with GNU gcc. However, if you have a Solaris machine, you might want to compile BIND with Sun's CC rather than GNU gcc. In that case, you must go into port/solaris and copy Makefile.set.sun over Makefile.set. Platform-specific settings all reside in port/platform ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access