expect-inst.xml 845 B

1234567891011121314151617181920212223242526272829
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Expect</title>
  4. <para>First apply a patch:</para>
  5. <para><screen><userinput>patch -Np1 -i ../expect-&expect-version;.patch</userinput></screen></para>
  6. <para>This fixes a bug in Expect that can result in bogus failures during the
  7. GCC test suite run.</para>
  8. <para>Now prepare Expect to be compiled:</para>
  9. <para><screen><userinput>./configure --prefix=/stage1 --with-tcl=/stage1/lib --with-x=no</userinput></screen></para>
  10. <para>Build, test, and install the package:</para>
  11. <para><screen><userinput>make
  12. make test
  13. make install</userinput></screen></para>
  14. <para>Note that also here some of the tests might fail, and that this is not a
  15. problem here either.</para>
  16. <para>You can now remove the source directories of both Tcl and Expect.</para>
  17. </sect2>