An installation guide of PRISM programming system
-------------------------------------------------
Copyright (C) 1998
  Taisuke Sato, Yoshitaka Kameya, Yasushi Hagiwara, Nobuhisa Ueda,
    Dept. of Computer Science, Tokyo Institute of Technology.

*** See user's manual (manual.ps; section 1.3.1) for Japanese. ***

Environment
-----------

This software, PRISM (PRogramming In Statistical Modeling) programming
system is implemented on SICStus Prolog version 3 (with C language and
Tcl/Tk interface). So if you don't have SICStus Prolog version 3, this
software is not available.  And  when C language interface of  SICStus
Prolog  does not work  on your system,  PRISM system  also  can not be
installed. PRISM system also  provides  graphical user interface (GUI)
for  file selection  and  graph display of  a learning curve.  You can
enjoy this interface  if  Tcl/Tk interface  on SICStus Prolog ver.3 is
available on your system. Confirm its avaliability by

  | ?- use_module(library(tcltk)).

on  SICStus Prolog ver.3 (`| ?-' is a prompt).   Of course, GUI is not
essential to PRISM programming.  If you don't want to use GUI, you can
specify no-GUI environment  at installation.  We tested  PRISM  on Sun
UltraSparc + Solaris 2.5.1 (SunOS 5.5.1) + SICStus Prolog ver.3 (patch
level 5) + Tcl7.6 + Tk4.2. 


Installation
------------
Installation is very easy.

1. Move to the subdirectory `library'.

	% cd library

2. Modify `Makefile' to fit your system configrations. Make sure your
   system's SICStus Prolog top directory (normally /usr/local/lib/sicstus
   or  /usr/local/lib/sicstus<VerNo>.)  and SICStus Prolog executable
   path.  If you use GUI, X11 libraries directory XLIB must be speci-
   fied,  and  please add -L or -R (or both) option(s)  to LIBOPT  if
   nessesary.

3. Make PRISM.  If  you don't want to use  GUI,  type  `make no-GUI',
   otherwise type `make prism'.

4. Copy the PRISM executable.

    % make install
   
5. Installation is all done!
