[Pkg-tcltk-devel] TCL_INC_DIR missing

Joe English jenglish at flightlab.com
Tue Aug 7 18:18:48 UTC 2007


Gudjon I. Gudjonsson wrote:

> Sorry, I don't know if it is a bug but it seems like TCL_INC_DIR is missing
> from tclConfig.sh, is that correct? Anyway, when I add it to the script, my
> program compiles perfectly.

You should use $(TCL_INCLUDE_SPEC) instead of -I$(TCL_INC_DIR)
nowadays.

TCL_INC_DIR was a Debian-specific patch circa Tcl 8.3,
to work around the fact that this information was missing
in the upstream tclConfig.sh.  This was rectified upstream 
several years ago (see SourceForge bug #421835); as of Tcl 8.4
extensions should use $(TCL_INCLUDE_SPEC) instead.

See also /usr/share/doc/tcl8.4-dev/README.TCL_INC.


--Joe English

  jenglish at flightlab.com



More information about the Pkg-tcltk-devel mailing list