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