为了安装expect,所以要先装tcl,可以安装过程中出现问题,现描述如下: ------------------------------------------------------------------ tcl安装包: tcl8.4.9-src.tar.gz 操作系统: HP-UX 11.00 编译环境: gcc , make -------------------------------------------------------------------- 操作步骤:1)gunzip tcl8.4.9-src.tar.gz 2)cd tcl8.4.9-src.tar tar -xvf tcl8.4.9-src.tar 3)cd tcl8.4.9 cd uni...
我看过前面的帖子,想要用expect实现一个自动telnet的程序,但是我不知道什么地方有tcl for sco的安装程序,我下载了一个tcltk8.8.8.rpm,但是在sco里面好象没有rpm命令,这应该是linux里面的命令吧 什么地方有for sco的下载?怎么安装呢?谢谢
我在solaris中安装tcl时,总是出现这样的解释: #cd unix # ./configure creating cache ./config.cache checking whether to use symlinks for manpages... no checking whether to compress the manpages... no checking whether to add a package name suffix for the manpages... no checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH # 请问该怎么办??
..... write -output dump.v set var 2008 sh sed '/1982/,/$var/ s/xxxx/xx/g' dump.v -i ...... 大概就是上边的意思, 当然 "$var/" 这里肯定是不对的. 由于tcl不支持区间匹配, 所以想用sed来作一部分工作, 请问如何调用tcl中的var变量.
目前,NS支持由Don Libes开发的Otcl调试器tcl-debug,可以在网站 http://expect.nist.gov/tcl-debug 上下载。 安装步骤如下: 1. 将下载的tar包拷贝到与NS平行的目录下,例如/home/romeo/ns2/ns-allinone-2.30/下,使用命令tar -zxvf tcl-debug.tar.gz 进行解压 2. 进入解压时创见的目录tcl-debug-2.0,运行命令 ./configure --prefix=/home/romeo/ns2/ns-allinone-2.30 --with-tcl=/home/romeo/ns2/ns-allinone-2.30/tcl8.4.13/u...