Problems may be encountered building BIND in CentOS or RHEL environments where libcap-dev has been installed. The configure script produces a series of errors beginning with:
error: ‘cap_t’ undeclared (first use in this function)
The build failure is platform-specific and apparently occurs when both libcap and libcap-devel are installed. This problem was introduced when addressing another build issue (reference RT #34162)
A patch has been produced (attached to this article) which can be applied to BIND 9.9.4 and 9.8.6 as well as BIND 9.6-ESV-R10. It will apply cleanly to 9.9.4 and 9.8.6, and will apply with 'fuzz' (this is an automatic adjustment of the line numbers to match the source code which is slightly offset) to 9.6-ESV-R10.
The patch will be incorporated into future versions of BIND.