INSTALLATION 1.89 KB
Newer Older
huet's avatar
huet committed
1 2 3 4 5 6 7
############################################################################
#                                                                          #
#                      The Sanskrit Heritage Platform                      #
#                                                                          #
#                               Gérard Huet                                #
#                                                                          #
############################################################################
8
# Installation instructions                     Copyright Gérard Huet 2018 #
huet's avatar
huet committed
9 10 11
############################################################################

This is just a reminder for quick installation.
12
A more complete installation procedure is described in file SETUP/INSTALL.
huet's avatar
huet committed
13

14
0) Install OCaml (>= 4.07). See http://ocaml.org for installation
15 16 17 18 19 20 21 22
instructions.

Then install the Camplp4 processor in the corresponding distribution.
If OCaml has been installed through the OPAM package manager, then:

   opam install camlp4

should do the job. Alternatively, see https://github.com/ocaml/camlp4
23
for download and installation instructions. You may have to install
Gérard Huet's avatar
Gérard Huet committed
24
the auxiliary package Ocamlbuild. 
25 26

Beware: camlp4 is not updated at every Ocaml distribution, so you may have 
Gérard Huet's avatar
Gérard Huet committed
27
to settle for not the most recent version of Ocaml.
huet's avatar
huet committed
28

29 30 31 32 33
1) Install the Zen computational linguistics library:

   git clone https://gitlab.inria.fr/huet/Zen.git

2) Install the Heritage_resources package:
34

35 36
   git clone https://gitlab.inria.fr/huet/Heritage_Resources.git

37
3) Create your configuration file "config" in directory SETUP.
38 39 40

Look at the SETUP/CONFIGS directory to find examples. All fields are
explained in SETUP/config_help.txt.
huet's avatar
huet committed
41 42

3) Launch configuration in main dir
43

huet's avatar
huet committed
44 45 46 47 48 49 50
   ./configure

4) Launch compilation

   make

5) Install it
51

huet's avatar
huet committed
52 53 54 55 56
   sudo make install

6) Enjoy :-)

Report all problems to Gerard.Huet@inria.fr