tcl-debug-2.0 Compile error:./configure ~/tclConfig.sh: No such file or directory

在Fedora 14和ns-2.35环境下,编译遇到问题:运行配置命令时提示找不到tclConfig.sh。错误发生在配置文件引用了错误的Tcl目录。解决方案是修改tcl-debug-2.0目录下的Makefile、config.cache和config.status文件,确保目录与配置命令中指定的Tcl路径一致,之后编译即可成功。
摘要由CSDN通过智能技术生成

Compile environment: fedora 14

NS2's version: ns-2.35

problem: run the following cmd: 

./configure --prefix=/home/xxx/ns-allinone-2.35/ns-2.35 --with-tcl=/home/xxx/ns-allinone-2.35/tcl8.5.10/unix

loading cache ./config.cache

checking for Tcl configuration... (cached) found    /home/qiuyili/pdns/ns-allinone-2.27/tcl8.4.5/unix/tclConfig.sh

./configure: line 630:    /home/qiuyili/pdns/ns-allinone-2.27/tcl8.4.5/unix/tclConfig.sh: No such file or directory


Check the error infomation, and find the Blue directory are different from the configure  Red one.


Solution:

Modify the directories to be agree with your configure one in the files,

tcl-debug-2.0/Makefile, tcl-debug-2.0/config.cache, tcl-debug-2.0/config.status.

And then, you can compile successfully.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值