Subject: Could not find alternatives.mk (pkgsrc)
To: None <netbsd-users@netbsd.org>
From: Bradley Kalbaugh <bradleyk80@verizon.net>
List: netbsd-users
Date: 01/26/2005 09:11:58
Hi guys,

Yesterday, I updated the pkgsrc with cvs then ran the command, pkg_chk -i. I got this error message.

pkg_chk -i
make: "../../mk/../../mk/bsd.pkg.mk" line 754: Could not find ../../mk/alternatives.mkmake: Fatal errors encountered -- cannot continue
eval:  make: stopped in /usr/pkgsrc/pkgtools/pkg_chk: not found



I tried make update, make deinstall, make reinstall. All got the same message.

I tried again cvs update and it didn't help. Then I tried to move bsd.pkg.mk and did cvs update again. It did download bsd.pkg.mk and I still get the same error message.

I checked pkgsrc's latest changes and found out that pkg_alternatives is new and doesn't have README. It's not in my pkgsrc/pkgtools either.

How do I fix the problem?

Thanks.

--Bradley