Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 12:10:02 -0700
From:      Byron Young <bkyoung@jps.net>
To:        freebsd-questions@freebsd.org
Subject:   Applying bind8 port
Message-ID:  <3802360A.F9522F4D@jps.net>

next in thread | raw e-mail | index | archive | help
Hello all,

After downloading (as root)
  ftp.freebsd.org/pub/FreeBSD/distfiles/bind-doc.tar.gz
  ftp.freebsd.org/pub/FreeBSD/distfiles/bind-src.tar.gz

into /usr/ports/distfiles

then "tarballing" the bind8 port via ftp from
  ftp.freebsd.org/pub/FreeBSD/ports/net
using
ftp> get bind8.tar

then extracting the skeleton files from the bind8.tar file into
  /usr/ports/net
using
  cd /usr/ports/net
  tar xvf /usr/ports/net/bind8.tar

then commenting the following lines in rc.conf
# named_program="/usr/sbin/named"
# named_enable="YES"
# named_flags="-c /etc/namedb/named.conf -u bind -g bind"

then rebooting with shutdown -r now

then making the port by
  cd /usr/ports/net/bind8
  make clean
  make

I get the following result:

===>  Extracting for bind-8.2.1
>> Checksum OK for bind-src.tar.gz
>> Checksum OK for bind-doc.tar.gz
===>  Patching for bind-8.2.1
===>  Applying FreeBSD patches for bind-8.2.1
*** Error code 1


Stop.

Then, more info is written to console

Hmm...  Looks like a unified diff to me...
the text leading up to this was:
----------------------------
|--- src/port/freebsd/Makefile.set.orig Mon Jun 16 23:30:35 1997
|+++ src/port/freebsd/Makefile.set      Tue Nov 25 18:51:41 1997
----------------------------
Patching file src/port/freebsd/Makefile.set using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 18.
done
Hmm...  Looks like a unified diff to me...
the text leading up to this was:
----------------------------
|--- doc/man/Makefile.org     Fri Mar 14 04:43:51 1997
|+++ doc/man/Makefile   Mon Jan 5 14|03:46 1998
-----------------------------
Patching file doc/man/Makefile using Plan A...
Hunk #1 succeeded at 52.
Hunk #2 succeeded at 105.
done
Hmm...  Looks like a unified diff to me...
the text leading up to this was:
----------------------------
|--- src/lib/irs/getpwent.c.orig    Wed May 20 21:18:51 1998
|+++ src/lib/irs/getpwent.c      Wed 20 21:21:21 1998
-----------------------------
Patching file src/lib/irs/getpwent.c using Plan A...
Hunk #1 failed at 102.
1 out of 1 hunks failed--saving rejects to src/lib/irs/getpwent.c.rej
done

After inspecting PLIST, the libs libbind.a and
libbind_r.a appear to be necessary. The install
target system is 3.3 RELEASE and appears to have
neither of these in /usr/lib or in /usr/src/lib.
Only libbind is in /usr/src/lib.

Question:
Are these messages a result of the missing libs?

If yes, what is the best source of these libs? What
is the best install procedure for them onto the target
system?

If these messages are not caused by the libs, then
what is the correct course of action to properly
install the bind8 port into a system?

Many thanks, Byron


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3802360A.F9522F4D>