Ignore:
Timestamp:
12/24/2005 08:09:19 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, 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:
a27d1cf
Parents:
cb8a404
Message:

Fixed a syntax error in the configure scripts and simplified the existing sed commands in the Tcl and Tk instructions

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/tcl.xml

    rcb8a404 r4c34d6e2  
    8181export DIR=$PWD &amp;&amp;
    8282cd unix &amp;&amp;
     83sed -i "s/relid'/relid/" configure &amp;&amp;
    8384./configure --prefix=/usr --enable-threads &amp;&amp;
    8485make &amp;&amp;
    85 sed -i "s:${DIR}/unix:/usr/lib:" tclConfig.sh &amp;&amp;
    86 sed -i "s:${DIR}:/usr/include/tcl${V}:" tclConfig.sh &amp;&amp;
    87 sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',\
    88 TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh</userinput></screen>
     86sed -i -e "s:${DIR}/unix:/usr/lib:" \
     87       -e "s:${DIR}:/usr/include/tcl${V}:" \
     88       -e "s:^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so':\
     89TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\":" tclConfig.sh</userinput></screen>
    8990
    9091    <para>To test the results, issue: <command>make test</command>.</para>
     
    124125    to build with thread support.</para>
    125126
    126     <para><command>sed -i ...</command>: The <application>Tcl</application>
    127     package assumes that the source used to build
     127    <para><command>sed -i "s/relid'/relid/" configure</command>: This command
     128    fixes a syntax error in the <command>configure</command> script.</para>
     129
     130    <para><command>sed -i -e ... tclConfig.sh</command>: The
     131    <application>Tcl</application> package assumes that the source used to build
    128132    <application>Tcl</application> is always kept around for compiling packages
    129     that depend on <application>Tcl</application>. These <command>sed</command>s
    130     remove the reference to the build directory and replace them by saner
     133    that depend on <application>Tcl</application>. This <command>sed</command>
     134    removes the references to the build directory and replaces them by saner
    131135    system-wide locations.</para>
    132136
Note: See TracChangeset for help on using the changeset viewer.