source: chapter05/tcl-inst.xml@ 0594698

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_0 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 0594698 was 0594698, checked in by Greg Schafer <greg@…>, 21 years ago

Add some whitespace adjustments.

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

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
2
3<sect2>
4<title>Installation of Tcl</title>
5
6<para>This package and the next two are only installed to be able to run the
7test suites for GCC and Binutils. Installing three packages just for testing
8purposes may seem like overkill, but it is very reassuring, if not essential,
9to know that our most important tools are working properly.</para>
10
11<para>Prepare Tcl to be compiled:</para>
12
13<screen><userinput>cd unix
14./configure --prefix=/tools</userinput></screen>
15
16<para>Build the package:</para>
17
18<screen><userinput>make</userinput></screen>
19
20<para>This package has a test suite available which can perform a number of
21checks to ensure it built correctly. However, the Tcl test suite here in
22Chapter 5 is known to experience failures under certain host conditions that
23are not fully understood. Therefore, test suite failures here are not
24surprising, but are not considered critical. Should you choose to run the test
25suite, the following command will do so:</para>
26
27<screen><userinput>TZ=UTC make test</userinput></screen>
28
29<para>The meaning of the make option:</para>
30
31<itemizedlist>
32<listitem><para><userinput>TZ=UTC</userinput>: This sets the time zone to
33Coordinated Universal Time (UTC) also known as Greenwich Mean Time (GMT), but
34only for the duration of the test suite run. This ensures the clock tests are
35exercised correctly. More information on the TZ environment variable is
36available later on in Chapter 7.</para></listitem>
37</itemizedlist>
38
39<para>Sometimes, package test suites will give false failures. You can
40consult the LFS Wiki at <ulink url="http://wiki.linuxfromscratch.org/"/>
41to verify that these failures are normal. This applies to all tests
42throughout the book.</para>
43
44<para>Install the package:</para>
45
46<screen><userinput>make install</userinput></screen>
47
48<para>Make a necessary symbolic link:</para>
49
50<screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
51
52<!-- HACK - Force some whitespace to appease tidy -->
53<literallayout></literallayout>
54
55<caution><para>Do not remove the
56<filename>tcl&tcl-version;</filename> source directory yet, as the next package
57will need its internal headers.</para></caution>
58
59</sect2>
60
Note: See TracBrowser for help on using the repository browser.