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 \

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