/[svn]/INSTALL
ViewVC logotype

Contents of /INSTALL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 369 - (hide annotations)
Tue Jul 10 17:29:02 2007 UTC (5 years, 10 months ago) by abate
File size: 2133 byte(s)
[r2003-05-18 17:53:07 by cvscast] Empty log message

Original author: cvscast
Date: 2003-05-18 17:58:00+00:00
1 abate 104 Installation notes
2 abate 298 ==================
3 abate 104
4 abate 285 - ocaml 3.06
5 abate 298 (http://caml.inria.fr/ocaml/distrib.html)
6 abate 104
7     - ocamlfind
8 abate 298 (http://www.ocaml-programming.de/packages/findlib-0.8.1.tar.gz)
9 abate 323 Usually it suffices to do:
10 abate 104
11 abate 298 ./configure && make all && make opt && make install
12    
13    
14 abate 323 - wlex
15     (http://www.eleves.ens.fr/home/frisch/soft.html)
16     specify in Makefile where is the source code (of the lex library)
17     of OCaml [default is $HOME/ocaml-3.06/lex]:
18     OCAMLLEX_SRC = <source directory>
19    
20     then
21     make wlex && make install_wlex && make runtime && \
22     make runtime.opt && make install_runtime
23    
24     it is important to do make runtime.opt otherwise
25     the web interface does not compile.
26    
27 abate 104 - pcre
28 abate 298 (http://www.pcre.org/)
29     To install first do a simple:
30 abate 104
31 abate 298 ./configure
32    
33     For a custom configuration use options:
34    
35     --prefix=<prefix directory> --disable-shared
36    
37     then as usual make, make install
38    
39    
40 abate 104 - pcre-ocaml
41 abate 298 (http://pcre-ocaml.sourceforge.net/)
42 abate 104
43 abate 298 If pcre was installed in non standard place then in Makefile.conf:
44     export STATIC = yes #this may help but first try without
45     export INCDIRS := <prefix_directory>/include
46     export LIBDIRS := <prefix_directory>/lib
47    
48     After make all && make opt:
49 abate 104 cd lib
50     cp ../META .
51     ocamlfind install pcre META *.a *.cma *.cmxa *.cmi *.mli
52    
53     - ocamlnet
54 abate 298 (http://ocamlnet.sourceforge.net/)
55     cd in the src directory and then
56 abate 104
57 abate 298 ./configure && make all && make opt && make install
58 abate 104
59 abate 298
60     - pxp (development version 1.1.93)
61     (http://www.ocaml-programming.de/programming/pxp.html)
62    
63 abate 304 ./configure && make all && make opt && make install
64 abate 298
65    
66 abate 362
67 abate 369 WEB SITE INSTALLATION
68 abate 362 ====================
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 abate 369 </Directory>

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