[ Compilation | Sitemap ]
There are several different flavors of Un*x out there in this small world. A configure script, as generated by GNU autoconf, is provided to handle them all together.
Simply type:
The makefile will then check number and names of the files in the package, generate dependency information, compile them and at last build the library.
You do have a non-standard setup (tcl not installed below /usr/local) ?
Don't fret, there are some tuning options for configure to help you.
The configure script searches the core header tcl.h in the following places:
By default $(TCL_INCLUDE_DIR) is empty and $(prefix) points to the location of an installed 'tclsh' or is /usr/local if tclsh could not be found via $PATH.
There are three options to override these defaults:
--prefix=DIR |
$(prefix)=DIR |
--with-tcl=DIR |
$(TCL_INCLUDE_DIR)=DIR/include |
--with-tcl-include-dir=DIR |
$(TCL_INCLUDE_DIR)=DIR |
To find libtcl.a (or libtcl.so.??) the paths
are searched. $(TCL_LIB_DIR) is empty by default, but can be set via
--with-tcl=DIR |
$(TCL_LIB_DIR)=DIR/lib |
--with-tcl-lib-dir=DIR |
$(TCL_LIB_DIR)=DIR |
$(exec_prefix) contains the same value as $(prefix) by default, but can be set explicitly via --exec-prefix.
Last update at Wed Oct 04 20:37:32 MEST 2000