Difference between revisions of "Expect"

From CBLFS
Jump to navigationJump to search
(64Bit)
(Multilib)
Line 45: Line 45:
 
  ./configure --prefix=/usr --enable-shared \
 
  ./configure --prefix=/usr --enable-shared \
 
     --with-tcl=/usr/lib \
 
     --with-tcl=/usr/lib \
 +
    --with-tk=/usr/lib \
 
     --with-tclinclude=/usr/include &&
 
     --with-tclinclude=/usr/include &&
 
  make
 
  make
Line 62: Line 63:
 
     --libdir=/usr/lib32 \
 
     --libdir=/usr/lib32 \
 
     --with-tcl=/usr/lib32 \
 
     --with-tcl=/usr/lib32 \
 +
    --with-tk=/usr/lib32 \
 
     --with-tclinclude=/usr/include &&
 
     --with-tclinclude=/usr/include &&
 
  make
 
  make

Revision as of 15:57, 6 November 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

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