Difference between revisions of "Expect"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://expect.nist.gov/old/expect- | + | | http://expect.nist.gov/old/expect-{{Expect-Version}}.tar.gz |
|- | |- | ||
!Download Patch: | !Download Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/expect/expect- | + | | http://svn.cross-lfs.org/svn/repos/patches/expect/expect-{{Expect-Version}}-config_update-1.patch |
|- | |- | ||
!Download Patch: | !Download Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/expect/expect- | + | | http://svn.cross-lfs.org/svn/repos/patches/expect/expect-{{Expect-Version}}-spawn-2.patch |
|} | |} | ||
Line 28: | Line 28: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../expect- | + | patch -Np1 -i ../expect-{{Expect-Version}}-config_update-1.patch && |
− | patch -Np1 -i ../expect- | + | patch -Np1 -i ../expect-{{Expect-Version}}-spawn-2.patch && |
./configure --prefix=/usr --enable-shared \ | ./configure --prefix=/usr --enable-shared \ | ||
--with-tclinclude=/usr/include && | --with-tclinclude=/usr/include && | ||
Line 44: | Line 44: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../expect- | + | patch -Np1 -i ../expect-{{Expect-Version}}-config_update-1.patch && |
− | patch -Np1 -i ../expect- | + | patch -Np1 -i ../expect-{{Expect-Version}}-spawn-2.patch && |
CC="gcc ${BUILD32}" USE_ARCH=32 \ | CC="gcc ${BUILD32}" USE_ARCH=32 \ | ||
./configure --prefix=/usr --enable-shared \ | ./configure --prefix=/usr --enable-shared \ | ||
Line 61: | Line 61: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../expect- | + | patch -Np1 -i ../expect-{{Expect-Version}}-config_update-1.patch && |
− | patch -Np1 -i ../expect- | + | patch -Np1 -i ../expect-{{Expect-Version}}-spawn-2.patch && |
CC="gcc ${BUILDN32}" USE_ARCH=n32 \ | CC="gcc ${BUILDN32}" USE_ARCH=n32 \ | ||
./configure --prefix=/usr --enable-shared \ | ./configure --prefix=/usr --enable-shared \ | ||
Line 79: | Line 79: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../expect- | + | patch -Np1 -i ../expect-{{Expect-Version}}-config_update-1.patch && |
− | patch -Np1 -i ../expect- | + | patch -Np1 -i ../expect-{{Expect-Version}}-spawn-2.patch && |
CC="gcc ${BUILD64}" USE_ARCH=64 \ | CC="gcc ${BUILD64}" USE_ARCH=64 \ | ||
./configure --prefix=/usr --enable-shared \ | ./configure --prefix=/usr --enable-shared \ |
Revision as of 14:21, 17 December 2006
Contents
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