258 | | \032 You'll need the Objective Caml compiler (version 3.11.2 or later),\n\ |
259 | | \032 which is available from http://caml.inria.fr. Building and installing\n\ |
260 | | \032 OCaml on Unix systems is very straightforward; just follow the\n\ |
261 | | \032 instructions in the distribution. You'll probably want to build the\n\ |
262 | | \032 native-code compiler in addition to the bytecode compiler, as Unison\n\ |
263 | | \032 runs much faster when compiled to native code, but this is not\n\ |
264 | | \032 absolutely necessary. (Quick start: on many systems, the following\n\ |
| 258 | \032 Unison can be built with or without a graphical user interface (GUI).\n\ |
| 259 | \032 The build system will decide automatically depending on the libraries\n\ |
| 260 | \032 installed on your system, but you can also type make UISTYLE=text to\n\ |
| 261 | \032 build Unison without GUI.\n\ |
| 262 | \n\ |
| 263 | \032 You'll need the Objective Caml compiler, available from\n\ |
| 264 | \032 http://caml.inria.fr. OCaml is available from most package managers\n\ |
| 265 | \032 Building and installing OCaml on Unix systems is very straightforward;\n\ |
| 266 | \032 just follow the instructions in the distribution. You'll probably want\n\ |
| 267 | \032 to build the native-code compiler in addition to the bytecode compiler,\n\ |
| 268 | \032 as Unison runs much faster when compiled to native code, but this is\n\ |
| 269 | \032 not absolutely necessary. (Quick start: on many systems, the following\n\ |
280 | | \032 install two additional things:\n\ |
281 | | \032 * The Gtk2 libraries. These areavailable from http://www.gtk.org and\n\ |
282 | | \032 are standard on many Unix installations.\n\ |
283 | | \032 * The lablgtk2 OCaml library. Grab the developers' tarball from\n\ |
284 | | \n\ |
285 | | \032 http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html,\n\ |
286 | | \032 untar it, and follow the instructions to build and install it.\n\ |
287 | | \032 (Quick start: make configure, then make, then make opt, then su and\n\ |
288 | | \032 make install.)\n\ |
289 | | \n\ |
290 | | \032 Now build unison. If your search paths are set up correctly, simply\n\ |
291 | | \032 typing make again should build a unison executable with a Gtk2\n\ |
292 | | \032 graphical interface. (In previous releases of Unison, it was necessary\n\ |
293 | | \032 to add UISTYLE=gtk2 to the 'make' command above. This requirement has\n\ |
294 | | \032 been removed: the makefile should detect automatically when lablgtk2 is\n\ |
295 | | \032 present and set this flag automatically.)\n\ |
| 285 | \032 install some additional things:\n\ |
| 286 | \032 * The Gtk2 development libraries (package libgtk2.0-dev on debian\n\ |
| 287 | \032 based systems).\n\ |
| 288 | \032 * OCaml bindings for Gtk2. Install them from your software\n\ |
| 289 | \032 repositories (package liblablgtk2-ocaml on debian based systems).\n\ |
| 290 | \032 Also available from\n\ |
| 291 | \032 http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html.\n\ |
| 292 | \032 * Pango, a text rendering library and a part of Gtk2. On some systems\n\ |
| 293 | \032 (e.g. Ubuntu) the bindings between Pango and OCaml need to be\n\ |
| 294 | \032 installed explicitly (package liblablgtk-extras-ocaml-dev on\n\ |
| 295 | \032 Ubuntu).\n\ |
| 296 | \n\ |
| 297 | \032 Type make to build Unison. If Gtk2 is available on the system, Unison\n\ |
| 298 | \032 with a GUI will be built automatically.\n\ |