download.xml 6.75 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
10
11
12
The latest available version for download is the 0.4.0 release.
<!-- We
successfully compiled it on on Intel Linux, SunOS 5.7, Mac OSX, -->
<!-- Windows XP, and FreeBSD 4.7 -->
13
14
15
</p>

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

32
<p>
33
34
35
36
37
38
39
40
41
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.
42
43
There is also a  <tt>apps-cduce-cvs</tt> package which synchronize
itself with the CDuce CVS development tree.
44
45
</p>

46
47
</box>

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

<p>
68
69
70
Another way to follow the development in the CVS is to is the
<tt>apps-cduce-cvs</tt> <a
href="http://www.ocaml-programming.de/godi/"> GODI</a> package.
71
</p>
72

73
74
75
76
77
</box>

<box title="Side products" link="side">
<section title="ulex">
<p>
78
79
<code>ulex</code> is a lexer generator for Unicode and OCaml written by 
Alain Frisch.
80
</p>
81
82
83
84
<link url="http://www.cduce.org/download/ulex-0.8.tar.gz" 
title="Download">
Version 0.8, for OCaml 3.09.
</link>
85
86
87
<link url="http://www.cduce.org/download/ulex-0.4.tar.gz" title="Download">
Version 0.4, for OCaml &lt;= 3.07.
</link>
88
89
<link url="http://www.cduce.org/download/ulex-0.7.tar.gz" title="Download">
Version 0.7, for OCaml 3.08, 3.09.
90
</link>
91
92
93
94
</section>
</box>


95
<box title="Packages" link="binary">
96
<section title="Debian Packages">
97
<p>
98
99
100
  Thanks to Thomas Petazzoni and Stefano Zacchiroli, CDuce 0.3.2 is
  now packaged and available in Debian testing. Just do
  <tt>apt-get install cduce</tt>.
101
</p>
102
103
</section>

104
105
106
107
108
109
<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>
110
To install it, follow those steps :</p>
111
112
113
<ol>
<li><p>Update your ports tree (using cvsup for example, just take a
look at the handbook for more information.)</p></li>
114
115
<li><p>Be sure everything is up to date (use
<tt>sysutils/portupgrade</tt> this is the simplest way). Be also sure
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
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>

131
<p>If you are not familiar with FreeBSD ports, be sure to read the
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
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>

177
<!--
178
179
180
181
<section title="FreeBSD Ports">
<p><i>In preparation</i></p>
</section>

182
<section title="Mac OS X binary">
183
184
185
186
187
188
  <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>
189
    <li><a href="download/macosx/CDuce 0.1.1.sit">CDuce 0.1.1.sit (1.6 Mb)</a></li>
190
  </ul>
191
192
193
194
</section>


<section title="Red Hat Packages">
195
<p>The following packages where compiled and tested on Linux RedHat 9</p>
196
<ul>
197
198
<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>
199
200
201
</ul>
<p>If this is your first installation of CDuce rpm, please follow these <a href="rpminstructions.html">instructions</a>.
</p>
202
203
</section>

204
205
206
207
208
209
210
211
<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>

212
213
<section title="Windows">
<p>Compile the sources by following the instructions of the
214
file  <a href="INSTALL.WIN32">INSTALL.WIN32</a> included in the distribution.</p>
215
</section>
216
-->
217
218
</box>

219

220

221

222

223

224
</page>