From owner-freebsd-questions@FreeBSD.ORG Mon May 11 13:22:28 2009 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 7A394106566C for ; Mon, 11 May 2009 13:22:28 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2715E8FC0A for ; Mon, 11 May 2009 13:22:28 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n4BDLO0G023690; Mon, 11 May 2009 09:21:24 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n4BDLOeL023689; Mon, 11 May 2009 09:21:24 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 11 May 2009 09:21:24 -0400 From: Jerry McAllister To: Matthew Seaman Message-ID: <20090511132124.GD20271@gizmo.acns.msu.edu> References: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> <4A07BD27.8080805@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A07BD27.8080805@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.2i Cc: Kelly Jones , freebsd-questions@freebsd.org Subject: Re: Reading warnings when installing multiple ports 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, 11 May 2009 13:22:28 -0000 On Mon, May 11, 2009 at 06:52:39AM +0100, Matthew Seaman wrote: > Kelly Jones wrote: > >I often use "make -DBATCH install" to install ports. > > > >Problem: many ports spew out a warning/todo message after you install > >them (eg, "you must manually create an x user" or something). > > > >Since ports install "recursively", I miss most of these messages. > > > >Can I tell ports to store these messages for me somewhere? > > > >Obviously, I can "make -DBATCH install > /tmp/outfile", but that'll > >log all the "install", "test", etc commands that I don't want to see: > >I just want to see the warnings at the end of each install. > > > portmaster will save up package messages and display them all at the > end of the session. I believe a similar feature is planned for portupgrade > but as far as I know it hasn't been released yet. > > In any case, you can redisplay the pkg-message for any installed port > by: > > % pkg_info -Dx portname > > Cheers, > > Matthew > This is handy and seems to work. But, I very often wish there was a convenient way to see some of those messages and especially messages about things one has to do during the install, such as manually installing something or getting some license thing handled, before I start the port install. Sometimes I get a question in the middle of an install that I do not know how to answer and it is an awfully inconvenient time to have to start scrounging for information. Having a commannd that would display all those things and maybe some related information or pointers to information for making an intelligent response - before starting the make - would be very helpful. ////jerry > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW >