trouble compiling bind 9.9.2-P2 with rate limit patch rl-9.9.2-P2.patch

Vernon Schryver vjs at rhyolite.com
Fri Apr 5 20:02:40 UTC 2013


> From: Red Cricket <red.cricket.blog at gmail.com>

> here's a link to pastebin http://pastebin.com/RxcsJMLe

> > I used ...
> >
> > patch -s -p0 -i rl-9.9.2-P2.patch
> >
> > like it says in the documentation.

It looks like the patch was applied after running ./configure.
That doesn't work because the some Makefile.in files are changed
by the patch, and those changed Makefile.in files are used by
./configure to generate some change Makefiles.  Those changed 
Makefiles compile rrl.c and other things.

Where does the documentation advise running `./configure` before `patch`?
It needs to be corrected.

Instead try:
 1. fetch BIND tarball and matching RPZ/RRL patch
 2. unpack the BIND tarball
 3. change directory (cd) to the unpacked BIND source directory
 4. use `/what/ever/named -V` where /what/ever/named is the currently
   installed version of BIND to get the ./configure parameters from
   the current version for the target platform.
 5. run `./configure stuff` where "stuff" are the parameters from step #4
 6. `make`

I can't help past that point, because it involves installing at
least named-checkconf and named itself.  You might try `make install`
but that might break things.  It certainly should not be done
before saving the currently installed rndc, named-checkconf, and named.

  ....

Those who are not familiar with building and installing UNIX C programs
from source and don't intend to get that familiarity by fighting
with BIND and the RPZ/RRL patches should wait for BIND releases with RRL.
Currently there are at least FreeBSD ports and a Red Hat Enterprise
Linux Desktop update.  See
https://rhn.redhat.com/errata/RHSA-2013-0550.html
https://bugzilla.redhat.com/show_bug.cgi?id=906312
and 
http://www.freebsd.org/ports/dns.html#bind99-9.9.2.1


Vernon Schryver    vjs at rhyolite.com


More information about the bind-users mailing list