source: archive/tcl.xml@ 3f2db3a6

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3f2db3a6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 9.3 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 "&sourceforge-dl;/tcl/tcl&tcl-version;-src.tar.gz">
8 <!ENTITY tcl-download-ftp " ">
9 <!ENTITY tcl-md5sum "97c55573f8520bcab74e21bfd8d0aadc">
10 <!ENTITY tcl-size "9.7 MB">
11 <!ENTITY tcl-buildsize "67 MB (including html documentation)">
12 <!ENTITY tcl-time "0.7 SBU (add 2.7 SBU for tests)">
13
14 <!ENTITY tcl-doc-download "&sourceforge-dl;/tcl/tcl&tcl-version;-html.tar.gz">
15 <!ENTITY tcl-doc-md5sum "a012711241ba3a5bd4a04e833001d489">
16 <!ENTITY tcl-doc-size "1.2 MB">
17
18 <!-- Ensure this is updated when Tcl moves from the 8.6.x branch -->
19 <!ENTITY tcl-ver "8.6">
20 <!ENTITY tdbc-ver "1.1.1">
21 <!ENTITY itcl-ver "4.2.0">
22 <!ENTITY thread-ver "2.8.5">
23 <!ENTITY sqlite3-ver "3.30.1.2">
24]>
25
26<sect1 id="tcl" xreflabel="Tcl-&tcl-version;">
27 <?dbhtml filename="tcl.html"?>
28
29
30 <title>Tcl-&tcl-version;</title>
31
32 <indexterm zone="tcl">
33 <primary sortas="a-Tcl">Tcl</primary>
34 </indexterm>
35
36 <sect2 role="package">
37 <title>Introduction to Tcl</title>
38
39 <para>
40 The <application>Tcl</application> package contains the Tool Command
41 Language, a robust general-purpose scripting language.
42 </para>
43
44 &lfs91_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&tcl-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&tcl-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &tcl-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &tcl-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &tcl-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &tcl-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
81 <itemizedlist spacing="compact">
82 <title>Optional Documentation</title>
83 <listitem>
84 <para>
85 Download (HTTP): <ulink url="&tcl-doc-download;"/>
86 </para>
87 </listitem>
88 <listitem>
89 <para>
90 Download MD5 sum: &tcl-doc-md5sum;
91 </para>
92 </listitem>
93 <listitem>
94 <para>
95 Download size: &tcl-doc-size;
96 </para>
97 </listitem>
98 </itemizedlist>
99
100 <para condition="html" role="usernotes">User Notes:
101 <ulink url="&blfs-wiki;/tcl"/>
102 </para>
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of Tcl</title>
107
108 <para>
109 This package is also installed in LFS during the bootstrap phase.
110 As it is not installed during Chapter 6 of LFS, installation instructions
111 are included here in BLFS.
112 </para>
113
114 <para>
115 If you downloaded the optional documentation, unpack the tarball
116 by issuing the following command:
117 </para>
118
119<screen><userinput>tar -xf ../tcl&tcl-version;-html.tar.gz --strip-components=1</userinput></screen>
120
121 <para>
122 Install <application>Tcl</application> by running the following
123 commands:
124 </para>
125
126<screen><userinput>export SRCDIR=`pwd` &amp;&amp;
127
128cd unix &amp;&amp;
129
130./configure --prefix=/usr \
131 --mandir=/usr/share/man \
132 $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
133make &amp;&amp;
134
135sed -e "s#$SRCDIR/unix#/usr/lib#" \
136 -e "s#$SRCDIR#/usr/include#" \
137 -i tclConfig.sh &amp;&amp;
138
139sed -e "s#$SRCDIR/unix/pkgs/tdbc&tdbc-ver;#/usr/lib/tdbc&tdbc-ver;#" \
140 -e "s#$SRCDIR/pkgs/tdbc&tdbc-ver;/generic#/usr/include#" \
141 -e "s#$SRCDIR/pkgs/tdbc&tdbc-ver;/library#/usr/lib/tcl8.6#" \
142 -e "s#$SRCDIR/pkgs/tdbc&tdbc-ver;#/usr/include#" \
143 -i pkgs/tdbc&tdbc-ver;/tdbcConfig.sh &amp;&amp;
144
145sed -e "s#$SRCDIR/unix/pkgs/itcl&itcl-ver;#/usr/lib/itcl&itcl-ver;#" \
146 -e "s#$SRCDIR/pkgs/itcl&itcl-ver;/generic#/usr/include#" \
147 -e "s#$SRCDIR/pkgs/itcl&itcl-ver;#/usr/include#" \
148 -i pkgs/itcl&itcl-ver;/itclConfig.sh &amp;&amp;
149
150unset SRCDIR</userinput></screen>
151
152
153 <para>
154 To test the results, issue: <command>make test</command>.
155 <!-- Tests known to fail: cmdAH.test and tdbcodbc.test. 8.6.9: No
156 failures -->
157 </para>
158
159 <para>
160 Now, as the <systemitem class="username">root</systemitem> user:
161 </para>
162
163<screen role="root"><userinput>make install &amp;&amp;
164make install-private-headers &amp;&amp;
165ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh &amp;&amp;
166chmod -v 755 /usr/lib/libtcl&tcl-ver;.so</userinput></screen>
167
168 <para>
169 If you downloaded the optional documentation, install it by issuing
170 the following commands as the
171 <systemitem class="username">root</systemitem> user:
172 </para>
173
174<screen role="root"><userinput>mkdir -v -p /usr/share/doc/tcl-&tcl-version; &amp;&amp;
175cp -v -r ../html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
176
177 </sect2>
178
179 <sect2 role="commands">
180 <title>Command Explanations</title>
181
182 <para>
183 <parameter>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
184 --enable-64bit)</parameter>: This switch is used to enable 64 bit
185 support in <application>Tcl</application> on 64 bit operating
186 systems.
187 </para>
188
189 <para>
190 <command>make install-private-headers</command>: This command is
191 used to install the <application>Tcl</application> library interface
192 headers used by other packages if they link to the
193 <application>Tcl</application> library.
194 </para>
195
196 <para>
197 <command>ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh</command>: This
198 command is used to create a compatibility symbolic link to the
199 <command>tclsh&tcl-ver;</command> file as many packages expect a file
200 named <command>tclsh</command>.
201 </para>
202
203 <para>
204 <command>sed -e ...</command>: The <application>Tcl</application> package
205 expects that its source tree is preserved so that packages depending on
206 it for their compilation can utilize it. These <command>sed</command>
207 remove the references to the build directory and replace them with saner
208 system-wide locations.
209 </para>
210
211 </sect2>
212
213 <sect2 role="content">
214 <title>Contents</title>
215
216 <segmentedlist>
217 <segtitle>Installed Programs</segtitle>
218 <segtitle>Installed Libraries</segtitle>
219 <segtitle>Installed Directories</segtitle>
220
221 <seglistitem>
222 <seg>
223 sqlite3_analyzer, tclsh, and tclsh&tcl-ver;
224 </seg>
225 <seg>
226 libtcl&tcl-ver;.so and libtclstub&tcl-ver;.a
227 </seg>
228 <seg>
229 /usr/lib/itcl&itcl-ver;,
230 /usr/lib/sqlite&sqlite3-ver;
231 /usr/lib/tcl8,
232 /usr/lib/tcl&tcl-ver;,
233 /usr/lib/tdbc&tdbc-ver;,
234 /usr/lib/tdbcmysql&tdbc-ver;,
235 /usr/lib/tdbcodbc&tdbc-ver;,
236 /usr/lib/tdbcpostgres&tdbc-ver;,
237 /usr/lib/thread&thread-ver;,
238 /usr/share/doc/tcl-&tcl-version;, and
239 /usr/share/man/mann
240 </seg>
241 </seglistitem>
242 </segmentedlist>
243
244 <variablelist>
245 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
246 <?dbfo list-presentation="list"?>
247 <?dbhtml list-presentation="table"?>
248
249 <varlistentry id="sqlite3_analyzer">
250 <term><command>sqlite3_analyzer</command></term>
251 <listitem>
252 <para>
253 is a program to analyze sqlite3 database files and output a report
254 that gives information on size and storage efficiency for the
255 database and it's tables and indexes.
256 </para>
257 <indexterm zone="tcl sqlite3_analyzer">
258 <primary sortas="b-sqlite3_analyzer">sqlite3_analyzer</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="tclsh">
264 <term><command>tclsh</command></term>
265 <listitem>
266 <para>
267 is a symlink to the <command>tclsh&tcl-ver;</command> program.
268 </para>
269 <indexterm zone="tcl tclsh">
270 <primary sortas="b-tclsh">tclsh</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="tclsh-eight">
276 <term><command>tclsh&tcl-ver;</command></term>
277 <listitem>
278 <para>
279 is a simple shell containing the
280 <application>Tcl</application> interpreter.
281 </para>
282 <indexterm zone="tcl tclsh-eight">
283 <primary sortas="b-tclsh&tcl-ver;">tclsh&tcl-ver;</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="libtcl">
289 <term><filename class="libraryfile">libtcl&tcl-ver;.so</filename></term>
290 <listitem>
291 <para>
292 contains the API functions required by
293 <application>Tcl</application>.
294 </para>
295 <indexterm zone="tcl libtcl">
296 <primary sortas="c-libtcl">libtcl&tcl-ver;.so</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
301 </variablelist>
302
303 </sect2>
304
305</sect1>
Note: See TracBrowser for help on using the repository browser.