From owner-freebsd-questions@FreeBSD.ORG Sat Jan 15 05:38:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 065A916A4CE for ; Sat, 15 Jan 2005 05:38:16 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id B29FA43D45 for ; Sat, 15 Jan 2005 05:38:15 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B4DB351506; Fri, 14 Jan 2005 21:38:14 -0800 (PST) Date: Fri, 14 Jan 2005 21:38:14 -0800 From: Kris Kennaway To: Timothy Luoma Message-ID: <20050115053814.GA99918@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: FreeBSD-Questions Questions Subject: Re: make "make" quieter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jan 2005 05:38:16 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 15, 2005 at 12:31:30AM -0500, Timothy Luoma wrote: >=20 > Maybe I'm Googling the wrong terms, but I'm trying to find a way to=20 > make 'make' less chatty during 'make install clean' (at least the=20 > 'make' part, I'd like to see the install stuff if possible... if not,=20 > I'd rather not.) >=20 > There seem to be a lot of merely information stuff that comes by. I=20 > didn't see anything in make.conf that might be a quiet/verbose switch. make -s should work, although I've not tried it with ports. > So far I've just been doing this: >=20 > (make install clean 2>&1) > install.log > The only problem is that it won't work with 'sudo' (can't use ">" with=20 > sudo) so I have to login as root. You surely can use '>' with sudo. Perhaps you're not quoting the command properly, so you're actually redirecting the sudo output to a file to which the non-superuser does not have write access? sudo sh -c "ls > /foo" works as expected sudo ls > /tmp/foo works too, since /tmp is writable. Kris --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB6KxGWry0BWjoQKURAvG7AKD2AxYYnHWUDJuhw0px8ctxvh+r7wCfdOyT KyH0H/YUW5peCeoketDGdnY= =AA2J -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--