Solutions for Extension Building

Purpose: accumulate commonly encountered problems, and their solutions, for people attempting to build Tcl extensions.


Seen many times on comp.lang.tcl:

  • Q. I always get the following error from ./configure:
 checking for Tcl configuration... configure: warning: Can't find Tcl
 configuration definitions
  • A. You will need to invoke with a command line like:
 /path/to/iwidgets/configure \
        --with-tcl=.../tcl84 \
        --with-tk=.../tk84 \
        --with-itcl=.../itcl

where those are the build and/or *Config.sh containing dirs. See the configure --help for more info.