source: chapter05/tcl.xml@ 3be4d97

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 3be4d97 was 3be4d97, checked in by Alex Gronenwoud <alex@…>, 20 years ago

Changing identifiers in preparation for moving sections.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3190 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.8 KB
Line 
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>&nbsp;</title><para>&nbsp;</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
19test suites for GCC and Binutils. Installing three packages just for testing
20purposes may seem like overkill, but it is very reassuring, if not essential,
21to know that our most important tools are working properly. Even if you are
22not running the test suites here in this chapter as per our recommendation,
23these packages are still required for the test suites in the next
24chapter.</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>As discussed earlier, we don't recommend running the test suites for the
36temporary tools here in this chapter. If you still want to run the Tcl test
37suite anyway, the following command will do so. However, you should be aware
38that the Tcl test suite is sometimes known to experience failures under certain
39host conditions that are not fully understood. Therefore, test suite failures
40here are not surprising, but are not considered critical:</para>
41
42<screen><userinput>TZ=UTC make test</userinput></screen>
43
44<para>The meaning of the make parameter:</para>
45
46<itemizedlist>
47<listitem><para><userinput>TZ=UTC</userinput>: This sets the time zone to
48Coordinated Universal Time (UTC) also known as Greenwich Mean Time (GMT), but
49only for the duration of the test suite run. This ensures the clock tests are
50exercised correctly. More information on the TZ environment variable will be
51given later on in <xref linkend="chapter07"/>.</para></listitem>
52</itemizedlist>
53
54<para>Sometimes package test suites will give false failures. You can
55consult the LFS Wiki at <ulink url="&wiki-root;"/> to verify that these
56failures are normal. This applies to all tests throughout the book.</para>
57
58<para>Install the package:</para>
59
60<screen><userinput>make install</userinput></screen>
61
62<!-- HACK - Force some whitespace to appease tidy -->
63<literallayout></literallayout>
64
65<warning><para><emphasis>Do not remove</emphasis> the
66<filename>tcl&tcl-version;</filename> source directory yet, as the next package
67will need its internal headers.</para></warning>
68
69<!-- HACK - Force some whitespace to appease tidy -->
70<literallayout></literallayout>
71
72<para>Make a necessary symbolic link:</para>
73
74<screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
75
76</sect2>
77
78&aa-tcl-shortdesc;
79&aa-tcl-desc;
80
81</sect1>
82
Note: See TracBrowser for help on using the repository browser.