Author: randy
Date: 2009-02-12 13:44:41 -0700 (Thu, 12 Feb 2009)
New Revision: 7762
Modified:
trunk/BOOK/general/prog/tcl.xml
trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added commands to the Tcl instructions to install optional documentation
Modified: trunk/BOOK/general/prog/tcl.xml
===================================================================
--- trunk/BOOK/general/prog/tcl.xml 2009-02-12 18:32:16 UTC (rev 7761)
+++ trunk/BOOK/general/prog/tcl.xml 2009-02-12 20:44:41 UTC (rev 7762)
@@ -11,6 +11,10 @@
<!ENTITY tcl-buildsize "33 MB">
<!ENTITY tcl-time "0.5 SBU (additional 2.0 SBU to run the test
suite)">
+ <!ENTITY tcl-doc-download
"&sourceforge-repo;/tcl/tcl&tcl-version;-html.tar.gz">
+ <!ENTITY tcl-doc-md5sum "e287dcb71b7e6ba9c7b1606a2020e61c">
+ <!ENTITY tcl-doc-size "925 KB">
+
<!-- Ensure this is updated when Tcl moves to the 8.5.x branch -->
<!ENTITY tcl-ver "8.5">
]>
@@ -57,6 +61,19 @@
</listitem>
</itemizedlist>
+ <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>Optional Documentation: <ulink url="&tcl-doc-download;"/></para>
+ </listitem>
+ <listitem>
+ <para>Download MD5 sum: &tcl-doc-md5sum;</para>
+ </listitem>
+ <listitem>
+ <para>Download size: &tcl-doc-size;</para>
+ </listitem>
+ </itemizedlist>
+
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/tcl"/></para>
@@ -69,6 +86,11 @@
As it is not installed during Chapter 6 of LFS, installation instructions
are included here in BLFS.</para>
+ <para>If you downloaded the optional documentation, unpack the tarball
+ by issuing the following command:</para>
+
+<screen><userinput>tar xf ../tcl&tcl-version;-html.tar.gz
--strip-components=1</userinput></screen>
+
<para>Install <application>Tcl</application> by running the following
commands:</para>
@@ -77,6 +99,7 @@
--enable-threads \
--mandir=/usr/share/man &&
make &&
+
sed -i \
-e "s...@^\(TCL_SRC_DIR='\)....@\1/usr/include'@" \
-e "/TCL_B/s...@='\(-L\)\?.*u...@='\1/usr/lib@" \
@@ -91,15 +114,13 @@
make install-private-headers &&
ln -v -sf tclsh&tcl-ver; /usr/bin/tclsh</userinput></screen>
-<!-- This is removed per discussion and fairly vigorous testing
-install -v -d /usr/include/tcl&tcl-ver;/{unix,generic} &&
-install -v -m644 *.h /usr/include/tcl&tcl-ver;/unix/ &&
-install -v -m644 ../generic/*.h /usr/include/tcl&tcl-ver;/generic/ &&
-rm -v -f /usr/include/tcl&tcl-ver;/generic/tcl{,{,Plat}Decls}.h &&
-ln -v -nsf ../../include/tcl&tcl-ver; /usr/lib/tcl&tcl-ver;/include &&
-ln -v -sf libtcl&tcl-ver;.so /usr/lib/libtcl.so &&
--->
+ <para>If you downloaded the optional documentation, install it by issuing
+ the following commands as the
+ <systemitem class="username">root</systemitem> user:</para>
+<screen role="root"><userinput>install -v -m755 -d
/usr/share/doc/tcl-&tcl-version; &&
+cp -v -R ../html/*
/usr/share/doc/tcl-&tcl-version;</userinput></screen>
+
</sect2>
<sect2 role="commands">
@@ -137,7 +158,8 @@
<seglistitem>
<seg>tclsh and tclsh&tcl-ver;</seg>
<seg>libtcl&tcl-ver;.so and libtclstub&tcl-ver;.a</seg>
- <seg>/usr/lib/tcl8, /usr/lib/tcl&tcl-ver;, and
/usr/share/man/mann</seg>
+ <seg>/usr/lib/tcl8, /usr/lib/tcl&tcl-ver;, /usr/share/man/mann,
+ and optionally, /usr/share/doc/&tcl-version;</seg>
</seglistitem>
</segmentedlist>
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2009-02-12 18:32:16 UTC
(rev 7761)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2009-02-12 20:44:41 UTC
(rev 7762)
@@ -45,6 +45,10 @@
<para>February 12th, 2009</para>
<itemizedlist>
<listitem>
+ <para>[randy] - Added commands to the Tcl instructions to install
+ optional documentation.</para>
+ </listitem>
+ <listitem>
<para>[randy] - Updated to FreeType-2.3.8.</para>
</listitem>
<listitem>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page