Changeset 5cc1126


Ignore:
Timestamp:
05/05/2005 08:35:01 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
516af114
Parents:
16f3afb3
Message:

Tagged tcl.xml

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

Location:
general/prog
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/php.xml

    r16f3afb3 r5cc1126  
    163163
    164164<screen role="root"><userinput>make install &amp;&amp;
    165 cp php.ini-recommended /etc/php.ini</userinput></screen>
     165cp -v php.ini-recommended /etc/php.ini</userinput></screen>
    166166
    167167    <para>Remove the <option>--disable-libxml</option> switch if you
  • general/prog/tcl.xml

    r16f3afb3 r5cc1126  
    55  %general-entities;
    66
    7 <!ENTITY tcl-download-http "http://prdownloads.sourceforge.net/tcl/tcl&tcl-version;-src.tar.gz">
    8 <!ENTITY tcl-download-ftp "ftp://ftp.us.xemacs.org/pub/tcl/tcl8_4/tcl&tcl-version;-src.tar.gz">
    9 <!ENTITY tcl-md5sum "7e01b409925e4eb59ad44a4c12b9c681">
    10 <!ENTITY tcl-size "3.4 MB">
    11 <!ENTITY tcl-buildsize "24.2 MB">
    12 <!ENTITY tcl-time "0.28 SBU (additional 0.73 SBU to run the test suite)">
     7  <!ENTITY tcl-download-http "http://prdownloads.sourceforge.net/tcl/tcl&tcl-version;-src.tar.gz">
     8  <!ENTITY tcl-download-ftp "ftp://ftp.us.xemacs.org/pub/tcl/tcl8_4/tcl&tcl-version;-src.tar.gz">
     9  <!ENTITY tcl-md5sum "7e01b409925e4eb59ad44a4c12b9c681">
     10  <!ENTITY tcl-size "3.4 MB">
     11  <!ENTITY tcl-buildsize "24.2 MB">
     12  <!ENTITY tcl-time "0.28 SBU (additional 0.73 SBU to run the test suite)">
    1313]>
    1414
    1515<sect1 id="tcl" xreflabel="Tcl-&tcl-version;">
    16 <sect1info>
    17 <othername>$LastChangedBy$</othername>
    18 <date>$Date$</date>
    19 </sect1info>
    20 <?dbhtml filename="tcl.html"?>
    21 <title>Tcl-&tcl-version;</title>
    22 <indexterm zone="tcl">
    23 <primary sortas="a-Tcl">Tcl</primary></indexterm>
     16  <?dbhtml filename="tcl.html"?>
    2417
    25 <sect2>
    26 <title>Introduction to <application>Tcl</application></title>
     18  <sect1info>
     19    <othername>$LastChangedBy$</othername>
     20    <date>$Date$</date>
     21  </sect1info>
    2722
    28 <para>The <application>Tcl</application> package contains the Tool Command
    29 Language, a robust general-purpose scripting language.</para>
     23  <title>Tcl-&tcl-version;</title>
    3024
    31 <sect3><title>Package information</title>
    32 <itemizedlist spacing='compact'>
    33 <listitem><para>Download (HTTP): <ulink
    34 url="&tcl-download-http;"/></para></listitem>
    35 <listitem><para>Download (FTP): <ulink
    36 url="&tcl-download-ftp;"/></para></listitem>
    37 <listitem><para>Download MD5 sum: &tcl-md5sum;</para></listitem>
    38 <listitem><para>Download size: &tcl-size;</para></listitem>
    39 <listitem><para>Estimated disk space required:
    40 &tcl-buildsize;</para></listitem>
    41 <listitem><para>Estimated build time:
    42 &tcl-time;</para></listitem></itemizedlist>
    43 </sect3>
     25  <indexterm zone="tcl">
     26    <primary sortas="a-Tcl">Tcl</primary>
     27  </indexterm>
    4428
    45 </sect2>
     29  <sect2 role="package">
     30    <title>Introduction to Tcl</title>
    4631
    47 <sect2>
    48 <title>Installation of <application>Tcl</application></title>
     32    <para>The <application>Tcl</application> package contains the Tool Command
     33    Language, a robust general-purpose scripting language.</para>
    4934
    50 <note><para>This package is also installed in <acronym>LFS</acronym> during
    51 the bootstrap phase. The significant difference between the two installations
    52 (other than installing to <filename class="directory">/usr</filename>) is the
    53 package is installed in such a way that there is no need to keep the build
    54 directory around after installation.</para></note>
     35    <bridgehead renderas="sect3">Package Information</bridgehead>
     36    <itemizedlist spacing="compact">
     37      <listitem>
     38        <para>Download (HTTP): <ulink url="&tcl-download-http;"/></para>
     39      </listitem>
     40      <listitem>
     41        <para>Download (FTP): <ulink url="&tcl-download-ftp;"/></para>
     42      </listitem>
     43      <listitem>
     44        <para>Download MD5 sum: &tcl-md5sum;</para>
     45      </listitem>
     46      <listitem>
     47        <para>Download size: &tcl-size;</para>
     48      </listitem>
     49      <listitem>
     50        <para>Estimated disk space required: &tcl-buildsize;</para>
     51      </listitem>
     52      <listitem>
     53        <para>Estimated build time: &tcl-time;</para>
     54      </listitem>
     55    </itemizedlist>
    5556
    56 <para>Install <application>Tcl</application> by running the following
    57 commands:</para>
     57  </sect2>
    5858
    59 <screen><userinput><command>export VERSION=&tcl-version; &amp;&amp;
     59  <sect2 role="installation">
     60    <title>Installation of Tcl</title>
     61
     62    <note>
     63      <para>This package is also installed in LFS during
     64      the bootstrap phase. The significant difference between the two installations
     65      (other than installing to <filename class="directory">/usr</filename>) is that
     66      the package is installed in such a way that there is no need to keep the build
     67      directory around after installation.</para>
     68    </note>
     69
     70    <para>Install <application>Tcl</application> by running the following
     71    commands:</para>
     72
     73<screen><userinput>export VERSION=&tcl-version; &amp;&amp;
    6074export V=`echo $VERSION | cut -d "." -f 1,2` &amp;&amp;
    6175export DIR=$PWD &amp;&amp;
     
    6680sed -i "s:${DIR}:/usr/include/tcl${V}:" tclConfig.sh &amp;&amp;
    6781sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',\
    68 TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh</command></userinput></screen>
     82TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh</userinput></screen>
    6983
    70 <para>To test the results, issue: <command>make test</command>.</para>
     84    <para>To test the results, issue: <command>make test</command>.</para>
    7185
    72 <para>Now, as the root user:</para>
     86    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    7387
    74 <screen><userinput role='root'><command>make install &amp;&amp;
    75 install -d /usr/include/tcl${V}/unix &amp;&amp;
    76 install -m644 *.h /usr/include/tcl${V}/unix/ &amp;&amp;
    77 install -d /usr/include/tcl${V}/generic &amp;&amp;
    78 install -c -m644 ../generic/*.h /usr/include/tcl${V}/generic/ &amp;&amp;
    79 rm -f /usr/include/tcl${V}/generic/{tcl,tclDecls,tclPlatDecls}.h &amp;&amp;
    80 ln -nsf ../../include/tcl${V} /usr/lib/tcl${V}/include &amp;&amp;
    81 ln -sf libtcl${V}.so /usr/lib/libtcl.so &amp;&amp;
    82 ln -sf tclsh${V} /usr/bin/tclsh</command></userinput></screen>
     88<screen role="root"><userinput>make install &amp;&amp;
     89install -v -d /usr/include/tcl${V}/unix &amp;&amp;
     90install -v -m644 *.h /usr/include/tcl${V}/unix/ &amp;&amp;
     91install -v -d /usr/include/tcl${V}/generic &amp;&amp;
     92install -v -c -m644 ../generic/*.h /usr/include/tcl${V}/generic/ &amp;&amp;
     93rm -v -f /usr/include/tcl${V}/generic/{tcl,tclDecls,tclPlatDecls}.h &amp;&amp;
     94ln -v -nsf ../../include/tcl${V} /usr/lib/tcl${V}/include &amp;&amp;
     95ln -v -sf libtcl${V}.so /usr/lib/libtcl.so &amp;&amp;
     96ln -v -sf tclsh${V} /usr/bin/tclsh</userinput></screen>
    8397
    84 <para>Clean up the unprivileged user's environment using the following
    85 commands:</para>
     98    <para>Clean up the unprivileged user's environment using the following
     99    commands:</para>
    86100
    87 <screen><userinput><command>unset VERSION &amp;&amp;
     101<screen><userinput>unset VERSION &amp;&amp;
    88102unset V &amp;&amp;
    89 unset DIR</command></userinput></screen>
     103unset DIR</userinput></screen>
    90104
    91105<!--
    92 <caution><para>If you build the package as an ordinary user and then switch to
    93 root to install the package, ensure you set the environment variables
    94 <envar>V</envar> and <envar>VERSION</envar> before running the installation
    95 commands.</para></caution>
     106    <caution>
     107      <para>If you build the package as an ordinary user and then switch to
     108      root to install the package, ensure you set the environment variables
     109      <envar>V</envar> and <envar>VERSION</envar> before running the installation
     110      commands.</para>
     111    </caution>
    96112-->
    97113
    98 </sect2>
     114  </sect2>
    99115
    100 <sect2>
    101 <title>Command explanations</title>
     116  <sect2 role="commands">
     117    <title>Command Explanations</title>
    102118
    103 <para><parameter>--enable-threads</parameter>: This switch forces the package
    104 to build with thread support.</para>
     119    <para><parameter>--enable-threads</parameter>: This switch forces the package
     120    to build with thread support.</para>
    105121
    106 <para><command>sed -i ...</command>: The <application>Tcl</application>
    107 package assumes that the source that is used to build
    108 <application>Tcl</application> is always kept around for compiling packages
    109 that depend on <application>Tcl</application>. These <command>sed</command>s
    110 remove the reference to the build directory and replace them by saner system
    111 wide locations.</para>
     122    <para><command>sed -i ...</command>: The <application>Tcl</application>
     123    package assumes that the source that is used to build
     124    <application>Tcl</application> is always kept around for compiling packages
     125    that depend on <application>Tcl</application>. These <command>sed</command>s
     126    remove the reference to the build directory and replace them by saner system
     127    wide locations.</para>
    112128
    113 <para><command>install ...</command>: These commands install the internal
    114 headers into a system-wide location.</para>
     129    <para><command>install ...</command>: These commands install the internal
     130    headers into a system-wide location.</para>
    115131
    116 <para><command>ln -sf ...</command>: These commands create compatibility
    117 symbolic links.</para>
    118 </sect2>
     132    <para><command>ln -v -sf ...</command>: These commands create compatibility
     133    symbolic links.</para>
    119134
    120 <sect2>
    121 <title>Contents</title>
     135  </sect2>
    122136
    123 <segmentedlist>
    124 <segtitle>Installed Programs</segtitle>
    125 <segtitle>Installed Libraries</segtitle>
    126 <segtitle>Installed Directories</segtitle>
     137  <sect2 role="content">
     138    <title>Contents</title>
    127139
    128 <seglistitem>
    129 <seg>tclsh and tclsh8.4</seg>
    130 <seg>libtcl.so and libtclstub8.4.a</seg>
    131 <seg>/usr/include/tcl8.4 and /usr/lib/tcl8.4</seg>
    132 </seglistitem>
    133 </segmentedlist>
     140    <segmentedlist>
     141      <segtitle>Installed Programs</segtitle>
     142      <segtitle>Installed Libraries</segtitle>
     143      <segtitle>Installed Directories</segtitle>
    134144
    135 <variablelist>
    136 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    137 <?dbfo list-presentation="list"?>
     145      <seglistitem>
     146        <seg>tclsh and tclsh8.4</seg>
     147        <seg>libtcl.so and libtclstub8.4.a</seg>
     148        <seg>/usr/include/tcl8.4 and /usr/lib/tcl8.4</seg>
     149      </seglistitem>
     150    </segmentedlist>
    138151
    139 <varlistentry id="tclsh">
    140 <term><command>tclsh</command></term>
    141 <listitem><para> is a symlink to the <command>tclsh8.4</command>
    142 program.</para>
    143 <indexterm zone="tcl tclsh">
    144 <primary sortas="g-tclsh">tclsh</primary></indexterm>
    145 </listitem>
    146 </varlistentry>
     152    <variablelist>
     153      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     154      <?dbfo list-presentation="list"?>
     155      <?dbhtml list-presentation="table"?>
    147156
    148 <varlistentry id="tclsh8.4">
    149 <term><command>tclsh8.4</command></term>
    150 <listitem><para> is a simple shell containing the
    151 <application>Tcl</application> interpreter.</para>
    152 <indexterm zone="tcl tclsh8.4">
    153 <primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm>
    154 </listitem>
    155 </varlistentry>
     157      <varlistentry id="tclsh">
     158        <term><command>tclsh</command></term>
     159        <listitem>
     160          <para> is a symlink to the <command>tclsh8.4</command>
     161          program.</para>
     162          <indexterm zone="tcl tclsh">
     163            <primary sortas="g-tclsh">tclsh</primary>
     164          </indexterm>
     165        </listitem>
     166      </varlistentry>
    156167
    157 <varlistentry id="libtcl">
    158 <term><filename role="library">libtcl.so</filename></term>
    159 <listitem><para>contains the <acronym>API</acronym> functions required
    160 by <application>Tcl</application>.</para>
    161 <indexterm zone="tcl libtcl">
    162 <primary sortas="c-libtcl">libtcl.so</primary></indexterm>
    163 </listitem>
    164 </varlistentry>
    165 </variablelist>
     168      <varlistentry id="tclsh8.4">
     169        <term><command>tclsh8.4</command></term>
     170        <listitem>
     171          <para> is a simple shell containing the
     172          <application>Tcl</application> interpreter.</para>
     173          <indexterm zone="tcl tclsh8.4">
     174            <primary sortas="b-tclsh8.4">tclsh8.4</primary>
     175          </indexterm>
     176        </listitem>
     177      </varlistentry>
    166178
    167 </sect2>
     179      <varlistentry id="libtcl">
     180        <term><filename role="library">libtcl.so</filename></term>
     181        <listitem>
     182          <para>contains the API functions required
     183          by <application>Tcl</application>.</para>
     184          <indexterm zone="tcl libtcl">
     185            <primary sortas="c-libtcl">libtcl.so</primary>
     186          </indexterm>
     187        </listitem>
     188      </varlistentry>
     189
     190    </variablelist>
     191
     192  </sect2>
    168193
    169194</sect1>
Note: See TracChangeset for help on using the changeset viewer.