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

clfs-3.0.0-systemd systemd
Last change on this file since 4748827 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
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
8<sect1 id="ch-testsuite-tools-tcl" role="wrap">
9 <?dbhtml filename="tcl.html"?>
10
11 <title>Tcl-&tcl-version;</title>
12
13 <indexterm zone="ch-testsuite-tools-tcl">
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
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
31 <para os="a">Prepare Tcl for compilation:</para>
32
33<screen><userinput>cd unix
34./configure --prefix=/tools</userinput></screen>
35
36 <para os="c">Build the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40 <para os="e">Install the package:</para>
41
42<screen os="f"><userinput>make install</userinput></screen>
43
44 <para os="g">Tcl's private header files are needed for the next
45 package, Expect. Install them into /tools:</para>
46
47<screen os="h"><userinput>make install-private-headers</userinput></screen>
48
49 <para os="i">Now make a necessary symbolic link:</para>
50
51<screen os="j"><userinput>ln -sv tclsh&tcl-version2; /tools/bin/tclsh</userinput></screen>
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>
60 <segtitle>Installed libraries</segtitle>
61
62 <seglistitem>
63 <seg>tclsh (link to tclsh&tcl-version2;) and tclsh&tcl-version2;</seg>
64 <seg>libtcl&tcl-version2;.so, libtclstub&tcl-version2;.a</seg>
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
73 <varlistentry id="tclsh-version">
74 <term><command>tclsh&tcl-version2;</command></term>
75 <listitem>
76 <para>The Tcl command shell</para>
77 <indexterm zone="ch-testsuite-tools-tcl tclsh-version">
78 <primary sortas="b-tclsh-version">tclsh-version;</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="tclsh">
84 <term><command>tclsh</command></term>
85 <listitem>
86 <para>A link to tclsh&tcl-version2;</para>
87 <indexterm zone="ch-testsuite-tools-tcl tclsh">
88 <primary sortas="b-tclsh">tclsh</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="libtcl-version.so">
94 <term><filename class="libraryfile">libtcl&tcl-version2;.so</filename></term>
95 <listitem>
96 <para>The Tcl library</para>
97 <indexterm zone="ch-testsuite-tools-tcl libtcl-version.so">
98 <primary sortas="c-libtcl-version.so">libtcl-version.so</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
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
113 </variablelist>
114
115 </sect2>
116
117</sect1>
Note: See TracBrowser for help on using the repository browser.