Commit df03efb5 authored by Karoline Malmkjaer's avatar Karoline Malmkjaer
Browse files

Updated URLs

parent bdce0028
...@@ -17,28 +17,30 @@ instructions about how to compile CDuce sources under Cygwin/Windows. ...@@ -17,28 +17,30 @@ instructions about how to compile CDuce sources under Cygwin/Windows.
Prerequisites Prerequisites
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
Before compiling CDuce on Windows, you need to install recent Before compiling CDuce on Windows, you need to install the
releases of the following packages: following releases of the these packages (newer releases may
work):
cygwin cygwin
http://www.cygwin.com http://www.cygwin.com
ocaml ocaml 3.10.0
http://caml.inria.fr/ocaml/distrib.html http://caml.inria.fr/ocaml/distrib.html
findlib findlib 1.2.1
http://www.ocaml-programming.de/packages http://www.ocaml-programming.de/packages
wlex ulex 1.0
http://www.eleves.ens.fr/home/frisch/soft.html#wlex http://www.cduce.org/download.html
pcre-ocaml pcre-ocaml
http://www.ai.univie.ac.at/~markus/home/ocaml_sources.html http://ocaml.info/home/ocaml_sources.html
ocamlnet ocamlnet 2.2.9
http://sourceforge.net/projects/ocamlnet http://www.ocaml-programming.de/packages
pxp pxp 1.2.0
http://www.ocaml-programming.de/packages/documentation/pxp/index_dev.html http://www.ocaml-programming.de/packages/documentation/pxp/index_dev.html
Installation notes (you are advised to follow this order): Installation notes (you are advised to follow this order):
1) Download and execute cygwin setup.exe. 1) Download and execute cygwin setup.exe.
- Choose Internet installation - Choose Internet installation
- Choose a root directory whose path has no blanks in it - Choose a root directory whose path has no blanks in it
...@@ -53,51 +55,88 @@ Installation notes (you are advised to follow this order): ...@@ -53,51 +55,88 @@ Installation notes (you are advised to follow this order):
gcc* gcc*
make make
patchutils patchutils
Interpreters/
m4
Lib/ Lib/
libpcre libpcre
pcre **both binaries and sources** pcre
pcre-devel
you may also find useful to install the following packages you may also find useful to install the following packages
Editors/ Editors/
emacs or vim (no trolls) emacs or vim (no trolls)
Net/ Net/
openssh
ncftp ncftp
openssh
Devel/ Devel/
cvs binutils
subversion
Utils/ Utils/
diff
patch
bc bc
bzip2
diff
diffutils
file file
patch
patchutils
then proceed with installation then proceed with installation
2) Download (we suggest in /usr/src) and install Ocaml 2) Download (we suggest in /usr/src) and install Ocaml
[For the impatients: ./configure && make world.opt && make install] [For the impatient:
./configure
make world.opt
make install]
3) Download (guess where) and install findlib.
A plain
./configure
make all
make opt
make install
3) Download (guess where) and install findlib should work, but it is worth checking that the paths that come
a plain ./configure && make all && make opt && make install out looking right in Makefile.config after ./configure.
should work Otherwise correct paths in findlib.conf and re-run configure.
E.g.: ./configure -bindir /usr/local/bin -mandir /usr/local/man
4) Download and install ulex 4) Download and install ulex
The ocaml 3.10.0 version of ulex on cygwin requires to add the The ocaml 3.10.0 version of ulex on cygwin requires to add the
"-classic-display" option to ocamlbuild in the Makefile "-classic-display" option to ocamlbuild in the Makefile.
make all
make all.opt
make install
5) Download and install pcre-ocaml. 5) Download and install pcre-ocaml.
If you get an error regarding dynmaically loaded library try to If you get an error regarding dynmaically loaded library try to
add STATIC=yes in Makefile.conf add STATIC=yes in Makefile.conf
make
make install
6) Download and install ocamlnet 6) Download and install ocamlnet
./configure
make all
make opt
make install
7) PXP: 7) PXP:
CDuce requires a development version >= 1.1.93. CDuce requires a development version >= 1.1.93.
If you have problems with the pre-processor compilation try to
compile pxp with "-without-pp" ./configure -without-wlex -without-wlex-compat -lexlist utf8,iso88591 -without-pp
(there is a problem with the preprocessor in cygwin, so you
get an error if you don't add the -without-pp)
make all
make opt
make install
Now you can compile CDuce sources as indicated in the INSTALL file Now you can compile CDuce sources as indicated in the INSTALL file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment