Installation of Expect
patch -Np1 -i ../expect-&expect-version;.patch
CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 --with-tcl=/stage1/lib \
--with-x=no --disable-symbols --cache-file=/dev/null
make LDFLAGS="-s"
make test
make install
You can remove the tcl&tcl-version; directory now as well as the
expect directory.