/[svn]/INSTALL
ViewVC logotype

Contents of /INSTALL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 323 - (show annotations)
Tue Jul 10 17:25:10 2007 UTC (5 years, 10 months ago) by abate
File size: 2151 byte(s)
[r2003-05-10 22:51:09 by cvscast] Empty log message

Original author: cvscast
Date: 2003-05-10 22:51:09+00:00
1 Installation notes
2 ==================
3
4 [In case of problems refer to the installation notes of each
5 package]
6
7 - ocaml 3.06
8 (http://caml.inria.fr/ocaml/distrib.html)
9
10 (
11 We used at some point in CDuce development a patched
12 version of the file nat_stubs.c in OCaml distribution;
13 this patch should no longer be necessary.
14 If someone gets the error "Abstract value", please report it to
15 <Alain.Frisch@ens.fr>
16 and try to replace the file in the OCaml source with the one that
17 can be retrieved at http://www.cduce.org/nat_stubs.c)
18 Follow normal instructions in the INSTALL file; typically:
19 ./configure && make world && make opt && make install.
20 )
21
22
23 - ocamlfind
24 (http://www.ocaml-programming.de/packages/findlib-0.8.1.tar.gz)
25 Usually it suffices to do:
26
27 ./configure && make all && make opt && make install
28
29
30 - wlex
31 (http://www.eleves.ens.fr/home/frisch/soft.html)
32 specify in Makefile where is the source code (of the lex library)
33 of OCaml [default is $HOME/ocaml-3.06/lex]:
34 OCAMLLEX_SRC = <source directory>
35
36 then
37 make wlex && make install_wlex && make runtime && \
38 make runtime.opt && make install_runtime
39
40 it is important to do make runtime.opt otherwise
41 the web interface does not compile.
42
43 - pcre
44 (http://www.pcre.org/)
45 To install first do a simple:
46
47 ./configure
48
49 For a custom configuration use options:
50
51 --prefix=<prefix directory> --disable-shared
52
53 then as usual make, make install
54
55
56 - pcre-ocaml
57 (http://pcre-ocaml.sourceforge.net/)
58
59 If pcre was installed in non standard place then in Makefile.conf:
60 export STATIC = yes #this may help but first try without
61 export INCDIRS := <prefix_directory>/include
62 export LIBDIRS := <prefix_directory>/lib
63
64 After make all && make opt:
65 cd lib
66 cp ../META .
67 ocamlfind install pcre META *.a *.cma *.cmxa *.cmi *.mli
68
69 - ocamlnet
70 (http://ocamlnet.sourceforge.net/)
71 cd in the src directory and then
72
73 ./configure && make all && make opt && make install
74
75
76 - pxp (development version 1.1.93)
77 (http://www.ocaml-programming.de/programming/pxp.html)
78
79 ./configure && make all && make opt && make install
80
81

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5