On Thursday 30 March 2006 05:21 pm, ara.t.howard / noaa.gov wrote:
> On Fri, 31 Mar 2006, Randy Kramer wrote:
> > On Thursday 30 March 2006 12:59 pm, ara.t.howard / noaa.gov wrote:
> if you follow these steps just about anything will work:
>
>    - chose a common nfs location.  we'll call it /nfs
>
>    - every single time you compile something do this
>
>        export LD_RUN_PATH=/nfs/lib
>        export LD_LIBRARY_PATH=/nfs/lib
>        ./configure --prefix=/nfs && make && make install
>
>      i set LD_LIBRARY_PATH and LD_RUN_PATH in my .bashrc because i do this
> so much.  the cool thing with LD_RUN_PATH is that it __encodes__
> inter-library dependancies (so ruby tk.so needs libtk.so needs ...) such
> that users do not need to set LD_LIBRARY_PATH themselves.  of course they
> may, but they do not have to
>
>    - all users of code on this partiion need only do
>
>        export PATH=/nfs/bin:$PATH
>
> i have a /nfs/build and /nfs/packages - you can guess what these are for
> ;-) if you like this approach you may want to check out gnu stowe.  i find
> it easy enough to do by hand though...

Thanks very much!  I haven't tried this yet, but it looks like it should solve 
a lot of my problems.

Randy Kramer