On Thu, Oct 21, 2010 at 05:27:02PM +0000, Jay K wrote: > You know, installing ports/packages often gives you random manual > configuration advise, like: > > > ===> Installing jdk-1.6.0.03p9 from /usr/ports/packages/amd64/all/ > jdk-1.6.0.03p9: > ok > > --- +jdk-1.6.0.03p9 ------------------- > You may wish to add /usr/local/jdk-1.6.0/man to /etc/man.conf > Use and distribution of this technology is subject to the Java Research > License included herein. > > To use the Java plugin with Seamonkey or Firefox you must create > a symbolic link (do not copy or hard link) from > > /usr/local/jdk-1.6.0/jre/plugin/amd64/ns7/libjavaplugin_oji.so > > to your local Mozilla plugins directory, which is found at > > ~/.mozilla/plugins/ > > or to the shared Mozilla plugins directory, which is found at > > /usr/local/lib/mozilla-plugins/ > = > > > 1) There should be a way to repeat all these messages for all installed > packages. > Maybe there already is.
pkg_add <arguments> | tee pkg.out ?? > > > 2) Every time one of these is printed, the command that does #1 should be > reported, possibly > both for the specific packages, and all installed packages, or at least for > all installed packages. > (Don't make users remember what packages are installed or how to determine > which are installed or which had the messages.) Really, some sort of package log file is what you're asking for, and I'm really not seeing a way that doesn't smack of creeping Linux-itus. > > > 3) "You may wish to add /usr/local/jdk-1.6.0/man to /etc/man.conf" isn't > descriptive enough, I think, > in that, when I looked into it, I didn't know what edit to make so I gave up. > It should give a command. For that matter, so should the others. > The Python messages give you actual copy/pastable commands. > > > 3b) Maybe there should be a way to automate that further. But I suppose > besides being > optional, these things are also somewhat changable by user? I don't know. > The Python ones surely could be automatic, without the -f. > (ln -sf /usr/local/bin/python26 python or such) What if I'm developing in a split python 2.4/2.6 environment? Not saying that you're wrong, just raising a reason why what works for you may not be the best for everybody, or even the majority. > > > - Jay