source: general/prog/tcl.xml@ 94785a6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 94785a6 was e46ab85, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Fix md5sum

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

  • Property mode set to 100644
File size: 8.8 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[fce275e]7 <!ENTITY tcl-download-http "&sourceforge-repo;/tcl/tcl&tcl-version;-src.tar.gz">
[c786e55]8 <!ENTITY tcl-download-ftp " ">
[4efac57]9 <!ENTITY tcl-md5sum "db382feca91754b7f93da16dc4cdad1f">
[643ea8d7]10 <!ENTITY tcl-size "8.5 MB">
[4efac57]11 <!ENTITY tcl-buildsize "73 MB (includes documentation installation)(add 10MB for tests)">
12 <!ENTITY tcl-time "0.9 SBU (adittional 2.2 SBU for the tests)">
[4d62032]13
[5729aff]14 <!ENTITY tcl-doc-download "&sourceforge-repo;/tcl/tcl&tcl-version;-html.tar.gz">
[e46ab85]15 <!ENTITY tcl-doc-md5sum "912142f117a090e83e8ec3d771572191">
[1b3d6bd4]16 <!ENTITY tcl-doc-size "1.2 MB">
[5729aff]17
[82fac2c]18 <!-- Ensure this is updated when Tcl moves from the 8.6.x branch -->
19 <!ENTITY tcl-ver "8.6">
[52d29f7]20]>
21
[503b39f]22<sect1 id="tcl" xreflabel="Tcl-&tcl-version;">
[5cc1126a]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
[e8f7606]39 <para>
40 The <application>Tcl</application> package contains the Tool Command
41 Language, a robust general-purpose scripting language.
42 </para>
[5cc1126a]43
[b5102a2d]44 &lfs76_checked;
[a8d3d55a]45
[5cc1126a]46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
[e8f7606]49 <para>
50 Download (HTTP): <ulink url="&tcl-download-http;"/>
51 </para>
[5cc1126a]52 </listitem>
53 <listitem>
[e8f7606]54 <para>
55 Download (FTP): <ulink url="&tcl-download-ftp;"/>
56 </para>
[5cc1126a]57 </listitem>
58 <listitem>
[e8f7606]59 <para>
60 Download MD5 sum: &tcl-md5sum;
61 </para>
[5cc1126a]62 </listitem>
63 <listitem>
[e8f7606]64 <para>
65 Download size: &tcl-size;
66 </para>
[5cc1126a]67 </listitem>
68 <listitem>
[e8f7606]69 <para>
70 Estimated disk space required: &tcl-buildsize;
71 </para>
[5cc1126a]72 </listitem>
73 <listitem>
[e8f7606]74 <para>
75 Estimated build time: &tcl-time;
76 </para>
[5cc1126a]77 </listitem>
78 </itemizedlist>
79
[5729aff]80 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
81 <itemizedlist spacing="compact">
[0dddae0]82 <title>Optional Documentation</title>
[5729aff]83 <listitem>
[e8f7606]84 <para>
85 Download (HTTP): <ulink url="&tcl-doc-download;"/>
86 </para>
[5729aff]87 </listitem>
88 <listitem>
[e8f7606]89 <para>
90 Download MD5 sum: &tcl-doc-md5sum;
91 </para>
[5729aff]92 </listitem>
93 <listitem>
[e8f7606]94 <para>
95 Download size: &tcl-doc-size;
96 </para>
[5729aff]97 </listitem>
98 </itemizedlist>
99
[1039de3]100 <para condition="html" role="usernotes">User Notes:
[82fac2c]101 <ulink url="&blfs-wiki;/tcl"/>
102 </para>
[5cc1126a]103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of Tcl</title>
107
[e8f7606]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>
[5cc1126a]113
[e8f7606]114 <para>
115 If you downloaded the optional documentation, unpack the tarball
116 by issuing the following command:
117 </para>
[5729aff]118
[d8069d7]119<screen><userinput>tar -xf ../tcl&tcl-version;-html.tar.gz --strip-components=1</userinput></screen>
[5729aff]120
[e8f7606]121 <para>
122 Install <application>Tcl</application> by running the following
123 commands:
124 </para>
[5cc1126a]125
[985d9e0]126<screen><userinput>export SRCDIR=`pwd` &amp;&amp;
[85e109d]127
128cd unix &amp;&amp;
129
[dc6ba1c0]130./configure --prefix=/usr \
131 --without-tzdata \
[82fac2c]132 --mandir=/usr/share/man \
133 $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
[206b7a1]134make &amp;&amp;
[4efac57]135
[85e109d]136sed -e "s#$SRCDIR/unix#/usr/lib#" \
137 -e "s#$SRCDIR#/usr/include#" \
138 -i tclConfig.sh &amp;&amp;
139
[4efac57]140sed -e "s#$SRCDIR/unix/pkgs/tdbc1.0.2#/usr/lib/tdbc1.0.2#" \
141 -e "s#$SRCDIR/pkgs/tdbc1.0.2/generic#/usr/include#" \
142 -e "s#$SRCDIR/pkgs/tdbc1.0.2/library#/usr/lib/tcl8.6#" \
143 -e "s#$SRCDIR/pkgs/tdbc1.0.2#/usr/include#" \
144 -i pkgs/tdbc1.0.2/tdbcConfig.sh &amp;&amp;
[85e109d]145
[4efac57]146sed -e "s#$SRCDIR/unix/pkgs/itcl4.0.2#/usr/lib/itcl4.0.2#" \
147 -e "s#$SRCDIR/pkgs/itcl4.0.2/generic#/usr/include#" \
148 -e "s#$SRCDIR/pkgs/itcl4.0.2#/usr/include#" \
149 -i pkgs/itcl4.0.2/itclConfig.sh &amp;&amp;
[85e109d]150
151unset SRCDIR</userinput></screen>
152
[d8614521]153
[e8f7606]154 <para>
155 To test the results, issue: <command>make test</command>.
156 </para>
[fa4bb53]157
[e8f7606]158 <para>
159 Now, as the <systemitem class="username">root</systemitem> user:
160 </para>
[d8614521]161
[5cc1126a]162<screen role="root"><userinput>make install &amp;&amp;
[33fd7e43]163make install-private-headers &amp;&amp;
[dd01532b]164ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh &amp;&amp;
165chmod -v 755 /usr/lib/libtcl&tcl-ver;.so</userinput></screen>
[33fd7e43]166
[e8f7606]167 <para>
168 If you downloaded the optional documentation, install it by issuing
169 the following commands as the
170 <systemitem class="username">root</systemitem> user:
171 </para>
[5729aff]172
[e8f7606]173<screen role="root"><userinput>mkdir -v -p /usr/share/doc/tcl-&tcl-version; &amp;&amp;
174cp -v -r ../html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
[d8614521]175
[5cc1126a]176 </sect2>
177
178 <sect2 role="commands">
179 <title>Command Explanations</title>
180
[6c64623f]181 <para>
182 <option>--without-tzdata</option>: This switch prevents installation
183 of the shipped timezone data which are older than the ones provided
184 in LFS.
185 </para>
186
[e8f7606]187 <para>
[5a464e4d]188 <parameter>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
189 --enable-64bit)</parameter>: This switch is used to enable 64 bit
[82fac2c]190 support in <application>Tcl</application> on 64 bit operating
191 systems.
[e8f7606]192 </para>
193
194 <para>
195 <command>make install-private-headers</command>: This command is
196 used to install the <application>Tcl</application> library interface
197 headers used by other packages if they link to the
198 <application>Tcl</application> library.
199 </para>
200
201 <para>
202 <command>ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh</command>: This
203 command is used to create a compatibility symbolic link to the
204 <command>tclsh&tcl-ver;</command> file as many packages expect a file
205 named <command>tclsh</command>.
206 </para>
207
[85e109d]208 <para>
209 <command>sed -e ...</command>: The <application>Tcl</application> package
210 expects that its source tree is preserved so that packages depending on
211 it for their compilation can utilize it. These <command>sed</command>
212 remove the references to the build directory and replace them with saner
213 system-wide locations.
[e8f7606]214 </para>
[5cc1126a]215
216 </sect2>
217
218 <sect2 role="content">
219 <title>Contents</title>
220
221 <segmentedlist>
222 <segtitle>Installed Programs</segtitle>
223 <segtitle>Installed Libraries</segtitle>
224 <segtitle>Installed Directories</segtitle>
225
226 <seglistitem>
[e8f7606]227 <seg>
228 tclsh and tclsh&tcl-ver;
229 </seg>
230 <seg>
231 libtcl&tcl-ver;.so and libtclstub&tcl-ver;.a
232 </seg>
233 <seg>
[643ea8d7]234 /usr/lib/itcl4.0.1,
[985d9e0]235 /usr/lib/sqlite3.8.6
[e8f7606]236 /usr/lib/tcl8,
237 /usr/lib/tcl&tcl-ver;,
[643ea8d7]238 /usr/lib/tdbc1.0.1,
239 /usr/lib/tdbcmysql1.0.1,
240 /usr/lib/tdbcodbc1.0.1,
241 /usr/lib/tdbcpostgres1.0.1,
242 /usr/lib/thread2.7.1,
[dd0c128]243 /usr/share/doc/tcl-&tcl-version;, and
[643ea8d7]244 /usr/share/man/mann
[e8f7606]245 </seg>
[5cc1126a]246 </seglistitem>
247 </segmentedlist>
248
249 <variablelist>
250 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
251 <?dbfo list-presentation="list"?>
252 <?dbhtml list-presentation="table"?>
253
254 <varlistentry id="tclsh">
255 <term><command>tclsh</command></term>
256 <listitem>
[e8f7606]257 <para>
258 is a symlink to the <command>tclsh&tcl-ver;</command> program.
259 </para>
[5cc1126a]260 <indexterm zone="tcl tclsh">
[b960e3ec]261 <primary sortas="b-tclsh">tclsh</primary>
[5cc1126a]262 </indexterm>
263 </listitem>
264 </varlistentry>
265
[36f2c9e]266 <varlistentry id="tclsh-eight">
267 <term><command>tclsh&tcl-ver;</command></term>
[5cc1126a]268 <listitem>
[e8f7606]269 <para>
270 is a simple shell containing the
271 <application>Tcl</application> interpreter.
272 </para>
[36f2c9e]273 <indexterm zone="tcl tclsh-eight">
274 <primary sortas="b-tclsh&tcl-ver;">tclsh&tcl-ver;</primary>
[5cc1126a]275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="libtcl">
[82fac2c]280 <term><filename class="libraryfile">libtcl&tcl-ver;.so</filename></term>
[5cc1126a]281 <listitem>
[e8f7606]282 <para>
[0d7900a]283 contains the API functions required by
[e8f7606]284 <application>Tcl</application>.
285 </para>
[5cc1126a]286 <indexterm zone="tcl libtcl">
[e8f7606]287 <primary sortas="c-libtcl">libtcl&tcl-ver;.so</primary>
[5cc1126a]288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 </variablelist>
293
294 </sect2>
[c4f1401]295
296</sect1>
Note: See TracBrowser for help on using the repository browser.