/[svn]/INSTALL
ViewVC logotype

Contents of /INSTALL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 370 - (hide annotations)
Tue Jul 10 17:29:11 2007 UTC (5 years, 10 months ago) by abate
File size: 2202 byte(s)
[r2003-05-18 20:07:55 by cvscast] Preparation for a public release

Original author: cvscast
Date: 2003-05-18 20:07:56+00:00
1 abate 370 Installation Notes for CDuce
2     ============================
3 abate 104
4 abate 370 CDuce is written in the OCaml programming language. It has been
5     sucessfully compiled under Intel Linux, SunOS 5.7, and FreeBSD 4.7.
6 abate 104
7 abate 370 ------------------------------------------------------------------------------
8     Prerequisites
9     ------------------------------------------------------------------------------
10 abate 104
11 abate 370 Before compiling CDuce, you need to install recent releases of the
12     following packages:
13 abate 298
14 abate 370 ocaml
15     http://caml.inria.fr/ocaml/distrib.html
16     findlib
17     http://www.ocaml-programming.de/packages
18     wlex
19     http://www.eleves.ens.fr/home/frisch/soft.html#wlex
20     pcre-ocaml
21     http://www.ai.univie.ac.at/~markus/home/ocaml_sources.html
22     ocamlnet
23     http://ocamlnet.sourceforge.net/
24     pxp
25     http://www.ocaml-programming.de/packages/documentation/pxp/index_dev.html
26 abate 323
27    
28 abate 370 Important notes:
29 abate 323
30 abate 370 - wlex: you only need to build and install the runtime support library
31     (not the wlex tool itself):
32 abate 104
33 abate 370 make runtime.all & make install_runtime
34 abate 298
35 abate 370 - pcre-ocaml: you may also need to install the PCRE library
36     from http://www.pcre.org/
37 abate 298
38 abate 370 ./configure --prefix=<prefix directory> --disable-shared
39 abate 298
40     If pcre was installed in non standard place then in Makefile.conf:
41     export STATIC = yes #this may help but first try without
42     export INCDIRS := <prefix_directory>/include
43     export LIBDIRS := <prefix_directory>/lib
44    
45     After make all && make opt:
46 abate 104 cd lib
47     cp ../META .
48     ocamlfind install pcre META *.a *.cma *.cmxa *.cmi *.mli
49    
50 abate 370 - PXP:
51     CDuce requires a development version >= 1.1.93.
52 abate 104
53    
54 abate 370 ------------------------------------------------------------------------------
55     Compilation
56     ------------------------------------------------------------------------------
57 abate 298
58 abate 370 You need a GNU Make (or equivalent) to use the Makefile from the
59     distribution. It defines the following goals:
60 abate 298
61 abate 370 - make cduce / cduce.opt
62     compiles the CDuce command line interpreter
63 abate 298
64 abate 370 - make dtd2cduce
65     compiles the dtd2cduce tools (converts DTD to CDuce types)
66 abate 298
67 abate 370 - make webiface / webiface.opt
68     compiles the CDuce web interface interpreter (to be used as a CGI script)
69 abate 362
70 abate 370 - make local_website
71     compiles in the web/ directory the HTML files of CDuce website
72     (including the tutorial)

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