Installation of Expect patch -Np1 -i ../expect-&expect-version;.patch ./configure --prefix=/usr \     --with-x=no --disable-symbols --cache-file=/dev/null make make test make install You can now remove the tcl&tcl-version; as well as the expect-&expect-version; directories.