source: general/prog/tcl.xml@ 6732c094

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6732c094 was 6732c094, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6716 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY tcl-download-http "http://downloads.sourceforge.net/tcl/tcl&tcl-version;-src.tar.gz">
8 <!ENTITY tcl-download-ftp " ">
9 <!-- <!ENTITY tcl-download-ftp "ftp://ftp.us.xemacs.org/pub/tcl/tcl8_4/tcl&tcl-version;-src.tar.gz"> -->
10 <!ENTITY tcl-md5sum "51c6bf74d3ffdb0bd866ecdac6ff6460">
11 <!ENTITY tcl-size "3.5 MB">
12 <!ENTITY tcl-buildsize "25 MB">
13 <!ENTITY tcl-time "0.3 SBU (additional 0.7 SBU to run the test suite)">
14 <!-- Ensure this is updated when Tcl moves to the 8.5.x branch -->
15 <!ENTITY tcl-ver "8.4">
16 <!-- Ensure the above is updated when Tcl moves to the 8.5.x branch -->
17]>
18
19<sect1 id="tcl" xreflabel="Tcl-&tcl-version;">
20 <?dbhtml filename="tcl.html"?>
21
22 <sect1info>
23 <othername>$LastChangedBy$</othername>
24 <date>$Date$</date>
25 </sect1info>
26
27 <title>Tcl-&tcl-version;</title>
28
29 <indexterm zone="tcl">
30 <primary sortas="a-Tcl">Tcl</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Tcl</title>
35
36 <para>The <application>Tcl</application> package contains the Tool Command
37 Language, a robust general-purpose scripting language.</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&tcl-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&tcl-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &tcl-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &tcl-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &tcl-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &tcl-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <para condition="html" role="usernotes">User Notes:
62 <ulink url="&blfs-wiki;/tcl"/></para>
63
64 </sect2>
65
66 <sect2 role="installation">
67 <title>Installation of Tcl</title>
68
69 <note>
70 <para>This package is also installed in LFS during the bootstrap phase.
71 As it is not installed during Chapter 6 of LFS, installation instructions
72 are included here in BLFS.</para>
73 </note>
74
75 <para>Install <application>Tcl</application> by running the following
76 commands:</para>
77
78<!-- This is removed per discussion and fairly vigorous testing
79sed -i -e "s:${PWD}:/usr/lib:" \
80 -e "s:$(dirname ${PWD}):/usr/include/tcl&tcl-ver;:" \
81 -e "/TCL_LIB_FILE/ s:':\":g" \
82 tclConfig.sh
83-->
84
85<screen><userinput>cd unix &amp;&amp;
86./configure --prefix=/usr --enable-threads &amp;&amp;
87make</userinput></screen>
88
89 <para>To test the results, issue: <command>make test</command>.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install &amp;&amp;
94make install-private-headers &amp;&amp;
95ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh</userinput></screen>
96
97<!-- This is removed per discussion and fairly vigorous testing
98install -v -d /usr/include/tcl&tcl-ver;/{unix,generic} &amp;&amp;
99install -v -m644 *.h /usr/include/tcl&tcl-ver;/unix/ &amp;&amp;
100install -v -m644 ../generic/*.h /usr/include/tcl&tcl-ver;/generic/ &amp;&amp;
101rm -v -f /usr/include/tcl&tcl-ver;/generic/tcl{,{,Plat}Decls}.h &amp;&amp;
102ln -v -nsf ../../include/tcl&tcl-ver; /usr/lib/tcl&tcl-ver;/include &amp;&amp;
103ln -v -sf libtcl&tcl-ver;.so /usr/lib/libtcl.so &amp;&amp;
104-->
105
106 </sect2>
107
108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
111 <para><parameter>--enable-threads</parameter>: This switch forces the package
112 to build with thread support.</para>
113
114 <para><command>make install-private-headers</command>: This command is
115 used to install the <application>Tcl</application> library interface
116 headers used by other packages if they link to the
117 <application>Tcl</application> library.</para>
118
119 <para><command>ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh</command>: This
120 command is used to create a compatibility symbolic link to the
121 <command>tclsh&tcl-ver;</command> file as many packages expect a file
122 named <command>tclsh</command>.</para>
123
124 <!-- This is removed per discussion and fairly vigorous testing
125 <para><command>sed -i -e ... tclConfig.sh</command>: The
126 <application>Tcl</application> package expects that its source tree is
127 preserved so that packages depending on it for their compilation
128 can utilize it. This <command>sed</command> removes the references to the
129 build directory and replaces them with saner system-wide locations.</para>
130
131 <para><command>install ...</command>: These commands install the internal
132 headers into a system-wide location.</para>
133
134 <para><command>ln -v -sf ...</command>: These commands create compatibility
135 symbolic links.</para>
136 -->
137
138 </sect2>
139
140 <sect2 role="content">
141 <title>Contents</title>
142
143 <segmentedlist>
144 <segtitle>Installed Programs</segtitle>
145 <segtitle>Installed Libraries</segtitle>
146 <segtitle>Installed Directories</segtitle>
147
148 <seglistitem>
149 <seg>tclsh and tclsh&tcl-ver;</seg>
150 <seg>libtcl.so and libtclstub&tcl-ver;.a</seg>
151 <seg>/usr/lib/tcl&tcl-ver;</seg>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="tclsh">
161 <term><command>tclsh</command></term>
162 <listitem>
163 <para> is a symlink to the <command>tclsh&tcl-ver;</command>
164 program.</para>
165 <indexterm zone="tcl tclsh">
166 <primary sortas="g-tclsh">tclsh</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="tclsh-eight">
172 <term><command>tclsh&tcl-ver;</command></term>
173 <listitem>
174 <para> is a simple shell containing the
175 <application>Tcl</application> interpreter.</para>
176 <indexterm zone="tcl tclsh-eight">
177 <primary sortas="b-tclsh&tcl-ver;">tclsh&tcl-ver;</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="libtcl">
183 <term><filename role="library">libtcl.so</filename></term>
184 <listitem>
185 <para>contains the API functions required
186 by <application>Tcl</application>.</para>
187 <indexterm zone="tcl libtcl">
188 <primary sortas="c-libtcl">libtcl.so</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.