The installation of the shock normal package is straight forward; obtain the software package, unpack it, set up the needed environment variables, locally register the Tcl procedures, and optionally compile the C backed Tcl routines.
The shock normal package requires that Tcl/Tk version 8.2 or higher be installed on it on the target system. This package be obtained from http://www.scriptics.com for a number of platforms.
If you are running on a system with a UNIX or UNIX derivative operating system such as Linux and you plan on installing the Tcl C-backed routines (recommended) you should also have the gcc C-compiler installed. While the code may compile under native compilers it is not a guaranteed.
The most up-to-date version of the software package can be obtained from ?????. Follow the directions on that page. There are several packaging formats available.
To install the Shock Normal package perform the following:
| 1 | Obtain the Shock Normal Software Package. |
| 2 | Create a local directory under which the software will be installed. |
| 3 | Set an environment TCLTOOLS_HOME to the directory under which the software is being installed. |
| 4 | If you are planning on installing the C Code then set an environment TCL_INCLUDE to the directory containing the TCK/TK header files. This is ususally /usr/include but on custom installations may be another directory |
| 5 | Unpack the software package in the TCLTOOLS_HOME directory. This will create a number of sub-directories |
| 6 | Run the update script InstallTclTools. This produces a number of popup menus. If the TCLTOOLS_HOME environment variable is not set a warning is displayed and the program exits. Once set the user is allowed to register the Tcl procedures which sets the package pointers to coincide with their location on your system. Once completed a last popup allows you to compile the C backing code. This will only be successful at the present if installing under a UNIX or Linux OS. NOTE: If the environment varaible TCL_INCLUDE is not set a warning is given. This variable only needs to be set if the includes are not in the /usr/include directory. |