Compiling instructions for HeNCE 2.0
====================================

You MUST have pvm 3.2.3 or later installed in order to compile or run
HeNCE.  Furthermore, you MUST have it installed in ~/pvm3; and the
PVM_ROOT environment variable must be set in the .cshrc or .profile
file to point to that directory.  (A future version of HeNCE may relax
this limitation, and then again, it may not.)

* If you have X11R5 from the X consortium, you should be able to compile 
HeNCE by typing:

xmkmf; make Makefiles; make

...after which you can install HeNCE by typing "make install".  "make
clean" will delete all compiled files; you should use this before
trying to compile the same source tree on a different platform.  (If
you have both a vendor-supplied X and X11R5, make sure that the X11R5
"bin" directory occurs first in your path before doing this.)

If you want a statically-linked binary, try editing "imake.defs"
before doing the "xmkmf" part and un-comment the line that
contains "#define StaticallyLink".

* If you don't have X11R5, but instead some vendor-specific
implementation of X, HeNCE may or may not compile.  In particular,
compiling HeNCE requires that your vendor's X windows implementation:

(a) include the "imake" and "xmkmf" programs as well as a proper set
of imake config files.  

(b) include all of: libXaw, libXmu, libXt, libXext, and libX11.

Otherwise you must install X11R5 to compile HeNCE.  X11R5 can be
obtained via anonymous ftp to ftp.x.org, and several other sites.
(X11R6 will reportedly be out soon; there's no word yet on whether
HeNCE works with it.)

NOTE: If your vendor's X windows implementation does not include ALL
of these widgets, you cannot mix-and-match the X11R5 libraries and the
vendor libraries (or the include files).  You must install all of the
X11R5 libraries, include files, config files, and development tools 
(xmkmf/imake) in a separate directory tree (usually /usr/local/X11R5).

Finally, if you cannot compile, you may be able to find pre-compiled
binary distributions of HeNCE by anonymous ftp to netlib2.cs.utk.edu,
directory hence, file:

HeNCE-2.x-full.$(PVM_ARCH).tar.Z.uu
	full binary kit - includes all HeNCE tools, include files,
	and run-time libraries.  (you still need to have pvm installed)

HeNCE-2.x-rtl.$(PVM_ARCH).tar.Z.uu		
	"run-time" only binary kit - includes only those parts of
	HeNCE that you need to run a remote HeNCE node.


