Don't know how to make /usr/ports/dns/bind96/work/.build....

Dan Mahoney, System Admin danm at prime.gushi.org
Wed Jul 29 08:09:59 UTC 2009


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
---------------------------



More information about the freebsd-questions mailing list