problem:
1.when type ./configure in tcl-debug2.0:
checking for Tcl private headers... checking for tclInt.h... no
configure: error: Can't find Tcl private headers
checking for tclInt.h...Can't find Tcl private headers
Expect 5.4.3, Suse Linux 9.2, fresh installation of TCL 8.4.11
Trying to configure Expect 5.4.3, immediately after following
the instructions to install TCL, I get the following error:
checking for Tcl private headers... checking for tclInt.h... no
configure: error: Can't find Tcl private headers
Workaround:
Point configure at TCL's source directory:
configure
--with-tclinclude=/Downloads/tcl8.4.11-src/tcl8.4.11/generic/
I suspect that the problem is code like the following, which has
hard-coded assumptions about TCL version numbers:
`ls -dr ../../tcl[8].[2-9].[0-9] ../../tcl[8].[2-9] 2>/dev/null`
The configure script also seems to make unwarranted
assumptions about header locations. My original copy of
tclInt.h seemed to be at /usr/include/itclInt.h.
MartriWang
2007-04-08
本文记录了在Suse Linux 9.2环境下安装TCL 8.4.11过程中遇到的Tcl私有头文件tclInt.h缺失错误。通过指向TCL源目录的方式成功绕过该问题,并分析了配置脚本中对于TCL版本及头文件位置的硬编码假设。
446

被折叠的 条评论
为什么被折叠?



