| 1 |
Installation notes |
Installation notes |
| 2 |
|
================== |
| 3 |
|
|
| 4 |
|
[In case of problems refer to the installation notes of each |
| 5 |
|
package] |
| 6 |
|
|
| 7 |
- ocaml 3.06 |
- ocaml 3.06 |
| 8 |
|
(http://caml.inria.fr/ocaml/distrib.html) |
| 9 |
|
|
| 10 |
|
(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 |
|
|
|
Normally, we don't need any longer the patch for nat_stubs.c; |
|
|
if someone gets the error "Abstract value", please report it to me... |
|
| 14 |
|
|
| 15 |
- ocamlfind |
- ocamlfind |
| 16 |
http://www.ocaml-programming.de/packages/findlib-0.8.1.tar.gz |
(http://www.ocaml-programming.de/packages/findlib-0.8.1.tar.gz) |
| 17 |
|
Usually it suffice to do: |
| 18 |
|
|
| 19 |
|
./configure && make all && make opt && make install |
| 20 |
|
|
| 21 |
|
|
| 22 |
- pcre |
- pcre |
| 23 |
http://www.pcre.org/ |
(http://www.pcre.org/) |
| 24 |
./configure --prefix=... --disable-shared |
To install first do a simple: |
| 25 |
|
|
| 26 |
|
./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 |
- pcre-ocaml |
- pcre-ocaml |
| 36 |
In Makefile.conf: |
(http://pcre-ocaml.sourceforge.net/) |
| 37 |
export STATIC = yes |
|
| 38 |
export INCDIRS := /users/formel8/frisch/freebsd/pcre/include |
If pcre was installed in non standard place then in Makefile.conf: |
| 39 |
export LIBDIRS := /users/formel8/frisch/freebsd/pcre/lib |
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: |
After make all && make opt: |
| 44 |
cd lib |
cd lib |
| 45 |
cp ../META . |
cp ../META . |
| 46 |
ocamlfind install pcre META *.a *.cma *.cmxa *.cmi *.mli |
ocamlfind install pcre META *.a *.cma *.cmxa *.cmi *.mli |
| 47 |
|
|
| 48 |
- ocamlnet |
- ocamlnet |
| 49 |
|
(http://ocamlnet.sourceforge.net/) |
| 50 |
|
cd in the src directory and then |
| 51 |
|
|
| 52 |
|
./configure && make all && make opt && make install |
| 53 |
|
|
| 54 |
|
|
| 55 |
|
- pxp (development version 1.1.93) |
| 56 |
|
(http://www.ocaml-programming.de/programming/pxp.html) |
| 57 |
|
|
| 58 |
|
./configure && make all && make opt && make install |
| 59 |
|
|
|
- pxp |
|
| 60 |
|
|
| 61 |
- wlex |
- wlex |
| 62 |
|
(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 |
|
make wlex && make runtime && make install |