Ignore:
Timestamp:
05/11/2012 08:27:05 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
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
Children:
e9fab3f
Parents:
92513fe
Message:

PyGObject 3.2.1, LZO 2.06, Tcl 8.5.11, Tk 8.5.11. My work is done here.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/tcl.xml

    r92513fe re8f7606  
    77  <!ENTITY tcl-download-http "&sourceforge-repo;/tcl/tcl&tcl-version;-src.tar.gz">
    88  <!ENTITY tcl-download-ftp  "&gentoo-ftp-repo;/tcl&tcl-version;-src.tar.gz">
    9   <!ENTITY tcl-md5sum        "a08eaf8467c0631937067c1948dd326b">
     9  <!ENTITY tcl-md5sum        "b01a9691c83990b3db0ce62d1012ca67">
    1010  <!ENTITY tcl-size          "4.3 MB">
    1111  <!ENTITY tcl-buildsize     "47 MB (includes documentation installation)">
     
    1313
    1414  <!ENTITY tcl-doc-download  "&sourceforge-repo;/tcl/tcl&tcl-version;-html.tar.gz">
    15   <!ENTITY tcl-doc-md5sum    "3b5cf7f3dffe534bda80fb826937034a">
     15  <!ENTITY tcl-doc-md5sum    "69cffbda92abfda74c2809091b555548">
    1616  <!ENTITY tcl-doc-size      "912 KB">
    1717
     
    3737    <title>Introduction to Tcl</title>
    3838
    39     <para>The <application>Tcl</application> package contains the Tool Command
    40     Language, a robust general-purpose scripting language.</para>
     39    <para>
     40      The <application>Tcl</application> package contains the Tool Command
     41      Language, a robust general-purpose scripting language.
     42    </para>
    4143
    4244    &lfs70_checked;
     
    4547    <itemizedlist spacing="compact">
    4648      <listitem>
    47         <para>Download (HTTP): <ulink url="&tcl-download-http;"/></para>
    48       </listitem>
    49       <listitem>
    50         <para>Download (FTP): <ulink url="&tcl-download-ftp;"/></para>
    51       </listitem>
    52       <listitem>
    53         <para>Download MD5 sum: &tcl-md5sum;</para>
    54       </listitem>
    55       <listitem>
    56         <para>Download size: &tcl-size;</para>
    57       </listitem>
    58       <listitem>
    59         <para>Estimated disk space required: &tcl-buildsize;</para>
    60       </listitem>
    61       <listitem>
    62         <para>Estimated build time: &tcl-time;</para>
     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>
    6377      </listitem>
    6478    </itemizedlist>
     
    6882      <title>Optional Documentation</title>
    6983      <listitem>
    70         <para>Download (HTTP): <ulink url="&tcl-doc-download;"/></para>
    71       </listitem>
    72       <listitem>
    73         <para>Download MD5 sum: &tcl-doc-md5sum;</para>
    74       </listitem>
    75       <listitem>
    76         <para>Download size: &tcl-doc-size;</para>
     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>
    7797      </listitem>
    7898    </itemizedlist>
     
    86106    <title>Installation of Tcl</title>
    87107
    88     <para>This package is also installed in LFS during the bootstrap phase.
    89     As it is not installed during Chapter 6 of LFS, installation instructions
    90     are included here in BLFS.</para>
    91 
    92     <para>If you downloaded the optional documentation, unpack the tarball
    93     by issuing the following command:</para>
     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>
    94118
    95119<screen><userinput>tar -xf ../tcl&tcl-version;-html.tar.gz --strip-components=1</userinput></screen>
    96120
    97     <para>Install <application>Tcl</application> by running the following
    98     commands:</para>
     121    <para>
     122      Install <application>Tcl</application> by running the following
     123      commands:
     124    </para>
    99125
    100126<screen><userinput>cd unix &amp;&amp;
     
    104130make &amp;&amp;
    105131
    106 sed -i \
    107     -e "s@^\(TCL_SRC_DIR='\).*@\1/usr/include'@" \
     132sed -e "s@^\(TCL_SRC_DIR='\).*@\1/usr/include'@" \
    108133    -e "/TCL_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
    109     tclConfig.sh</userinput></screen>
    110 
    111     <para>To test the results, issue: <command>make test</command>.</para>
    112 
    113     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     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>
    114143
    115144<screen role="root"><userinput>make install &amp;&amp;
     
    118147chmod -v 755 /usr/lib/libtcl&tcl-ver;.so</userinput></screen>
    119148
    120     <para>If you downloaded the optional documentation, install it by issuing
    121     the following commands as the
    122     <systemitem class="username">root</systemitem> user:</para>
    123 
    124 <screen role="root"><userinput>install -v -m755 -d           /usr/share/doc/tcl-&tcl-version; &amp;&amp;
    125 cp      -v -R       ../html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
     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>
    126157
    127158  </sect2>
     
    130161    <title>Command Explanations</title>
    131162
    132     <para><parameter>--enable-threads</parameter>: This switch forces the package
    133     to build with thread support.</para>
    134 
    135     <para><command>make install-private-headers</command>: This command is
    136     used to install the <application>Tcl</application> library interface
    137     headers used by other packages if they link to the
    138     <application>Tcl</application> library.</para>
    139 
    140     <para><command>ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh</command>: This
    141     command is used to create a compatibility symbolic link to the
    142     <command>tclsh&tcl-ver;</command> file as many packages expect a file
    143     named <command>tclsh</command>.</para>
    144 
    145     <para><command>sed -i -e ... tclConfig.sh</command>: The
    146     <application>Tcl</application> package expects that its source tree is
    147     preserved so that packages depending on it for their compilation
    148     can utilize it. This <command>sed</command> removes the references to the
    149     build directory and replaces them with saner system-wide locations.</para>
     163    <para>
     164      <option>--enable-threads</option>: This switch forces the package
     165      to build with threads support.
     166    </para>
     167
     168    <para>
     169      <command>make install-private-headers</command>: This command is
     170      used to install the <application>Tcl</application> library interface
     171      headers used by other packages if they link to the
     172      <application>Tcl</application> library.
     173    </para>
     174
     175    <para>
     176      <command>ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh</command>: This
     177      command is used to create a compatibility symbolic link to the
     178      <command>tclsh&tcl-ver;</command> file as many packages expect a file
     179      named <command>tclsh</command>.
     180    </para>
     181
     182    <para>
     183      <command>sed -e ... tclConfig.sh</command>: The
     184      <application>Tcl</application> package expects that its source tree is
     185      preserved so that packages depending on it for their compilation
     186      can utilize it. This <command>sed</command> removes the references to the
     187      build directory and replaces them with saner system-wide locations.
     188    </para>
    150189
    151190  </sect2>
     
    160199
    161200      <seglistitem>
    162         <seg>tclsh and tclsh&tcl-ver;</seg>
    163         <seg>libtcl&tcl-ver;.so and libtclstub&tcl-ver;.a</seg>
    164         <seg>/usr/lib/tcl8, /usr/lib/tcl&tcl-ver;, /usr/share/man/mann,
    165         and optionally, /usr/share/doc/&tcl-version;</seg>
     201        <seg>
     202          tclsh and tclsh&tcl-ver;
     203        </seg>
     204        <seg>
     205          libtcl&tcl-ver;.so and libtclstub&tcl-ver;.a
     206        </seg>
     207        <seg>
     208          /usr/lib/tcl8,
     209          /usr/lib/tcl&tcl-ver;,
     210          /usr/share/man/mann and optionally
     211          /usr/share/doc/&tcl-version;
     212        </seg>
    166213      </seglistitem>
    167214    </segmentedlist>
     
    175222        <term><command>tclsh</command></term>
    176223        <listitem>
    177           <para> is a symlink to the <command>tclsh&tcl-ver;</command>
    178           program.</para>
     224          <para>
     225            is a symlink to the <command>tclsh&tcl-ver;</command> program.
     226          </para>
    179227          <indexterm zone="tcl tclsh">
    180228            <primary sortas="g-tclsh">tclsh</primary>
     
    186234        <term><command>tclsh&tcl-ver;</command></term>
    187235        <listitem>
    188           <para> is a simple shell containing the
    189           <application>Tcl</application> interpreter.</para>
     236          <para>
     237            is a simple shell containing the
     238            <application>Tcl</application> interpreter.
     239          </para>
    190240          <indexterm zone="tcl tclsh-eight">
    191241            <primary sortas="b-tclsh&tcl-ver;">tclsh&tcl-ver;</primary>
     
    195245
    196246      <varlistentry id="libtcl">
    197         <term><filename role="library">libtcl.so</filename></term>
     247        <term><filename role="library">libtcl&tcl-ver;.so</filename></term>
    198248        <listitem>
    199           <para>contains the API functions required
    200           by <application>Tcl</application>.</para>
     249          <para>
     250            contains the API functions required by
     251            <application>Tcl</application>.
     252          </para>
    201253          <indexterm zone="tcl libtcl">
    202             <primary sortas="c-libtcl">libtcl.so</primary>
     254            <primary sortas="c-libtcl">libtcl&tcl-ver;.so</primary>
    203255          </indexterm>
    204256        </listitem>
Note: See TracChangeset for help on using the changeset viewer.