| 1 |
Installation Notes for Windows NT/2000/XP
|
| 2 |
=========================================
|
| 3 |
|
| 4 |
|
| 5 |
CDuce can be executed on Microsoft Windows by using the
|
| 6 |
RedHat/Cygnus environment Cygwin freely available at
|
| 7 |
|
| 8 |
http://www.cygwin.com/
|
| 9 |
|
| 10 |
The executable needs the cygwin1.dll that is distributed
|
| 11 |
under GPL license. This is not compatible with the CDuce license.
|
| 12 |
For this reason we do not provide binaries but give here detailed
|
| 13 |
instructions about how to compile CDuce sources under Cygwin/Windows.
|
| 14 |
|
| 15 |
|
| 16 |
------------------------------------------------------------------------------
|
| 17 |
Prerequisites
|
| 18 |
------------------------------------------------------------------------------
|
| 19 |
|
| 20 |
Before compiling CDuce on Windows, you need to install recent
|
| 21 |
releases of the following packages:
|
| 22 |
|
| 23 |
|
| 24 |
cygwin
|
| 25 |
http://www.cygwin.com
|
| 26 |
ocaml
|
| 27 |
http://caml.inria.fr/ocaml/distrib.html
|
| 28 |
findlib
|
| 29 |
http://www.ocaml-programming.de/packages
|
| 30 |
wlex
|
| 31 |
http://www.eleves.ens.fr/home/frisch/soft.html#wlex
|
| 32 |
pcre-ocaml
|
| 33 |
http://www.ai.univie.ac.at/~markus/home/ocaml_sources.html
|
| 34 |
ocamlnet
|
| 35 |
http://sourceforge.net/projects/ocamlnet
|
| 36 |
pxp
|
| 37 |
http://www.ocaml-programming.de/packages/documentation/pxp/index_dev.html
|
| 38 |
|
| 39 |
|
| 40 |
Installation notes (you are advised to follow this order):
|
| 41 |
|
| 42 |
1) Download and execute cygwin setup.exe.
|
| 43 |
- Choose Internet installation
|
| 44 |
- Choose a root directory whose path has no blanks in it
|
| 45 |
- Choose as Local Package Directory <your root>/usr/src (optional)
|
| 46 |
- Choose the mirror closest to you
|
| 47 |
- When asked to select the packages to install add to the default
|
| 48 |
choices the following packages:
|
| 49 |
Devel/
|
| 50 |
autoconf*
|
| 51 |
automake*
|
| 52 |
binutils
|
| 53 |
gcc*
|
| 54 |
make
|
| 55 |
patchutils
|
| 56 |
Lib/
|
| 57 |
libpcre
|
| 58 |
pcre **both binaries and sources**
|
| 59 |
you may also find useful to install the following packages
|
| 60 |
Editors/
|
| 61 |
emacs or vim (no trolls)
|
| 62 |
Net/
|
| 63 |
openssh
|
| 64 |
ncftp
|
| 65 |
Devel/
|
| 66 |
cvs
|
| 67 |
Utils/
|
| 68 |
diff
|
| 69 |
patch
|
| 70 |
then proceed with installation
|
| 71 |
|
| 72 |
|
| 73 |
2) Download (we suggest in /usr/src) and install Ocaml
|
| 74 |
[For the impatients: ./configure && make world.opt && make install]
|
| 75 |
|
| 76 |
|
| 77 |
3) Download (guess where) and install findlib
|
| 78 |
a plain ./configure && make all && make opt && make install
|
| 79 |
should work
|
| 80 |
|
| 81 |
|
| 82 |
4) Download and install ulex
|
| 83 |
|
| 84 |
|
| 85 |
5) Download and install pcre-ocaml.
|
| 86 |
|
| 87 |
|
| 88 |
6) Download and install ocamlnet
|
| 89 |
|
| 90 |
|
| 91 |
7) PXP:
|
| 92 |
CDuce requires a development version >= 1.1.93.
|
| 93 |
|
| 94 |
|
| 95 |
Now you can compile CDuce sources as indicated in the INSTALL file
|
| 96 |
namely
|
| 97 |
|
| 98 |
|
| 99 |
------------------------------------------------------------------------------
|
| 100 |
Compilation, installation
|
| 101 |
------------------------------------------------------------------------------
|
| 102 |
|
| 103 |
See the INSTALL file.
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|