download.xml 8.29 KB
Newer Older
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
2
<page name="download">
3
4
5

<title>Download</title>

6
<box title="Sources tarballs" link="src">
7
8

<p>
9
The latest available version for download is the 0.4.2 release.
10
11
12
</p>

<ul>
13
14
<li><a href="download/cduce-0.4.1.tar.gz">Version 0.4.2 (for
OCaml 3.09)</a></li>
15
16
<li><a href="download/cduce-0.4.1.tar.gz">Version 0.4.1 (for
OCaml 3.09)</a></li>
17
18
<li><a href="download/cduce-0.4.0.tar.gz">Version 0.4.0 (for
OCaml 3.09)</a></li>
19
<li><a href="download/cduce-0.3.92.tar.gz">Version 0.3.92 (for
20
OCaml 3.08.3)</a></li>
21
<li><a href="download/cduce-0.3.2.tar.gz">Version 0.3.2 (for
22
OCaml 3.08.1, 3.08.2, 3.08.3)</a></li>
23
24
<li><a href="download/cduce-0.3.0.tar.gz">Version 0.3.0 (for
OCaml 3.08.1, 3.08.2)</a></li>
25
<li><a href="download/cduce-0.2.2.tar.gz">Version 0.2.2 (for
26
OCaml 3.08.1)</a></li>
27
<li><a href="download/cduce-0.2.0.tar.gz">Version 0.2.0 (for
28
OCaml 3.07)</a></li>
29
30
<li><a href="download/cduce-0.1.1.tar.gz">Version 0.1.1 (old release,
for OCaml 3.06)</a></li>
31
32
</ul>

33
<p>
34
35
36
37
38
39
40
41
42
See <a href="CHANGES">recent changes</a> (including those of the CVS
version), and <a href="INSTALL">build instructions</a>.
</p>

<p>
The simplest way to compile and install CDuce is probably to
use the
<a href="http://www.ocaml-programming.de/godi/">
GODI distribution</a>, and to select the <tt>apps-cduce</tt> package.
43
44
An option in this package allows you to use the current CVS
development tree instead.
45
46
</p>

47
48
</box>

49
50
<box title="CVS status" link="cvs">
<p>
51
52
You can browse the <a href="http://www.cduce.org/c-bin/viewcvs.cgi/"
>current CVS development tree</a>.
53
54
55
56
57
58
</p>

<p>
You can also download the CVS tree through an anonymous access.
Set the <tt>CVSROOT</tt> environment variable to 
<tt>:pserver:anonymous@cvs.cduce.org:/cvsroot</tt>
59
60
61
62
63
and do <tt>cvs checkout cduce</tt>. Or more simply, copy and paste in a terminal the following line
</p><p>
<tt>cvs -z3 -d ":pserver:anonymous@cvs.cduce.org:/cvsroot" co cduce</tt>
</p><p>
You can then do <tt>cvs update -dP</tt>
64
65
in the <tt>cduce</tt> subdirectory to get an up-to-date version 
of the CVS tree.
66
67
68
</p>

<p>
69
70
71
72
Another way to follow the development in the CVS is to use
the <tt>apps-cduce </tt> <a
href="http://www.ocaml-programming.de/godi/">GODI</a> package
and to set the <tt>APPS_CDUCE_CVS_CHECKOUT</tt> to <tt>yes</tt>.
73
</p>
74

75
76
77
78
79
</box>

<box title="Side products" link="side">
<section title="ulex">
<p>
80
<code>ulex</code> is a lexer generator for Unicode and OCaml written by 
81
Alain Frisch. Here is the <a href="ulex/">ocamldoc-generated documentation</a>.
82
</p>
83
<link url="http://www.cduce.org/download/ulex-1.0.tar.gz" 
84
title="Download">
85
Version 1.0, for OCaml 3.10 (ported by Nicolas Pouillard).
86
</link>
87
88
89
90
<link url="http://www.cduce.org/download/ulex-0.8.tar.gz" 
title="Download">
Version 0.8, for OCaml 3.09.
</link>
91
92
<link url="http://www.cduce.org/download/ulex-0.7.tar.gz" title="Download">
Version 0.7, for OCaml 3.08, 3.09.
93
</link>
94
95
96
<link url="http://www.cduce.org/download/ulex-0.4.tar.gz" title="Download">
Version 0.4, for OCaml &lt;= 3.07.
</link>
97
98
99
100
101
102
103

<p>
Gerd Stolpmann posted a message to the Caml-list which explains <a
href="http://caml.inria.fr/pub/ml-archives/caml-list/2006/04/6d31ef03a5a1f9a182a9ed2422d266a4.en.html">how
to migrate from ocamllex to ulex</a>.
</p>

104
105
106
107
</section>
</box>


108
<box title="Packages" link="binary">
109
<section title="Debian Packages">
110
<p>
111
  Thanks to Thomas Petazzoni and Stefano Zacchiroli, CDuce 0.3.2 is
112
  now packaged and available in Debian stable (« sarge »). Just do
113
  <tt>apt-get install cduce</tt>.
114
</p>
115
116
117
118
119
120
121
122
<p> Version 0.4.0 is also available in Debian testing (« etch »).</p>
</section>
<section title="RPM Package">
<p> An
<a href="http://www.cduce.org/download/redhat/cduce-0.4.0-1.i386.rpm">
RPM package</a> is now available for CDuce 0.4.0, including the
interpreter only without the OCaml/CDuce interface. This package does not
need OCaml, but does need a version &gt;= 4.5 of the pcre package.</p>
123
<p><b>N. B. :</b> Some RPM-based distributions use the name
124
125
126
127
128
129
130
131
132
"libpcre3" instead of "pcre" for the pcre package. If RPM complains
that pcre is missing, but you have libpcre3 version &gt;= 4.5
installed, you may safely use <tt>rpm -U --nodeps</tt> to force installation.</p>
<p> If you want to use the Ocaml/CDuce interface under an RPM-based
distribution, you have to compile CDuce from source, because not all
dependencies for the library exist as RPM packages. However, a number
of them can be found in the ALT Linux distribution, in category
<a href="http://www.altlinux.org/index.php?module=sisyphus&amp;group=Development%2FML">
Development/ML</a>.</p>
133
</section>
134
135
136
137
138
139
<section title="FreeBSD Port">
<p>
A <a href="http://www.freshports.org/lang/cduce/">FreeBSD port</a> for
CDuce 0.3.2 is now available (commit date : 2005-06-19)
</p>
<p>
140
To install it, follow those steps :</p>
141
142
143
<ol>
<li><p>Update your ports tree (using cvsup for example, just take a
look at the handbook for more information.)</p></li>
144
145
<li><p>Be sure everything is up to date (use
<tt>sysutils/portupgrade</tt> this is the simplest way). Be also sure
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
that your pcre lib was build with UTF8 support (if it isn't installed,
you don't have to care.) The best way is to deinstall pcre and install
the slave port <tt>devel/pcre-utf8</tt>.</p></li>
<li><p>Go to <tt>/usr/ports/lang/cduce</tt>, type "<tt>make all
install clean</tt>" and this it (or if you have portupgrade,
"<tt>portinstall lang/cduce</tt>" would be enough).</p></li>
</ol>

<p>As for most ocaml ports, be sure that all your already installed
ports depending on ocaml are up to date (in particular, they need to
be rebuild since the last ocaml update.)</p>

<p>The best way to do that is with (again) portupgrade :
<tt>portupgrade -fru ocaml\*</tt></p>

161
<p>If you are not familiar with FreeBSD ports, be sure to read the
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
FreeBSD <a
href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html">handbook</a>
and the manpage <a
href="http://www.freebsd.org/cgi/man.cgi?query=ports&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+5.4-RELEASE+and+Ports&amp;format=html">ports(7)</a>.
Some articles in O'Reilly's <a
href="http://www.onlamp.com/bsd/">OnLamp.com BSD DEVCENTER</a> may
interest you also.</p>

<p>OCaml's ports have been updated just before porting CDuce, so
normaly, every thing needed to build CDuce's interface with ocaml is
available (unless you build ocaml's port with option
WITHOUT_COMPILER_LIB.)</p>

<p>The CDuce's port has some options :</p>

<table>
<tr>
<td valign="top">WITHOUT_OCURL</td>
<td>disable support for ocurl (since there's no ports of netclient,
this disable url supports.)<br />
<em>default : ocurl enable</em></td>
</tr>
<tr>
<td valign="top">WITH_OCAML_EXPAT</td>
<td>use expat instead of PXP. PXP was made default, but since expat
problem with external DTD is fixed, it will be the default in next
ports release.<br />
<em>default : expat disable</em></td>
</tr>
<tr>
<td valign="top">WITHOUT_MLIFACE</td>
<td>disable CDuce's ocaml interface.
<em>default : MLIFACE enable</em></td>
</tr>
<tr>
<td valign="top">NOPORTSDOCS</td>
<td>disable build/install of documentation (standard ports'
option)<br />
<em>default : depending on you own ports configuration, probably docs
enable.</em></td>
</tr>
</table>

</section>

207
<!--
208
209
210
211
<section title="FreeBSD Ports">
<p><i>In preparation</i></p>
</section>

212
<section title="Mac OS X binary">
213
214
215
216
217
218
  <p>
    A <tt>.sit</tt> archive including <tt>cduce</tt> and <tt>dtd2cduce</tt>
    binaries along with manpages and a copy of the website and the online
    prototype CGI is available:
  </p>
  <ul>
219
    <li><a href="download/macosx/CDuce 0.1.1.sit">CDuce 0.1.1.sit (1.6 Mb)</a></li>
220
  </ul>
221
222
223
224
</section>


<section title="Red Hat Packages">
225
<p>The following packages where compiled and tested on Linux RedHat 9</p>
226
<ul>
227
228
<li><a href="download/redhat/cduce-0.1.1-1.i386.rpm">cduce-0.1.1-1.i386.rpm</a></li>
<li><a href="download/redhat/cduce-0.1.1-1.src.rpm">cduce-0.1.1-1.src.rpm</a></li>
229
230
231
</ul>
<p>If this is your first installation of CDuce rpm, please follow these <a href="rpminstructions.html">instructions</a>.
</p>
232
233
</section>

234
235
236
237
238
239
240
241
<section title="Gentoo packages">
<p>
Julien Demouth provides some information and ebuilds to 
<a href="http://www.ie2.u-psud.fr/~jdemouth/cduce.xml.html">install
CDuce on a Gentoo Linux box</a>.
</p>
</section>

242
243
<section title="Windows">
<p>Compile the sources by following the instructions of the
244
file  <a href="INSTALL.WIN32">INSTALL.WIN32</a> included in the distribution.</p>
245
</section>
246
-->
247
248
</box>

249

250

251

252

253

254
</page>