source: general/prog/tcl.xml@ 5a464e4d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 5a464e4d was 5a464e4d, checked in by Randy McMurchy <randy@…>, 11 years ago

Minor changes to various packages

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

  • Property mode set to 100644
File size: 7.9 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-repo;/tcl/tcl&tcl-version;-src.tar.gz">
8 <!ENTITY tcl-download-ftp " ">
9 <!ENTITY tcl-md5sum "573aa5fe678e9185ef2b3c56b24658d3">
10 <!ENTITY tcl-size "8.3 MB">
11 <!ENTITY tcl-buildsize "80 MB (includes documentation installation)">
12 <!ENTITY tcl-time "0.5 SBU">
13
14 <!ENTITY tcl-doc-download "&sourceforge-repo;/tcl/tcl&tcl-version;-html.tar.gz">
15 <!ENTITY tcl-doc-md5sum "e53baf609df8b55f091c258886b6f994">
16 <!ENTITY tcl-doc-size "913 KB">
17
18 <!-- Ensure this is updated when Tcl moves from the 8.6.x branch -->
19 <!ENTITY tcl-ver "8.6">
20]>
21
22<sect1 id="tcl" xreflabel="Tcl-&tcl-version;">
23 <?dbhtml filename="tcl.html"?>
24
25 <sect1info>
26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
28 </sect1info>
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 &lfs72_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>cd unix &amp;&amp;
127./configure --prefix=/usr \
128 --mandir=/usr/share/man \
129 $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
130make &amp;&amp;
131
132sed -e "s@^\(TCL_SRC_DIR='\).*@\1/usr/include'@" \
133 -e "/TCL_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
134 -i tclConfig.sh</userinput></screen>
135
136 <para>
137 To test the results, issue: <command>make test</command>.
138 </para>
139
140 <para>
141 Now, as the <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"><userinput>make install &amp;&amp;
145make install-private-headers &amp;&amp;
146ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh &amp;&amp;
147chmod -v 755 /usr/lib/libtcl&tcl-ver;.so</userinput></screen>
148
149 <para>
150 If you downloaded the optional documentation, install it by issuing
151 the following commands as the
152 <systemitem class="username">root</systemitem> user:
153 </para>
154
155<screen role="root"><userinput>mkdir -v -p /usr/share/doc/tcl-&tcl-version; &amp;&amp;
156cp -v -r ../html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
157
158 </sect2>
159
160 <sect2 role="commands">
161 <title>Command Explanations</title>
162
163 <para>
164 <parameter>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
165 --enable-64bit)</parameter>: This switch is used to enable 64 bit
166 support in <application>Tcl</application> on 64 bit operating
167 systems.
168 </para>
169
170 <para>
171 <command>make install-private-headers</command>: This command is
172 used to install the <application>Tcl</application> library interface
173 headers used by other packages if they link to the
174 <application>Tcl</application> library.
175 </para>
176
177 <para>
178 <command>ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh</command>: This
179 command is used to create a compatibility symbolic link to the
180 <command>tclsh&tcl-ver;</command> file as many packages expect a file
181 named <command>tclsh</command>.
182 </para>
183
184 <para>
185 <command>sed -e ... tclConfig.sh</command>: The
186 <application>Tcl</application> package expects that its source tree is
187 preserved so that packages depending on it for their compilation
188 can utilize it. This <command>sed</command> removes the references to the
189 build directory and replaces them with saner system-wide locations.
190 </para>
191
192 </sect2>
193
194 <sect2 role="content">
195 <title>Contents</title>
196
197 <segmentedlist>
198 <segtitle>Installed Programs</segtitle>
199 <segtitle>Installed Libraries</segtitle>
200 <segtitle>Installed Directories</segtitle>
201
202 <seglistitem>
203 <seg>
204 tclsh and tclsh&tcl-ver;
205 </seg>
206 <seg>
207 libtcl&tcl-ver;.so and libtclstub&tcl-ver;.a
208 </seg>
209 <seg>
210 /usr/lib/tcl8,
211 /usr/lib/thread2.7.0,
212 /usr/lib/tdbcodbc1.0.0,
213 /usr/lib/tdbc1.0.0,
214 /usr/lib/sqlite3.7.15.1,
215 /usr/lib/tdbcpostgres1.0.0,
216 /usr/lib/tcl&tcl-ver;,
217 /usr/lib/tdbcmysql1.0.0,
218 /usr/lib/itcl4.0.0,
219 /usr/share/man/mann and optionaly
220 /usr/share/doc/&tcl-version;
221 </seg>
222 </seglistitem>
223 </segmentedlist>
224
225 <variablelist>
226 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
227 <?dbfo list-presentation="list"?>
228 <?dbhtml list-presentation="table"?>
229
230 <varlistentry id="tclsh">
231 <term><command>tclsh</command></term>
232 <listitem>
233 <para>
234 is a symlink to the <command>tclsh&tcl-ver;</command> program.
235 </para>
236 <indexterm zone="tcl tclsh">
237 <primary sortas="b-tclsh">tclsh</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="tclsh-eight">
243 <term><command>tclsh&tcl-ver;</command></term>
244 <listitem>
245 <para>
246 is a simple shell containing the
247 <application>Tcl</application> interpreter.
248 </para>
249 <indexterm zone="tcl tclsh-eight">
250 <primary sortas="b-tclsh&tcl-ver;">tclsh&tcl-ver;</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="libtcl">
256 <term><filename class="libraryfile">libtcl&tcl-ver;.so</filename></term>
257 <listitem>
258 <para>
259 contains the API functions required by
260 <application>Tcl</application>.
261 </para>
262 <indexterm zone="tcl libtcl">
263 <primary sortas="c-libtcl">libtcl&tcl-ver;.so</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 </variablelist>
269
270 </sect2>
271
272</sect1>
Note: See TracBrowser for help on using the repository browser.