Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Apr 2011 12:15:43 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Could not find /usr/ports/Mk/bsd.port.mk
Message-ID:  <4D9856DF.30801@infracaninophile.co.uk>
In-Reply-To: <4D98467D.2000506@stcable.net>
References:  <4D98467D.2000506@stcable.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4D9856DF.30801>