download.xml 8.21 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.1 release.
10
11
12
</p>

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

31
<p>
32
33
34
35
36
37
38
39
40
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.
41
42
An option in this package allows you to use the current CVS
development tree instead.
43
44
</p>

45
46
</box>

47
48
<box title="CVS status" link="cvs">
<p>
49
50
You can browse the <a href="http://www.cduce.org/c-bin/viewcvs.cgi/"
>current CVS development tree</a>.
51
52
53
54
55
56
</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>
57
58
59
60
61
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>
62
63
in the <tt>cduce</tt> subdirectory to get an up-to-date version 
of the CVS tree.
64
65
66
</p>

<p>
67
68
69
70
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>.
71
</p>
72

73
74
75
76
77
</box>

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

<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>

102
103
104
105
</section>
</box>


106
<box title="Packages" link="binary">
107
<section title="Debian Packages">
108
<p>
109
  Thanks to Thomas Petazzoni and Stefano Zacchiroli, CDuce 0.3.2 is
110
  now packaged and available in Debian stable (« sarge »). Just do
111
  <tt>apt-get install cduce</tt>.
112
</p>
113
114
115
116
117
118
119
120
<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>
121
<p><b>N. B. :</b> Some RPM-based distributions use the name
122
123
124
125
126
127
128
129
130
"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>
131
</section>
132
133
134
135
136
137
<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>
138
To install it, follow those steps :</p>
139
140
141
<ol>
<li><p>Update your ports tree (using cvsup for example, just take a
look at the handbook for more information.)</p></li>
142
143
<li><p>Be sure everything is up to date (use
<tt>sysutils/portupgrade</tt> this is the simplest way). Be also sure
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
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>

159
<p>If you are not familiar with FreeBSD ports, be sure to read the
160
161
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
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>

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

210
<section title="Mac OS X binary">
211
212
213
214
215
216
  <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>
217
    <li><a href="download/macosx/CDuce 0.1.1.sit">CDuce 0.1.1.sit (1.6 Mb)</a></li>
218
  </ul>
219
220
221
222
</section>


<section title="Red Hat Packages">
223
<p>The following packages where compiled and tested on Linux RedHat 9</p>
224
<ul>
225
226
<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>
227
228
229
</ul>
<p>If this is your first installation of CDuce rpm, please follow these <a href="rpminstructions.html">instructions</a>.
</p>
230
231
</section>

232
233
234
235
236
237
238
239
<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>

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

247

248

249

250

251

252
</page>