NS tcl-debug problem fixed(2)

本文记录了在配置Expect 5.4.3过程中遇到的Tcl私有头文件tclInt.h缺失的问题及解决方案。作者在Suse Linux 9.2环境下安装TCL 8.4.11后,尝试配置Expect时遇到了错误提示。通过指向TCL源目录成功绕过了这一问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值