Ignore:
Timestamp:
09/14/2014 01:39:38 PM (10 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, 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, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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

File:
1 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;,
Note: See TracChangeset for help on using the changeset viewer.