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.
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:
- $(TCL_INCLUDE_DIR)
- ../../tcl8.2*/generic
- ../../tcl8.1*/generic
- ../../tcl8.0*/generic
- ../../tcl/generic
- ../../tcl
- $(prefix)
- /usr/local/include
- /usr/include
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
- $(TCL_LIB_DIR)
- ../../tcl8.2*/unix
- ../../tcl8.1*/unix
- ../../tcl8.0*/unix
- ../../tcl/unix
- ../../tcl
- $(exec_prefix)
- /usr/local/include
- /usr/include
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.
|