On Thu, 21 Jun 2001  17:19:22 +0900, Mathieu Bouchard wrote:
> 
> I personally set it to plain $HOME.
> (Why do you put that extra "usr"?)

By prefixing usr, a regular ~/usr/{bin,include,lib,share} &c hierarchy
is created. Otherwise these dirs end up in my ~. Note that, due to
Ruby's DESTDIR installation mechanism, this does not apply to Ruby
installs. Most other packages using configure exhibit this behaviour,
however.

> I also have relevant additions to PATH, LIBRARY_PATH, LD_LIBRARY_PATH,
> C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, CLASSPATH, ...

Yes, very useful indeed.

> But I haven't configured that for Ruby yet, and btw -- how do I make a
> Ruby package (that uses extconf.rb) install itself in $HOME even though
> Ruby is ./configured with --prefix=/opt (or /usr) ?

IIUC, you can solve this by having a local $RUBYLIB, and prefixing
that? (this is what I do)

        Michel