tcl.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-tcl" role="wrap">
  7. <title>Tcl-&tcl-version;</title>
  8. <?dbhtml filename="tcl.html"?>
  9. <indexterm zone="ch-tools-tcl"><primary sortas="a-Tcl">Tcl</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <para>The Tcl package contains the Tool Command Language.</para>
  12. <segmentedlist>
  13. <segtitle>&buildtime;</segtitle>
  14. <segtitle>&diskspace;</segtitle>
  15. <seglistitem><seg>0.9 SBU</seg><seg>23 MB</seg></seglistitem>
  16. </segmentedlist>
  17. <segmentedlist>
  18. <segtitle>&dependencies;</segtitle>
  19. <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
  20. GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
  21. </segmentedlist>
  22. </sect2>
  23. <sect2 role="installation">
  24. <title>Installation of Tcl</title>
  25. <para>This package and the next two (Expect and DejaGNU) are
  26. installed to support running the test suites for GCC and Binutils.
  27. Installing three packages for testing purposes may seem excessive, but
  28. it is very reassuring, if not essential, to know that the most
  29. important tools are working properly. Even if the test suites are not
  30. run in this chapter (they are not mandatory), these packages
  31. are required to run the test suites in <xref
  32. linkend="chapter-building-system"/>.</para>
  33. <para>Prepare Tcl for compilation:</para>
  34. <screen><userinput>cd unix
  35. ./configure --prefix=/tools</userinput></screen>
  36. <para>Build the package:</para>
  37. <screen><userinput>make</userinput></screen>
  38. <para>To test the results, issue: <userinput>TZ=UTC make
  39. test</userinput>. The Tcl test suite is known to experience failures
  40. under certain host conditions that are not fully understood.
  41. Therefore, test suite failures here are not surprising, and are not
  42. considered critical. The <parameter>TZ=UTC</parameter> parameter sets
  43. the time zone to Coordinated Universal Time (UTC), also known as
  44. Greenwich Mean Time (GMT), but only for the duration of the test suite
  45. run. This ensures that the clock tests are exercised correctly.
  46. Details on the <envar>TZ</envar> environment variable is provided in
  47. <xref linkend="chapter-bootscripts"/>.</para>
  48. <para>Install the package:</para>
  49. <screen><userinput>make install</userinput></screen>
  50. <warning><para><emphasis>Do not</emphasis> remove the
  51. <filename class="directory">tcl&tcl-version;</filename> source directory yet, as the next package
  52. will need its internal headers.</para></warning>
  53. <para>Now make a necessary symbolic link:</para>
  54. <screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
  55. </sect2>
  56. <sect2 id="contents-tcl" role="content"><title>Contents of Tcl</title>
  57. <segmentedlist>
  58. <segtitle>Installed programs</segtitle>
  59. <segtitle>Installed library</segtitle>
  60. <seglistitem><seg>tclsh (link to tclsh8.4) and tclsh8.4</seg><seg>libtcl8.4.so</seg></seglistitem>
  61. </segmentedlist>
  62. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  63. <?dbfo list-presentation="list"?>
  64. <?dbhtml list-presentation="table"?>
  65. <varlistentry id="tclsh8.4">
  66. <term><command>tclsh8.4</command></term>
  67. <listitem>
  68. <para>The Tcl command shell</para>
  69. <indexterm zone="ch-tools-tcl tclsh8.4"><primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm>
  70. </listitem>
  71. </varlistentry>
  72. <varlistentry id="tclsh">
  73. <term><command>tclsh</command></term>
  74. <listitem>
  75. <para>A link to tclsh8.4</para>
  76. <indexterm zone="ch-tools-tcl tclsh"><primary sortas="b-tclsh">tclsh</primary></indexterm>
  77. </listitem>
  78. </varlistentry>
  79. <varlistentry id="libtcl8.4.so">
  80. <term><filename class="libraryfile">libtcl8.4.so</filename></term>
  81. <listitem>
  82. <para>The Tcl library</para>
  83. <indexterm zone="ch-tools-tcl libtcl8.4.so"><primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary></indexterm>
  84. </listitem>
  85. </varlistentry>
  86. </variablelist>
  87. </sect2>
  88. </sect1>