| 1 |
abate |
104 |
Installation notes |
| 2 |
abate |
298 |
================== |
| 3 |
abate |
104 |
|
| 4 |
abate |
298 |
[In case of problems refer to the installation notes of each |
| 5 |
|
|
package] |
| 6 |
|
|
|
| 7 |
abate |
285 |
- ocaml 3.06 |
| 8 |
abate |
298 |
(http://caml.inria.fr/ocaml/distrib.html) |
| 9 |
abate |
104 |
|
| 10 |
abate |
298 |
(Normally, we don't need any longer the patch for nat_stubs.c; |
| 11 |
|
|
if someone gets the error "Abstract value", please report it to me...) |
| 12 |
|
|
Follow normal instructions in the INSTALL file |
| 13 |
abate |
285 |
|
| 14 |
abate |
298 |
|
| 15 |
abate |
104 |
- ocamlfind |
| 16 |
abate |
298 |
(http://www.ocaml-programming.de/packages/findlib-0.8.1.tar.gz) |
| 17 |
|
|
Usually it suffice to do: |
| 18 |
abate |
104 |
|
| 19 |
abate |
298 |
./configure && make all && make opt && make install |
| 20 |
|
|
|
| 21 |
|
|
|
| 22 |
abate |
104 |
- pcre |
| 23 |
abate |
298 |
(http://www.pcre.org/) |
| 24 |
|
|
To install first do a simple: |
| 25 |
abate |
104 |
|
| 26 |
abate |
298 |
./configure |
| 27 |
|
|
|
| 28 |
|
|
For a custom configuration use options: |
| 29 |
|
|
|
| 30 |
|
|
--prefix=<prefix directory> --disable-shared |
| 31 |
|
|
|
| 32 |
|
|
then as usual make, make install |
| 33 |
|
|
|
| 34 |
|
|
|
| 35 |
abate |
104 |
- pcre-ocaml |
| 36 |
abate |
298 |
(http://pcre-ocaml.sourceforge.net/) |
| 37 |
abate |
104 |
|
| 38 |
abate |
298 |
If pcre was installed in non standard place then in Makefile.conf: |
| 39 |
|
|
export STATIC = yes #this may help but first try without |
| 40 |
|
|
export INCDIRS := <prefix_directory>/include |
| 41 |
|
|
export LIBDIRS := <prefix_directory>/lib |
| 42 |
|
|
|
| 43 |
|
|
After make all && make opt: |
| 44 |
abate |
104 |
cd lib |
| 45 |
|
|
cp ../META . |
| 46 |
|
|
ocamlfind install pcre META *.a *.cma *.cmxa *.cmi *.mli |
| 47 |
|
|
|
| 48 |
|
|
- ocamlnet |
| 49 |
abate |
298 |
(http://ocamlnet.sourceforge.net/) |
| 50 |
|
|
cd in the src directory and then |
| 51 |
abate |
104 |
|
| 52 |
abate |
298 |
./configure && make all && make opt && make install |
| 53 |
abate |
104 |
|
| 54 |
abate |
298 |
|
| 55 |
|
|
- pxp (development version 1.1.93) |
| 56 |
|
|
(http://www.ocaml-programming.de/programming/pxp.html) |
| 57 |
|
|
|
| 58 |
abate |
299 |
./configure --withwlex && make all && make opt && make install |
| 59 |
abate |
298 |
|
| 60 |
|
|
|
| 61 |
abate |
104 |
- wlex |
| 62 |
abate |
298 |
(http://www.eleves.ens.fr/home/frisch/soft.html) |
| 63 |
|
|
specify in Makefile where is the source code (of the lex library) |
| 64 |
|
|
of OCaml [default is $HOME/ocaml-3.06/lex]: |
| 65 |
|
|
OCAMLLEX_SRC = <source directory> |
| 66 |
|
|
|
| 67 |
|
|
then |
| 68 |
abate |
299 |
make wlex && make wlex_install && make runtime && \ |
| 69 |
|
|
make runtime.opt && make install_runtime |
| 70 |
|
|
|
| 71 |
|
|
it is important to do make runtime.opt otherwise |
| 72 |
|
|
the web interface does not compile. |