tcl.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <sect1 id="ch-tools-tcl" xreflabel="Tcl">
  2. <title>Installing Tcl-&tcl-version;</title>
  3. <?dbhtml filename="tcl.html" dir="chapter05"?>
  4. <para>The Tcl package contains the Tool Command Language.</para>
  5. <screen>&buildtime; &tcl-time-tools;
  6. &diskspace; &tcl-compsize-tools;</screen>
  7. &aa-tcl-down;
  8. &aa-tcl-dep;
  9. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  10. <sect2>
  11. <title>Installation of Tcl</title>
  12. <para>This package and the next two are only installed to be able to run the
  13. test suites for GCC and Binutils. Installing three packages just for testing
  14. purposes may seem like overkill, but it is very reassuring, if not essential,
  15. to know that our most important tools are working properly. Even if you are
  16. not running the test suites here in this chapter as per our recommendation,
  17. these packages are still required for running the test suites in the next
  18. chapter.</para>
  19. <para>Prepare Tcl for compilation:</para>
  20. <screen><userinput>cd unix
  21. ./configure --prefix=/tools</userinput></screen>
  22. <para>Build the package:</para>
  23. <screen><userinput>make</userinput></screen>
  24. <para>(If you insist on testing the results, then issue:
  25. <userinput>TZ=UTC make test</userinput>. However, the Tcl test suite is known
  26. to experience failures under certain host conditions that are not fully
  27. understood. Therefore, test suite failures here are not surprising, and are not
  28. considered critical. The <emphasis>TZ=UTC</emphasis> parameter sets the time
  29. zone to Coordinated Universal Time (UTC) also known as Greenwich Mean Time
  30. (GMT), but only for the duration of the test suite run. This ensures the clock
  31. tests are exercised correctly. More information on the TZ environment variable
  32. will be given later on in <xref linkend="chapter-bootscripts"/>.)</para>
  33. <para>Install the package:</para>
  34. <screen><userinput>make install</userinput></screen>
  35. <!-- HACK - Force some whitespace to appease tidy -->
  36. <literallayout></literallayout>
  37. <warning><para><emphasis>Do not remove</emphasis> the
  38. <filename>tcl&tcl-version;</filename> source directory yet, as the next package
  39. will need its internal headers.</para></warning>
  40. <!-- HACK - Force some whitespace to appease tidy -->
  41. <literallayout></literallayout>
  42. <para>And make a necessary symbolic link:</para>
  43. <screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
  44. </sect2>
  45. &aa-tcl-shortdesc;
  46. &aa-tcl-desc;
  47. </sect1>