Expect

From CBLFS
Revision as of 15:48, 6 November 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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

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-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-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-tclinclude=/usr/include &&
make

Install the package

make install