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.1/generic/
- ../../tcl8.0/generic/
- ../../tcl/generic/
- ../../tcl/
- ../tcl8.1/generic/
- ../tcl8.0/generic/
- ../tcl/generic/
- ../tcl/
- $(prefix)/include/
- /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.1/unix/
- ../../tcl8.0/unix/
- ../../tcl/unix/
- ../../tcl/
- ../tcl8.1/unix/
- ../tcl8.0/unix/
- ../tcl/unix/
- ../tcl/
- $(exec_prefix)/lib/
- /usr/local/lib/
- /usr/lib/
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.
- Remark 1: If only one of the options
--with-tcl-lib-dir and --with-tcl-include-dir is
specified the system will derive the other location automatically,
by going up one level and then down into the appropriate directory.
- Remark 2: I decided to let the system search both
.. and ../.. for tcl to be more flexible in the
placement of the sources relative to tcl and pilot-link. It
especially covers the case of a distribution inside of
pilot-link, and that being installed as sibling of the tcl
directory.
The configure script searches the pilot-link header directory
(pi-args.h in the following places:
- $(PILOT_INCLUDE_DIR)
- ../include
- ../pilot-link-*/include/
- $(prefix)/include
- /usr/local/include/
- /usr/include/
By default $(PILOT_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 two options to override these defaults:
--prefix=DIR |
$(prefix)=DIR
|
--with-pilot-include-dir=DIR |
$(PILOT_INCLUDE_DIR)=DIR
|
To find libpisock.* the paths
- $(PILOT_LIB_DIR)
- ../libsock
- ../pilot-link-*/libsock/
- $(exec_prefix)/lib/
- /usr/local/lib/
- /usr/lib/
are searched. $(PILOT_LIB_DIR) is empty by default, but
can be set via
--with-pilot-lib-dir=DIR |
$(PILOT_LIB_DIR)=DIR
|
$(exec_prefix) contains the same value as $(prefix) by
default, but can be set explicitly via --exec-prefix.
- Remark: If only one of the options
--with-pilot-lib-dir and --with-pilot-include-dir is
specified the system will derive the other location automatically,
by going up one level and then down into the appropriate directory.
|