INSTALL 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. sppdgTcllib/INSTALL
  2. sppdgTcllib package installation instructions
  3. This library is a collection of pure-tcl packages. The library itself
  4. is really just a container for the other packages. The only function
  5. of the pkgIndex.tcl file located here is to extend the auto_path to
  6. pick up subdirectories of this package. This is similar to the tcllib
  7. package.
  8. But the installation is a little tricky. Since we're using autoconf
  9. and automake to generate the configuration and make files, the
  10. subdirectories of this package would normally get installed directly
  11. into $(prefix)/lib. But we want them to get installed into a
  12. subdirectory of this library. So we play a trick in Makefile.am to
  13. redefine $(libdir).
  14. The bottom line is that this directory and its subdirectories get
  15. installed into $(prefix)/lib. This should be fine for any application
  16. that includes sppdgTcllib as a component. But it doesn't support the
  17. SPPDG standard for portable script libraries, which is to put them
  18. into //sppdgfs/lib/common. For that, you must install the library,
  19. then manually move it to the proper place.
  20. ./configure --prefix=//sppdgfs/software/lib/common
  21. make
  22. make install
  23. mv //sppdgfs/software/lib/common/lib/sppdgTcllib* \
  24. //sppdgfs/software/lib/common
  25. rmdir //sppdgfs/software/lib/common/lib