On 9/6/06, Steven Surdock <[EMAIL PROTECTED]> wrote:
Greetings,
When attempting to update bind on a 3.9-stable machine I ran into a
slight error installing the man page for nslookup,
# cd /usr/src/usr.sbin/bind
# make
...
# make install
...
for m in dig.1 host.1 nslookup.8; do /usr/bin/install -c -m 644
/usr/src/usr.sbin/bind/bin/dig/$m /usr/man/man1; done
install: /usr/src/usr.sbin/bind/bin/dig/nslookup.8: No such file or
directory
*** Error code 71
Stop in /usr/src/usr.sbin/bind/obj/bin/dig (line 369 of Makefile).
*** Error code 1
Stop in /usr/src/usr.sbin/bind/obj/bin (line 106 of Makefile).
*** Error code 1
Stop in /usr/src/usr.sbin/bind (line 108 of Makefile).
#
_I think_ the following diff is required,
--- Makefile.in.orig Wed Sep 6 21:18:24 2006
+++ Makefile.in Wed Sep 6 21:18:35 2006
@@ -57,7 +57,7 @@
SRCS = dig.c dighost.c host.c nslookup.c
-MANPAGES = dig.1 host.1 nslookup.8
+MANPAGES = dig.1 host.1 nslookup.1
HTMLPAGES = dig.html host.html nslookup.html
Worked fine for me this afternoon. Among other things, something's
not right in your paste/procedure. You can't run a regular make in
that directory unless you've run ./configure by hand, and that's not
how it's supposed to be built.
[EMAIL PROTECTED] cd /usr/src/usr.sbin/bind/
[EMAIL PROTECTED] sudo make
make: no target to make.
All you need to do is use the wrapper Makefile; there are other
examples of this in previous patches.
[EMAIL PROTECTED] sudo make -f Makefile.bsd-wrapper clean
[EMAIL PROTECTED] sudo make -f Makefile.bsd-wrapper
[EMAIL PROTECTED] sudo make -f Makefile.bsd-wrapper install