zoukankan      html  css  js  c++  java
  • linux上安装tcl、tk、expect

    linux上安装tcl、tk、expect  

    1
    、tcl安装tcl8.5.9-src.tar.gz cd /tmp tar -zxvf tcl8.5.9-src.tar.gz cd tcl8.5.9/unix/ ./configure --prefix=/usr/local/tcl/ --enable-shared make make install /usr/local/tcl/bin/tclsh8.5 %exit 2、tk安装tk8.5.9-src.tar.gz cd /tmp tar -zxvf tk8.5.9-src.tar.gz cd tk8.5.9/unix/ ./configure --prefix=/usr/local/tk/ --with-tcl=/usr/local/tcl/lib/ --enable-shared make make install ln -s /usr/local/tcl/lib/libtcl8.5.so /usr/local/tk/lib/libtcl8.5.so /usr/local/tk/bin/wish8.5 %exit 3、expect安装expect-5.44.1.15.tar.gz cd /tmp tar -zxvf expect-5.44.1.15.tar.gz cd expect-5.44.1.15 ./configure --prefix=/usr/local/expect/ --with-tcl=/usr/local/tcl/lib/ --with-tclinclude=/tmp/tcl8.5.9/generic/ --with-tk=/usr/local/tk/lib/ --with-tkinclude=/tmp/tk8.5.9/generic/ --enable-shared make make install expect expect1.1> exit 这样就可以开始运行expect脚本了。
  • 相关阅读:
    工厂模式一
    面向对象的简单理解二
    工厂模式三
    线程的简单学习
    nyoj35 表达式求值
    nyoj305 表达式求值
    poj1298 The Hardest Problem Ever
    poj1363 Rails
    hdu2036 改革春风吹满地
    nyoj467 中缀式变后缀式
  • 原文地址:https://www.cnblogs.com/gered/p/11649633.html
Copyright © 2011-2022 走看看