Reading warnings when installing multiple ports

Jerry McAllister jerrymc at msu.edu
Mon May 11 12:45:03 UTC 2009


On Sun, May 10, 2009 at 04:49:27PM -0700, 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.

Check out   script(1)   It is not perfect, but it will put a copy
of everything in and out in to a file that you can peruse later.

There may be other ways, but this is easy.

////jerry


> 
> -- 
> We're just a Bunch Of Regular Guys, a collective group that's trying
> to understand and assimilate technology. We feel that resistance to
> new ideas and technology is unwise and ultimately futile.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list