Changeset 85e109d


Ignore:
Timestamp:
09/14/2014 01:39:38 PM (8 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 7.10, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, krejzi/svn, lazarus, nosym, perl-modules, qt5new, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
547042b2
Parents:
b62ac136
Message:

tcl-8.6.2: fixes for the build instructions.
Add optional instructions for sqlite-tcl to SQLite-3.8.6.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/tcl.xml

    rb62ac136 r85e109d  
    124124    </para>
    125125
    126 <screen><userinput>cd unix &amp;&amp;
     126<screen><userinput>rm -rf pkgs/sqlite3.8.6 &amp;&amp;
     127export SRCDIR=`pwd`     &amp;&amp;
     128
     129cd unix &amp;&amp;
     130
    127131./configure --prefix=/usr           \
    128132            --without-tzdata        \
     
    130134            $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
    131135make &amp;&amp;
    132 
     136<!--
    133137sed -e "s@^\(TCL_SRC_DIR='\).*@\1/usr/include'@" \
    134138    -e "/TCL_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
    135     -i tclConfig.sh</userinput></screen>
     139    -i tclConfig.sh</userinput></screen>-->
     140sed -e "s#$SRCDIR/unix#/usr/lib#" \
     141    -e "s#$SRCDIR#/usr/include#"  \
     142    -i tclConfig.sh               &amp;&amp;
     143
     144sed -e "s#$SRCDIR/unix/pkgs/tdbc1.0.1#/usr/lib/tdbc1.0.0#" \
     145    -e "s#$SRCDIR/pkgs/tdbc1.0.1/generic#/usr/include#"    \
     146    -e "s#$SRCDIR/pkgs/tdbc1.0.1/library#/usr/lib/tcl8.6#" \
     147    -e "s#$SRCDIR/pkgs/tdbc1.0.1#/usr/include#"            \
     148    -i pkgs/tdbc1.0.1/tdbcConfig.sh                        &amp;&amp;
     149
     150sed -e "s#$SRCDIR/unix/pkgs/itcl4.0.1#/usr/lib/itcl4.0.0#" \
     151    -e "s#$SRCDIR/pkgs/itcl4.0.1/generic#/usr/include#"    \
     152    -e "s#$SRCDIR/pkgs/itcl4.0.1#/usr/include#"            \
     153    -i pkgs/itcl4.0.1/itclConfig.sh                        &amp;&amp;
     154
     155unset SRCDIR</userinput></screen>
     156
    136157
    137158    <para>
     
    190211
    191212    <para>
    192       <command>sed -e ... tclConfig.sh</command>: The
    193       <application>Tcl</application> package expects that its source tree is
    194       preserved so that packages depending on it for their compilation
    195       can utilize it. This <command>sed</command> removes the references to the
    196       build directory and replaces them with saner system-wide locations.
     213      <command>rm -rf pkgs/sqlite3.8.6 </command>: <application>SQLite Tcl
     214      Extension Architecture (TEA)</application> is removed, because it is
     215      optionally installed by <xref linkend="sqlite"/>
     216    </para>
     217
     218    <para>
     219      <command>sed -e ...</command>: The <application>Tcl</application> package
     220      expects that its source tree is preserved so that packages depending on
     221      it for their compilation can utilize it. These <command>sed</command>
     222      remove the references to the build directory and replace them with saner
     223      system-wide locations.
    197224    </para>
    198225
     
    216243        <seg>
    217244          /usr/lib/itcl4.0.1,
    218           /usr/lib/sqlite3.8.6,
    219245          /usr/lib/tcl8,
    220246          /usr/lib/tcl&tcl-ver;,
  • introduction/welcome/changelog.xml

    rb62ac136 r85e109d  
    4848      <para>September 14th, 2014</para>
    4949      <itemizedlist>
     50        <listitem>
     51          <para>[fernando] - Add optional instructions for sqlite-tcl to
     52          SQLite-3.8.6. Fixes
     53          <ulink url="&blfs-ticket-root;5512">#5512</ulink>.</para>
     54        </listitem>
     55        <listitem>
     56          <para>[fernando] - tcl-8.6.2: fixes for the build instructions. Fixes
     57          <ulink url="&blfs-ticket-root;5511">#5511</ulink>.</para>
     58        </listitem>
    5059        <listitem>
    5160          <para>[bdubbs] - Update to valgrind-3.10.0. Fixes
  • server/databases/sqlite.xml

    rb62ac136 r85e109d  
    105105    <bridgehead renderas="sect4">Optional</bridgehead>
    106106    <para role="optional">
    107       <xref linkend="unzip"/> (required to unzip the documentation).
     107      <xref linkend="tcl"/> (required to build <application>SQLite Tcl
     108      Extension Architecture - TEA</application>, also know as
     109      <application>sqlite-tcl</application>) and
     110      <xref linkend="unzip"/> (required to unzip the documentation)
    108111    </para>
    109112
     
    136139
    137140    <para>
     141      If you wish to install <application>sqlite-tcl</application>, run the
     142      following commands:
     143    </para>
     144
     145<screen><userinput>cd tea &amp;&amp;
     146./configure --prefix=/usr --with-system-sqlite &amp;&amp;
     147make &amp;&amp;
     148cd ..</userinput></screen>
     149
     150    <para>
    138151      This package does not come with a test suite.
    139152    </para>
     
    152165<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &amp;&amp;
    153166cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
     167
     168    <para>
     169      If you decided to install <application>sqlite-tcl</application>, issue
     170      the following commands as the
     171      <systemitem class="username">root</systemitem> user:
     172    </para>
     173
     174<screen><userinput>cd tea       &amp;&amp;
     175make install &amp;&amp;
     176cd ..</userinput></screen>
     177
    154178  </sect2>
    155179
     
    180204    <segmentedlist>
    181205      <segtitle>Installed Program</segtitle>
    182       <segtitle>Installed Library</segtitle>
    183       <segtitle>Installed Directory</segtitle>
     206      <segtitle>Installed Libraries</segtitle>
     207      <segtitle>Installed Directories</segtitle>
    184208
    185209      <seglistitem>
     
    188212        </seg>
    189213        <seg>
    190           libsqlite3.so
     214          libsqlite3.so and (optionally)
     215          /usr/lib/sqlite&sqlite-version;/libsqlite&sqlite-version;.so
    191216        </seg>
    192217        <seg>
     218          /usr/lib/sqlite&sqlite-version; (optionally) and
    193219          /usr/share/doc/sqlite-&sqlite-version;
    194220        </seg>
Note: See TracChangeset for help on using the changeset viewer.