Difference between revisions of "Expect"

From CBLFS
Jump to navigationJump to search
(Multilib)
(I added the package description from BLFS.)
Line 12: Line 12:
  
 
----
 
----
 +
 +
== Introduction to Expect ==
 +
 +
The Expect package contains tools for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect is also useful for testing these same applications as well as easing all sorts of tasks that are prohibitively difficult with anything else.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 00:32, 4 December 2006

Download Source: http://expect.nist.gov/old/expect-5.43.0.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/expect/expect-5.43.0-config_update-1.patch
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/expect/expect-5.43.0-spawn-2.patch

Introduction to Expect

The Expect package contains tools for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect is also useful for testing these same applications as well as easing all sorts of tasks that are prohibitively difficult with anything else.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

patch -Np1 -i ../expect-5.43.0-config_update-1.patch &&
patch -Np1 -i ../expect-5.43.0-spawn-2.patch &&
./configure --prefix=/usr --enable-shared \
    --with-tclinclude=/usr/include &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../expect-5.43.0-config_update-1.patch &&
patch -Np1 -i ../expect-5.43.0-spawn-2.patch &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --enable-shared \
    --with-tcl=/usr/lib \
    --with-tk=/usr/lib \
    --with-tclinclude=/usr/include &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../expect-5.43.0-config_update-1.patch &&
patch -Np1 -i ../expect-5.43.0-spawn-2.patch &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --enable-shared \
    --libdir=/usr/lib32 \
    --with-tcl=/usr/lib32 \
    --with-tk=/usr/lib32 \
    --with-tclinclude=/usr/include &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../expect-5.43.0-config_update-1.patch &&
patch -Np1 -i ../expect-5.43.0-spawn-2.patch &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --enable-shared \
    --libdir=/usr/lib64 \
    --with-tcl=/usr/lib64 \
    --with-tk=/usr/lib64 \
    --with-tclinclude=/usr/include &&
make

Install the package

make install
Retrieved from "?title=Expect&oldid=4315"