Linux From Scratch: Version 5.0-pre1
Prev | Chapter 5. Preparing the LFS system | Next

# Installing Expect-5.39.0

    Estimated build time:           0.1 SBU
    Estimated required disk space:  24 MB

##

## Installation of Expect

First apply a patch:

    patch -Np1 -i ../expect-5.39.0.patch

This fixes a bug in Expect that can result in bogus failures during the GCC test suite run.

Now prepare Expect to be compiled:

    ./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no

Build the package:

    make

This package has a testsuite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so:

    make test

And install:

    make install

You can now remove the source directories of both Tcl and Expect.

Prev | Home | Next
Installing Tcl-8.4.4 | Up | Installing DejaGnu-1.4.3