expect-inst.xml 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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-patch-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=/tools --with-tcl=/tools/lib --with-x=no</userinput></screen></para>
  10. <para>Build the package:</para>
  11. <para><screen><userinput>make</userinput></screen></para>
  12. <para>This package has a testsuite available which can perform a number of
  13. checks to ensure it built correctly. Should you choose to run it, the
  14. following command will do so:</para>
  15. <para><screen><userinput>make test</userinput></screen></para>
  16. <para>And install:</para>
  17. <para><screen><userinput>make install</userinput></screen></para>
  18. <para>You can now remove the source directories of both Tcl and Expect.</para>
  19. </sect2>