(*************************************************************************)
(*                                                                       *)
(*                     Projet      Formel                                *)
(*                                                                       *)
(*                            CAML                                       *)
(*                                                                       *)
(*************************************************************************)
(*                                                                       *)
(*                            Inria                                      *)
(*                      Domaine de Voluceau                              *)
(*                      78150  Rocquencourt                              *)
(*                            France                                     *)
(*                                                                       *)
(*************************************************************************)

The tape contains the directory V2-6.1 (CAML)
---------------------------------------------

(***
 ***    CAML V2-6.1 is only source compatible with V2-6.
 ***    Some bugs have been fixed, but the system is a bit
 ***    less robust compared to V2-6 (especially about interrupt
 ***    handling).
 ***)

V2-6.1 is divided in:

        * the files used to create the initial core image of the CAML
          system ("camlisp" directory)
        * object files of the CAML system ("lo" directory)
        * file prelude.ml in "src"
        * Yacc interface ("camlyacc" directory)
        * CAML documentation ("doc/*.tex")
        * A few examples ("Exemples")
          WARNING: these files are not necessarily up-to-date (from a
          syntactical point of view)!!
          The reference should be instead prelude.ml (together with examples
          in the CAML Primer and the Reference Manual).


(*************************************************************************)
(*                            INSTALLATION                               *)
(*************************************************************************)

To install CAML, there must be at least 12 Megabytes available and a path
"/usr/local/caml".  You may read the tape first, but the CAML system cannot
work before this path exists, so you may:

    - either create "/usr/local/caml" and read the tape in that
      directory,
    - or read the tape in another directory, and make a symbolic link to that
      directory.

To read the tape, make sure the tape is ``write protected'', and read it
using:

    - either "cd /usr/local/caml; tar xv" if your are reading a Vax tape
    - or "cd /usr/local/caml; tar xvf /dev/rst0" in case of Sun tape.


Once the CAML system is accessible by "/usr/local/caml", to install CAML you
will have to execute the "/usr/local/caml/V2-6.1/caml_install" command.  It is
interactive, and will prompt you for:

    - the type of your machine ("vax", "sun", "sun4", etc.)
    - the path of the "caml" command,
    - and the path of the place were you have read the tape (only if
      "/usr/local/caml" does not exist).


The CAML installation script (after reading the tape), should look like:

% cd /usr/local/caml/V2-6.1
% ./caml_install
For what machine (sun, vax ...; default is sun)? sun
Ok for sun
Put the caml command in (default is /usr/local/bin):
System directory already installed.
Moving old caml commands into <command>.old
Command installed.
...

%  /usr/local/bin/caml
   CAML (sun) (V 2-6.1) by INRIA Fri Nov 24 1989

#

In case of problem when trying to run caml, try:
setenv SHELL=/bin/sh            (if you are using *csh)
SHELL=/bin/sh; export SHELL     (otherwise)
cd /usr/local/caml/V2-6.1; make TYPEMACHINE=sun caml

In case of installation bug, then mail to: caml@inria.fr
with "Installation" as subject.
