2003-05-02 19:20:20 +01:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2003-09-17 23:00:37 +01:00
|
|
|
<title>Installation of Tcl</title>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2003-09-12 02:53:12 +01:00
|
|
|
<para>This package and the next two are only installed to be able to run the
|
|
|
|
test suites for GCC and Binutils. Installing three packages just for testing
|
|
|
|
purposes may seem like overkill, but it is very reassuring, if not essential,
|
|
|
|
to know that our most important tools are working properly.</para>
|
2003-08-08 23:38:16 +01:00
|
|
|
|
|
|
|
<para>Prepare Tcl to be compiled:</para>
|
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
<para><screen><userinput>cd unix
|
2003-09-02 23:03:51 +01:00
|
|
|
./configure --prefix=/tools</userinput></screen></para>
|
2003-08-08 23:38:16 +01:00
|
|
|
|
2003-09-17 23:00:37 +01:00
|
|
|
<para>Build the package:</para>
|
2003-08-08 23:38:16 +01:00
|
|
|
|
2003-09-11 21:07:44 +01:00
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
2003-08-08 23:38:16 +01:00
|
|
|
|
2003-09-21 08:31:01 +01:00
|
|
|
<para>This package has a test suite available which can perform a number of
|
2003-09-11 21:07:44 +01:00
|
|
|
checks to ensure it built correctly. Should you choose to run it, the
|
|
|
|
following command will do so:</para>
|
|
|
|
|
2003-09-22 20:03:48 +01:00
|
|
|
<para><screen><userinput>TZ=UTC make test</userinput></screen></para>
|
2003-09-11 21:07:44 +01:00
|
|
|
|
2003-09-21 08:31:01 +01:00
|
|
|
<para>Sometimes, package test suites will give false failures. You can
|
2003-09-11 21:07:44 +01:00
|
|
|
consult the LFS Wiki at <ulink url="http://wiki.linuxfromscratch.org"/>
|
|
|
|
to verify that these failures are normal. This applies to all tests
|
|
|
|
throughout the book.</para>
|
|
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
2003-08-08 23:38:16 +01:00
|
|
|
|
|
|
|
<para>Make a link:</para>
|
2003-09-02 23:03:51 +01:00
|
|
|
<para><screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen></para>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2003-09-11 21:07:44 +01:00
|
|
|
<caution><para>Do not remove the
|
2003-08-11 23:49:50 +01:00
|
|
|
<filename>tcl&tcl-version;</filename> source directory yet, as the next package
|
2003-09-02 22:59:46 +01:00
|
|
|
will need its internal headers.</para></caution>
|
2003-05-06 23:53:37 +01:00
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
</sect2>
|
|
|
|
|