On Wed, 29 Jul 2009, Doug Barton wrote:

Mel Flynn wrote:
On Tuesday 28 July 2009 20:24:27 Dan Mahoney, System Admin wrote:

make: don't know how to make
/usr/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop
*** Error code 2

Someone else had the same problem, and they also chose overwrite-base:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-08/msg00035.
html

But it was dismissed because he was using "sudo", however the real reason
is because this problem goes away a second time.

Most likely because that option changes PREFIX, so the BUILD_COOKIE changed,
but the target was already in make's list of targets to make. After options
are stored in /var/db/ports, BUILD_COOKIE will end in ._usr.

I believe Mel is right here. 'make clean ; make config ; make' worked
for me.

As does a second make after getting this error, but it's nonintuitive, and probably a ports bug.

-Dan

--

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to