Changeset 73aedd1d for chapter05/tcl.xml
- Timestamp:
- 11/01/2003 10:31:50 PM (21 years ago)
- Branches:
- 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
- Children:
- 49f4dd5
- Parents:
- 0b400add
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/tcl.xml
r0b400add r73aedd1d 8 8 &aa-tcl-shortdesc; 9 9 &aa-tcl-dep; 10 &c5-tcl-inst; 10 11 <sect2><title> </title><para> </para></sect2> 12 13 <sect2> 14 <title>Installation of Tcl</title> 15 16 <para>This package and the next two are only installed to be able to run the 17 test suites for GCC and Binutils. Installing three packages just for testing 18 purposes may seem like overkill, but it is very reassuring, if not essential, 19 to know that our most important tools are working properly.</para> 20 21 <para>Prepare Tcl to be compiled:</para> 22 23 <screen><userinput>cd unix 24 ./configure --prefix=/tools</userinput></screen> 25 26 <para>Build the package:</para> 27 28 <screen><userinput>make</userinput></screen> 29 30 <para>This package has a test suite available which can perform a number of 31 checks to ensure it built correctly. However, the Tcl test suite in this 32 chapter is known to experience failures under certain host conditions that are 33 not fully understood. Therefore, test suite failures here are not surprising, 34 but are not considered critical. Should you choose to run the test suite, the 35 following command will do so:</para> 36 37 <screen><userinput>TZ=UTC make test</userinput></screen> 38 39 <para>The meaning of the make option:</para> 40 41 <itemizedlist> 42 <listitem><para><userinput>TZ=UTC</userinput>: This sets the time zone to 43 Coordinated Universal Time (UTC) also known as Greenwich Mean Time (GMT), but 44 only for the duration of the test suite run. This ensures the clock tests are 45 exercised correctly. More information on the TZ environment variable is 46 available later on in <xref linkend="chapter07"/>.</para></listitem> 47 </itemizedlist> 48 49 <para>Sometimes, package test suites will give false failures. You can 50 consult the LFS Wiki at <ulink url="http://wiki.linuxfromscratch.org/"/> 51 to verify that these failures are normal. This applies to all tests 52 throughout the book.</para> 53 54 <para>Install the package:</para> 55 56 <screen><userinput>make install</userinput></screen> 57 58 <important><para><emphasis>Do not remove</emphasis> the 59 <filename>tcl&tcl-version;</filename> source directory yet, as the next package 60 will need its internal headers.</para></important> 61 62 <para>Make a necessary symbolic link:</para> 63 64 <screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen> 65 66 </sect2> 11 67 12 68 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.