From owner-freebsd-questions@FreeBSD.ORG Sun Apr 3 11:15:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D834106564A for ; Sun, 3 Apr 2011 11:15:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 75F458FC1D for ; Sun, 3 Apr 2011 11:15:53 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p33BFopN067763 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 3 Apr 2011 12:15:50 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p33BFopN067763 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1301829350; bh=vmPtZQwi9AdMGOo4sUWTOdaf0XyqmzF9C8xgZI6pl3s=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D9856DF.30801@infracaninophile.co.uk>|Date:=20Sun ,=2003=20Apr=202011=2012:15:43=20+0100|From:=20Matthew=20Seaman=20 |User-Agent:=20Mozilla/5.0=20(Mac intosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20rv: 1.9.2.15)=20Gecko/20110303=20Thunderbird/3.1.9|MIME-Version:=201.0 |To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20Could=20not= 20find=20/usr/ports/Mk/bsd.port.mk|References:=20<4D98467D.2000506 @stcable.net>|In-Reply-To:=20<4D98467D.2000506@stcable.net>|X-Enig mail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C|Content-Type:=20mul tipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"applic ation/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig4799A8 6B98D6EB096B177E8C"; b=0MQ79SI2aeLA+NmFUF4Sip5h52KHC4VF0EFscYaUtleoGUk/qHUAaMJgMgW0AymFn Na8TpULJxani1UuUbi2KulkRceBXl5LU0IsZLuvcoVh59Ex0mtrHqpKeFpGcVfgAr+ bxQsCc6gquz7csJHqT4TPgHLRv6x0d/rFuHPrfYA= Message-ID: <4D9856DF.30801@infracaninophile.co.uk> Date: Sun, 03 Apr 2011 12:15:43 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D98467D.2000506@stcable.net> In-Reply-To: <4D98467D.2000506@stcable.net> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4799A86B98D6EB096B177E8C" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Could not find /usr/ports/Mk/bsd.port.mk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2011 11:15:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4799A86B98D6EB096B177E8C Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable On 03/04/2011 11:05, Paul Chany wrote: > I have just installed FreeBSD release 8.2 using > FreeBSD-8.2-RELEASE-i386-disc1.iso > and want to install sudo. >=20 > I did the following: >=20 > # whereis sudo > # cd /usr/ports/security/sudo > # make install clean >=20 > but get error messages: >=20 > .. Could not find /usr/ports/Mk/bsd.port.mk >=20 > What can I do to solve this problem? You don't have a good copy of /usr/ports installed. Not sure what went wrong there, since you've clearly got parts of it. There are a number of ways of rectifying that, but I recommend just running the following: # portsnap fetch extract Then you should be able to build sudo and any other ports you want. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.htm= l for the full story on getting and maintaining a current copy of the ports tree. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig4799A86B98D6EB096B177E8C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2YVuUACgkQ8Mjk52CukIxBrgCfaGIuw6nPnQrCQHzAgXopB1H8 nJgAnRqY2y+43+eDtLq5f/HiLck60jD4 =WDwH -----END PGP SIGNATURE----- --------------enig4799A86B98D6EB096B177E8C--