source: BOOK/testsuite-tools/common/tcl.xml@ d9ae447

clfs-3.0.0-systemd systemd
Last change on this file since d9ae447 was 929417d, checked in by William Harrington <kb0iic@…>, 11 years ago

Expand tcl space for regexes required by some tests.

  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[134ba96]8<sect1 id="ch-testsuite-tools-tcl" role="wrap">
[3f8be484]9 <?dbhtml filename="tcl.html"?>
10
11 <title>Tcl-&tcl-version;</title>
12
[134ba96]13 <indexterm zone="ch-testsuite-tools-tcl">
[3f8be484]14 <primary sortas="a-Tcl">Tcl</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Tcl package contains the Tool Command Language.</para>
21
22 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of Tcl</title>
26
[929417d]27 <para os="s1">Increase memory size for regular expressions where required.</para>
28
29<screen os="s2"><userinput>sed -i s/500/5000/ generic/regc_nfa.c</userinput></screen>
30
[45bf79c]31 <para os="a">Prepare Tcl for compilation:</para>
[3f8be484]32
[a730c40]33<screen><userinput>cd unix
34./configure --prefix=/tools</userinput></screen>
[3f8be484]35
[45bf79c]36 <para os="c">Build the package:</para>
[3f8be484]37
[45bf79c]38<screen os="d"><userinput>make</userinput></screen>
[3f8be484]39
[45bf79c]40 <para os="e">Install the package:</para>
[3f8be484]41
[45bf79c]42<screen os="f"><userinput>make install</userinput></screen>
[3f8be484]43
[45bf79c]44 <para os="g">Tcl's private header files are needed for the next
[39139e4]45 package, Expect. Install them into /tools:</para>
[3f8be484]46
[45bf79c]47<screen os="h"><userinput>make install-private-headers</userinput></screen>
[3f8be484]48
[45bf79c]49 <para os="i">Now make a necessary symbolic link:</para>
[3f8be484]50
[1da2a84]51<screen os="j"><userinput>ln -sv tclsh&tcl-version2; /tools/bin/tclsh</userinput></screen>
[3f8be484]52
53 </sect2>
54
55 <sect2 id="contents-tcl" role="content">
56 <title>Contents of Tcl</title>
57
58 <segmentedlist>
59 <segtitle>Installed programs</segtitle>
[188b6b2]60 <segtitle>Installed libraries</segtitle>
[3f8be484]61
62 <seglistitem>
[1da2a84]63 <seg>tclsh (link to tclsh&tcl-version2;) and tclsh&tcl-version2;</seg>
[188b6b2]64 <seg>libtcl&tcl-version2;.so, libtclstub&tcl-version2;.a</seg>
[3f8be484]65 </seglistitem>
66 </segmentedlist>
67
68 <variablelist>
69 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
70 <?dbfo list-presentation="list"?>
71 <?dbhtml list-presentation="table"?>
72
[94d70264]73 <varlistentry id="tclsh-version">
[1da2a84]74 <term><command>tclsh&tcl-version2;</command></term>
[3f8be484]75 <listitem>
76 <para>The Tcl command shell</para>
[94d70264]77 <indexterm zone="ch-testsuite-tools-tcl tclsh-version">
78 <primary sortas="b-tclsh-version">tclsh-version;</primary>
[3f8be484]79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="tclsh">
84 <term><command>tclsh</command></term>
85 <listitem>
[1da2a84]86 <para>A link to tclsh&tcl-version2;</para>
[134ba96]87 <indexterm zone="ch-testsuite-tools-tcl tclsh">
[3f8be484]88 <primary sortas="b-tclsh">tclsh</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
[94d70264]93 <varlistentry id="libtcl-version.so">
[1da2a84]94 <term><filename class="libraryfile">libtcl&tcl-version2;.so</filename></term>
[3f8be484]95 <listitem>
96 <para>The Tcl library</para>
[94d70264]97 <indexterm zone="ch-testsuite-tools-tcl libtcl-version.so">
98 <primary sortas="c-libtcl-version.so">libtcl-version.so</primary>
[3f8be484]99 </indexterm>
100 </listitem>
101 </varlistentry>
102
[188b6b2]103 <varlistentry id="libtclstub-version.a">
104 <term><filename class="libraryfile">libtclstub&tcl-version2;.a</filename></term>
105 <listitem>
106 <para>The Tcl Stub library</para>
107 <indexterm zone="ch-testsuite-tools-tcl libtclstub-version.a">
108 <primary sortas="c-libtclstub-version.a">libtclstub-version.a</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
[3f8be484]113 </variablelist>
114
115 </sect2>
116
117</sect1>
Note: See TracBrowser for help on using the repository browser.