javasogo 发表于 2013-1-16 18:03:48

NS tcl-debug problem fixed(2)

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.. ../../tcl. 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
页: [1]
查看完整版本: NS tcl-debug problem fixed(2)