INSTALL.WIN32 2.7 KB
Newer Older
1
                 Installation Notes for Windows NT/2000/XP
2
3
4
5
6
7
                 =========================================


CDuce can be executed on Microsoft Windows by using the
RedHat/Cygnus environment Cygwin freely available at

8
http://www.cygwin.com/
9

10
11
12
The executable needs the cygwin1.dll that is distributed 
under GPL license. This is not compatible with the CDuce license.
For this reason we do not provide binaries but give here detailed 
13
14
15
16
17
18
19
20
21
22
23
24
instructions about how to compile CDuce sources under Cygwin/Windows.


------------------------------------------------------------------------------
Prerequisites
------------------------------------------------------------------------------

Before compiling CDuce on Windows, you need to install recent 
releases of the following packages:


cygwin
25
  http://www.cygwin.com
26
27
28
29
30
31
32
33
34
ocaml      
  http://caml.inria.fr/ocaml/distrib.html
findlib    
  http://www.ocaml-programming.de/packages
wlex       
  http://www.eleves.ens.fr/home/frisch/soft.html#wlex
pcre-ocaml 
  http://www.ai.univie.ac.at/~markus/home/ocaml_sources.html
ocamlnet   
35
  http://sourceforge.net/projects/ocamlnet
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
pxp
  http://www.ocaml-programming.de/packages/documentation/pxp/index_dev.html


Installation notes (you are advised to follow this order):

1) Download and execute cygwin setup.exe.
   - Choose Internet installation
   - Choose a root directory whose path has no blanks in it
   - Choose as Local Package Directory <your root>/usr/src (optional)
   - Choose the mirror closest to you
   - When asked to select the packages to install add to the default
     choices the following packages:
       Devel/
         autoconf*
         automake*
         binutils
         gcc*
         make
       Lib/
56
	 libpcre
57
58
59
60
61
62
63
64
65
66
67
68
         pcre **both binaries and sources**
     you may also find useful to install the following packages
       Editors/
         emacs or vim (no trolls)
       Net/
         openssh
         ncftp
       Devel/
         cvs
       Utils/
         diff
         patch
69
     then proceed with installation
70
71
72


2) Download (we suggest in /usr/src) and install Ocaml
73
   [For the impatients: ./configure && make world.opt && make install]
74
75
76
77
78
79
80


3) Download (guess where) and install findlib
   a plain ./configure && make all && make opt && make install
   should work 


81
4) Download and install ulex 
82
83


84
5) Download and install pcre-ocaml. 
85
86
87
88
89
90
91
92
93
94
95
96
97
98

   
6) Download and install ocamlnet


7) PXP:
   CDuce requires a development version >= 1.1.93.


Now you can compile CDuce sources as indicated in the INSTALL file 
namely 

  
------------------------------------------------------------------------------
99
Compilation, installation
100
101
------------------------------------------------------------------------------

102
See the INSTALL file.
103
104
105
106