Expect
From CBLFS
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