From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 10:00:31 2008 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 74B871065692 for ; Mon, 4 Aug 2008 10:00:31 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E3EDD8FC12 for ; Mon, 4 Aug 2008 10:00:30 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m74A0PhT023499; Mon, 4 Aug 2008 11:00:26 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.0 smtp.infracaninophile.co.uk m74A0PhT023499 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1217844026; bh=7hp+4D1JCisIgG nHx5kPH0mkxh0As56zUJvWmLMylWI=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<4896D333.4070303@infracaninophile.co.uk>|Date:=20Mon,=2 004=20Aug=202008=2011:00:19=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.16=20(X11/20080726)|MIME-Version:=201 .0|To:=20perryh@pluto.rain.com|CC:=20freebsd-questions@freebsd.org| Subject:=20Re:=20building=20only=20part=20of=20the=20world|Referenc es:=20<4896568d.O9QvApzfav8WWois%perryh@pluto.rain.com>|In-Reply-To :=20<4896568d.O9QvApzfav8WWois%perryh@pluto.rain.com>|X-Enigmail-Ve rsion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp- sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=2 0boundary=3D"------------enig515F5E0BBA8597DB1B31504B"; b=d+/FqAGfy jMVEfOetZtQFszk0DPbukC7xH1yBpYH4+qEKbMOJXpgyl9PtGLJD6LvH/qhQyBW+WDE DrXk1dHTTiggS6sy4yh8ZNdAfAiyoggtzHXyaFGi2NfxjU64DC6CxCaTbQ/5yNm6Qry GG/sKAIm5pOBLfTXC6+xMZXqcpxA= Message-ID: <4896D333.4070303@infracaninophile.co.uk> Date: Mon, 04 Aug 2008 11:00:19 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4896568d.O9QvApzfav8WWois%perryh@pluto.rain.com> In-Reply-To: <4896568d.O9QvApzfav8WWois%perryh@pluto.rain.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig515F5E0BBA8597DB1B31504B" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 04 Aug 2008 11:00:26 +0100 (BST) X-Virus-Scanned: ClamAV 0.93.3/7930/Mon Aug 4 01:09:38 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: building only part of the world 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: Mon, 04 Aug 2008 10:00:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig515F5E0BBA8597DB1B31504B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable perryh@pluto.rain.com wrote: > How would I go about building, not the entire world, but only > a small part of it? >=20 > If I just cd to the desired subdirectory and type "make -n" > -- intending to find out what it would try to do -- I get a > warning about not having changed the object directory. >=20 > I suppose I'm supposed to type something along the lines of >=20 > make -n OBJ=3D >=20 > but what should I be setting OBJ to? An attempt to find(1) > some of the expected output files, so as to discover where > they are conventionally located, found nothing. The usual command sequence for building in parts of the source tree is: # cd /usr/src/some/where # make obj # make depend # make # make install This will suppress the warnings. Compiling part of the system sources is supported. It's routinely described in many security advisories. See for instance section (2) 'To patch your present system' in http://security.freebsd.org/advisories/FreeBSD-SA-08:06.bind.asc You'll find the output somewhere under /usr/obj=20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig515F5E0BBA8597DB1B31504B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkiW0zkACgkQ8Mjk52CukIxooQCdFKUBvzs7Hbp8Yzq1SIrViN79 E9QAnj8rW0NgiEs7djglxWZvL+bgvYOI =WHk9 -----END PGP SIGNATURE----- --------------enig515F5E0BBA8597DB1B31504B--