INSTALLATION DIRECTIVES FOR CamlTk * for Caml Light 0.7x * for Objective Caml 1.0x Installation for Caml Light 0.7x: -------------------------------- 0- The file camltk40-R07.tar.gz must be uncompressed and untarred in the contrib/ directory or your Caml Light distribution, where it will give a camltk4/ directory with several subdirectories. 1- Check for possible patches available by anonymous FTP at ftp://ftp.inria.fr/INRIA/Projects/cristal/caml-light/camltk with names such as cl-patch1, and apply these patches, in order. 2- Configuration Some variables defined in contrib/Makefile must be checked: X11_INCLUDES, X11_LIB, TCLINCLDIR, TKINCLDIR, TCLLIBDIR, TKLIBDIR, TKLIBS 3- Compilation There are two ways of compiling camltk4 : a- either from the "contrib/" directory, using 'make PACKAGES=camltk4' b- or from the "camltk4/" directory, using 'make'. In this case, you must also have configured the variables mentionned above in contrib/camltk4/Makefile 4- Installation a- from the "contrib/" directory, using 'make PACKAGES=camltk4 install' b- or from the "camltk4/" directory, using 'make install'. Installation copies a bunch of .zi and .zo files to the Caml Light library directory (LIBDIR, usually /usr/local/lib/caml-light). A Caml Light toplevel with CamlTk is installed in LIBDIR as "camltktop". The demonstration program "camlbrowser" is also installed in BINDIR (usually /usr/local/bin).