
Installation steps for TkNap
----------------------------

First of all, this program *requires* Tcl/Tk 8.3 or higher.

The only tested platforms for building the shared library in napLib are
Linux and Solaris so far,
However, it should in theory compile ok without errors on any Unix-like
platform that supports shared library loading in Tcl.


1. Check for the existence of a file named 'tclConfig.sh' in the same
   directory as the main Tcl/Tk libraries, and that you have a symlink
   from 'tclsh8.3' (or whatever the name of your tclsh executable) to
   'tclsh'.

2. Type './configure'. If you want the files to go somewhere else than
   into /usr/local, use the '--prefix' option when running configure to
   change the base directory. If you want to use any optimization flags
   for your compiler, please enter them on the command line before the
   './configure' command like this:

         CFLAGS='-O2 -fomit-frame-pointer' ./configure

3. Run 'make' to build napLib, and 'make install' (as root, if needed)
   to install all the files. The 'tknap' and 'napchat.tcl' main scripts
   will go into <prefix>/bin, while the napLib and mpTk packages will
   be installed under <prefix>/lib.

4. Copy 'sample.tknaprc' to your home directory as '.tknaprc' and edit
   the settings there, but leave the 'nap(uldirs)' variable untouched.
   It will be updated from inside TkNap at a later stage.

