JSP Installation

This page documents the installation instructions for the JSP libraries.

  1. Download jsp.tar.gz and all of the other .tar.gz files which you want to use. Everything requires jsp and jgl, psoft requires csoft and rtl optionally requires csoft. I don't recommend bdl.
  2. Create a directory somewhere (/usr/local/src is a good place) called jsp.
  3. Unpack jsp.tar.gz while in the directory that you created.
  4. Modify the Makefile.defines to suit your system. Note, you should never need to modify the Makefile.defines in any of the subdirectories that result from unpacking the tarballs, only the one in the jsp directory. Variables that you may need to change are JUNGLEDIR PYTHONDIR OBJTYPE DEFS.
  5. Execute make unpackage
  6. Make the packages, by typing make. You can also make the documentation (but it is included) by typing make docs. Other rules in the Makefile are packages clean realclean depend for building tar.gz files of the installed sub-projects, cleaning out the object files, cleaning out all of the generated files, and building dependencies respectively.
  7. You may want to link everything in jsp/include to a place like /usr/local/include and likewise for things in jsp/lib.
  8. If you have Python installed on your system then you should download the jpy.tar.gz package to get extension types for the libraries. You should also modify your PYTHONPATH variable to include <somewhere>/jsp/jpy/modules directory. You may also be interested in pybv to aid in developing Python definitions of csoft objects.

Contact Mark Tigges mtigges@cpsc.ucalgary.ca