| 1 |
Installation notes |
Installation notes |
| 2 |
================== |
================== |
| 3 |
|
|
|
[In case of problems refer to the installation notes of each |
|
|
package] |
|
|
|
|
| 4 |
- ocaml 3.06 |
- ocaml 3.06 |
| 5 |
(http://caml.inria.fr/ocaml/distrib.html) |
(http://caml.inria.fr/ocaml/distrib.html) |
| 6 |
|
|
|
( |
|
|
We used at some point in CDuce development a patched |
|
|
version of the file nat_stubs.c in OCaml distribution; |
|
|
this patch should no longer be necessary. |
|
|
If someone gets the error "Abstract value", please report it to |
|
|
<Alain.Frisch@ens.fr> |
|
|
and try to replace the file in the OCaml source with the one that |
|
|
can be retrieved at http://www.cduce.org/nat_stubs.c) |
|
|
Follow normal instructions in the INSTALL file; typically: |
|
|
./configure && make world && make opt && make install. |
|
|
) |
|
|
|
|
|
|
|
| 7 |
- ocamlfind |
- ocamlfind |
| 8 |
(http://www.ocaml-programming.de/packages/findlib-0.8.1.tar.gz) |
(http://www.ocaml-programming.de/packages/findlib-0.8.1.tar.gz) |
| 9 |
Usually it suffices to do: |
Usually it suffices to do: |
| 63 |
./configure && make all && make opt && make install |
./configure && make all && make opt && make install |
| 64 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
WEB SITE INSTALLATION |
| 68 |
|
==================== |
| 69 |
|
|
| 70 |
|
If you want to install CDuce site, with its online demo and tutorial |
| 71 |
|
then you can study the Makefile (just do make web/files webiface.opt |
| 72 |
|
and install the generated files by hand). |
| 73 |
|
|
| 74 |
|
For the Apache server you may have to change its configuration file |
| 75 |
|
httpd.conf. In particular you have to load php_mod and add to the |
| 76 |
|
directives of the directory you installed the files the following: |
| 77 |
|
|
| 78 |
|
<Directory "cduce_root"> |
| 79 |
|
Options MultiViews |
| 80 |
|
# if .php is not in mime-types then also add: |
| 81 |
|
MultiviewsMatch Any |
| 82 |
|
</Directory> |