download.xml 6.58 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.3.92 release. We
10
successfully compiled it on on Intel Linux, SunOS 5.7, Mac OSX, Windows XP, and FreeBSD 4.7
11
12
13
</p>

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

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

42
43
</box>

44
45
46
<box title="CVS status" link="cvs">
<p>
You can browse the current CVS development tree 
47
48
49
50
51
52
53
<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>
54
55
56
57
58
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>
59
60
in the <tt>cduce</tt> subdirectory to get an up-to-date version 
of the CVS tree.
61
62
63
</p>

<p>
64
65
66
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.
67
</p>
68

69
70
71
72
73
</box>

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


87
<box title="Packages" link="binary">
88
<section title="Debian Packages">
89
<p>
90
91
92
  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>.
93
</p>
94
95
</section>

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

123
<p>If you are not familiar with FreeBSD ports, be sure to read the
124
125
126
127
128
129
130
131
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
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>

169
<!--
170
171
172
173
<section title="FreeBSD Ports">
<p><i>In preparation</i></p>
</section>

174
<section title="Mac OS X binary">
175
176
177
178
179
180
  <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>
181
    <li><a href="download/macosx/CDuce 0.1.1.sit">CDuce 0.1.1.sit (1.6 Mb)</a></li>
182
  </ul>
183
184
185
186
</section>


<section title="Red Hat Packages">
187
<p>The following packages where compiled and tested on Linux RedHat 9</p>
188
<ul>
189
190
<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>
191
192
193
</ul>
<p>If this is your first installation of CDuce rpm, please follow these <a href="rpminstructions.html">instructions</a>.
</p>
194
195
</section>

196
197
198
199
200
201
202
203
<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>

204
205
<section title="Windows">
<p>Compile the sources by following the instructions of the
206
file  <a href="INSTALL.WIN32">INSTALL.WIN32</a> included in the distribution.</p>
207
</section>
208
-->
209
210
</box>

211

212

213
214

<include file="rpminstructions.xml"/>
215

216
</page>