download.xml 6.49 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.2 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.2.tar.gz">Version 0.3.2 (for
15
OCaml 3.08.1, 3.08.2, 3.08.3)</a></li>
16
17
<li><a href="download/cduce-0.3.0.tar.gz">Version 0.3.0 (for
OCaml 3.08.1, 3.08.2)</a></li>
18
<li><a href="download/cduce-0.2.2.tar.gz">Version 0.2.2 (for
19
OCaml 3.08.1)</a></li>
20
<li><a href="download/cduce-0.2.0.tar.gz">Version 0.2.0 (for
21
OCaml 3.07)</a></li>
22
23
<li><a href="download/cduce-0.1.1.tar.gz">Version 0.1.1 (old release,
for OCaml 3.06)</a></li>
24
25
</ul>

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

40
41
</box>

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

<p>
62
63
64
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.
65
</p>
66

67
68
69
70
71
</box>

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


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

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

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

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

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


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

194
195
196
197
198
199
200
201
<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>

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

209

210

211
212

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

214
</page>