expect安装编译方法
来源:互联网 发布:淘宝进口税要买家交吗 编辑:程序博客网 时间:2024/05/18 02:22
expect介绍
http://en.wikipedia.org/wiki/Expect
需要软件
Tcl
ftp://mirror.ovh.net/gentoo-distfiles/distfiles/tcl8.5.8-src.tar.gz
Tk
ftp://mirror.ovh.net/gentoo-distfiles/distfiles/tk8.5.8-src.tar.gz
expect
http://expect.nist.gov/old/expect-5.43.0.tar.gz
Patch
http://www.linuxfromscratch.org/patches/blfs/svn/expect-5.43.0-tcl_8.5.8_fix-1.patch
http://www.linuxfromscratch.org/patches/blfs/svn/expect-5.43.0-spawn-2.patch
$cd soft
$tar xzvf tcl8.5.8-src.tar.gz
$tar xzvf tk8.5.8-src.tar.gz
$tar xzvf expect-5.43.0.tar.gz
$ln -s tcl8.5.8 tcl
$ln -s tk8.5.8 tk
$cd tcl/unix
$./configure -enable-64bit -enable-shared -prefix=/opt/gnu/expect
$make
$make install
$cd ../../tk/unix
$./configure -enable-64bit -enable-shared -prefix=/opt/gnu/expect
$make
$make install
$cd ../../ expect-5.43.0
patch -Np1 -i ../expect-5.43.0-tcl_8.5.8_fix-1.patch
patch -Np1 -i ../expect-5.43.0-spawn-2.patch
$./configure -enable-64bit -enable-shared -prefix=/opt/gnu/expect
$make
$make install
$ln -s /opt/gnu/expect /usr/bin/expect
$ln -s /opt/gnu/expectk /usr/bin/expectk
参考:
http://www.linuxfromscratch.org/blfs/view/svn/general/expect.html
- expect安装编译方法
- Expect安装方法
- Expect安装方法
- solaris9 安装expect工具方法
- expect的源码安装方法
- Opensolaris: TCL和 Expect 编译与安装
- linux下expect的安装方法
- linux下expect的安装方法
- 安装expect
- expect安装
- 安装expect
- expect 安装
- expect 安装
- expect安装
- expect安装
- 安装expect
- expect安装
- expect安装
- ALV Grid Display ,Top-Of-Page, Variant, DownLoad...
- 80后们的十个人生底线 (80后请务必要看看!)
- 设计模式之工厂模式Factory
- 缺陷跟踪
- photoshop快捷键汇总
- expect安装编译方法
- [译]OOSE第3章:面向对象知识入门 3.2 Object
- 网站测试基本方法-8. 网站功能测试总结
- C++ efficiency
- sql server 2005 错误: 对象名 “xxx”无效【已测】
- 从本地和远程复制文件java 代码
- C++运算符优先级学习
- wince映像创建过程
- 在linux内核程序中支持proc文件系统