Files in directory undroid/ck8.x from the latest check-in
How to compile and install Ck8.x
1. Type "./configure". This runs a configuration script made by GNU
autoconf, which configures Ck for your system and creates a Makefile.
The configure script allows you to customize the configuration to
your local needs; for details how to do this, type "./configure --help"
or refer to the autoconf documentation (not included here).
The following special switches are supported by "configure":
--enable-shared If this switch is specified Ck will
compile itself as a shared library if
configure can figure out how to do this
on this platform.
--with-tcl Specifies the directory containing the
Tcl binaries and Tcl's platform-dependent
configuration information. By default the
Tcl distribution is assumed to be in
2. Type "make". This will create a library called "libck.a" or "libck8.x.so"
and an interpreter application called "cwsh" that allows you to type
Tcl commands interactively or execute scripts.
3. Type "make install" to install Ck's binaries, script files, and man
pages in standard places. You'll need write permission on the install
directories to do this. If you plan to install the libraries, executables,
and script files whitout documentation, use "make install-binaries" and
4. Now you should be able to execute "cwsh". However, if you haven't installed
Ck then you'll need to set the CK_LIBRARY environment variable to hold the
full path name of the "library" subdirectory. If Ck has been built as
shared library, you have to set the LD_LIBRARY_PATH to include the directory
where "libck8.x.so" resides.
So far, Ck8.x has been successfully tested on various Linux distributions,
on FreeBSD 3.3 with manually adapted Makefile, and on Windows NT 4.0 with
a modified PDCURSES library.
Christian Werner, December 1999