"Brian D. Carlstrom" <email@example.com> writes:
> - downloaded scsh-install-lib-1.1.0. installed with
> ./install.scm --prefix=/usr/local --bindir=/usr/local/bin
> I don't know if that is right and the README was not clear enough
> for me.
The bindir should be ok, but the prefix should be a scsh-specific
directory ideally, otherwise it will be a bit of a mess: as you've
noted later, a directory called "0.6" is created directly under the
As for the README not being clear, I agree but I have to say that
short of duplicating most of the documentation, I cannot find a good
way to make it clearer. As written, you should really read the
documentation at least once before installing a package. (Well,
actually not all of it: I should really point to the important parts).
> I don't understand why it can't default to the scsh defaults
For --bindir this could be done, and seems reasonable, so I'll give it
For --prefix it's harder, as the default should somehow be inferred
from scsh's "lib-dirs". As this variable can contain several
directories, a useful default cannot be extracted in the general case.
But that said, deciding which prefix to use for your scsh packages is
a decision you should take only once, and then you can enter this
value in your preference file (~/.scsh-pkg-defaults.scm), by putting
something like this in it:
((prefix . "/usr/local/share/scsh/modules"))