1 How to compile and install Ck8.0
2 --------------------------------
4 1. Type "./configure". This runs a configuration script made by GNU
5 autoconf, which configures Ck for your system and creates a Makefile.
6 The configure script allows you to customize the configuration to
7 your local needs; for details how to do this, type "./configure --help"
8 or refer to the autoconf documentation (not included here).
9 The following special switches are supported by "configure":
10 --enable-shared If this switch is specified Ck will
11 compile itself as a shared library if
12 configure can figure out how to do this
14 --with-tcl Specifies the directory containing the
15 Tcl binaries and Tcl's platform-dependent
16 configuration information. By default the
17 Tcl distribution is assumed to be in
20 2. Type "make". This will create a library called "libck.a" or "libck8.0.so"
21 and an interpreter application called "cwsh" that allows you to type
22 Tcl commands interactively or execute scripts.
24 3. Type "make install" to install Ck's binaries, script files, and man
25 pages in standard places. You'll need write permission on the install
26 directories to do this. If you plan to install the libraries, executables,
27 and script files whitout documentation, use "make install-binaries" and
28 "make install-libraries".
30 4. Now you should be able to execute "cwsh". However, if you haven't installed
31 Ck then you'll need to set the CK_LIBRARY environment variable to hold the
32 full path name of the "library" subdirectory. If Ck has been built as
33 shared library, you have to set the LD_LIBRARY_PATH to include the directory
34 where "libck8.0.so" resides.
37 So far, Ck8.0 has been successfully tested on various Linux distributions,
38 on FreeBSD 3.3 with manually adapted Makefile, and on Windows NT 4.0 with
39 a modified PDCURSES library. The Ck8.0 source tree should be able to be
40 combined with Tcl7.4, 7.5, 7.6, and 8.0.
41 Older version of Ck (which use Tcl7.4 or Tcl7.5) are in use for several
42 years on HP-UX, AIX, and DEC Unix.
45 Christian Werner, December 1999
46 mailto:Christian.Werner@t-online.de