Changeset d8614521 for general/prog


Ignore:
Timestamp:
01/30/2005 11:01:56 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.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:
00e4e18
Parents:
c2688a0
Message:

Separated root installation from build commands in remaining packages that are already indexed

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

Location:
general/prog
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/ruby.xml

    rc2688a0 rd8614521  
    6363<screen><userinput><command>./configure --prefix=/usr \
    6464    --enable-shared --enable-pthread &amp;&amp;
    65 make &amp;&amp;
    66 make install &amp;&amp;
     65make</command></userinput></screen>
     66
     67<para>Now, as the root user:</para>
     68
     69<screen><userinput role='root'><command>make install &amp;&amp;
    6770make install-doc</command></userinput></screen>
    6871
  • general/prog/tcl.xml

    rc2688a0 rd8614521  
    5555commands:</para>
    5656
    57 <screen><userinput><command>VERSION=&tcl-version; &amp;&amp;
    58 V=`echo $VERSION | cut -d "." -f 1,2` &amp;&amp;
    59 DIR=$PWD &amp;&amp;
     57<screen><userinput><command>export VERSION=&tcl-version; &amp;&amp;
     58export V=`echo $VERSION | cut -d "." -f 1,2` &amp;&amp;
     59export DIR=$PWD &amp;&amp;
    6060cd unix &amp;&amp;
    6161./configure --prefix=/usr --enable-threads &amp;&amp;
     
    6565sed -i \
    6666  "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," \
    67   tclConfig.sh &amp;&amp;
    68 make install &amp;&amp;
     67  tclConfig.sh</command></userinput></screen>
     68
     69<para>Now, as the root user:</para>
     70
     71<screen><userinput role='root'><command>make install &amp;&amp;
    6972install -d /usr/include/tcl${V}/unix &amp;&amp;
    7073install -m644 *.h /usr/include/tcl${V}/unix/ &amp;&amp;
     
    7679ln -sf tclsh${V} /usr/bin/tclsh</command></userinput></screen>
    7780
     81<para>Clean up the unprivileged user's environment using the following
     82commands:</para>
     83
     84<screen><userinput><command>unset VERSION &amp;&amp;
     85unset V &amp;&amp;
     86unset DIR</command></userinput></screen>
     87
     88<!--
    7889<caution><para>If you build the package as an ordinary user and then switch to
    7990root to install the package, ensure you set the environment variables
    8091<envar>V</envar> and <envar>VERSION</envar> before running the installation
    8192commands.</para></caution>
     93-->
    8294
    8395</sect2>
     
    92104package assumes that the source that is used to build
    93105<application>Tcl</application> is always kept around for compiling packages
    94 that depend on <application>Tcl</application>. These <command>sed</command>'s
     106that depend on <application>Tcl</application>. These <command>sed</command>s
    95107remove the reference to the build directory and replace them by saner system
    96108wide locations.</para>
     
    108120<segmentedlist>
    109121<segtitle>Installed Program</segtitle>
    110 <segtitle>Installed Library</segtitle>
     122<segtitle>Installed Libraries</segtitle>
    111123<segtitle>Installed Directories</segtitle>
    112124<seglistitem>
    113125<seg>tclsh</seg>
    114 <seg>libtcl</seg>
     126<seg>libtcl.so and libtclstub8.4.a</seg>
    115127<seg>/usr/lib/tcl8.4 and /usr/include/tcl8.4</seg></seglistitem>
    116128</segmentedlist>
  • general/prog/tk.xml

    rc2688a0 rd8614521  
    5555commands:</para>
    5656
    57 <screen><userinput><command>VERSION=&tk-version; &amp;&amp;
    58 V=`echo $VERSION | cut -d "." -f 1,2` &amp;&amp;
    59 DIR=$PWD &amp;&amp;
     57<screen><userinput><command>export VERSION=&tk-version; &amp;&amp;
     58export V=`echo $VERSION | cut -d "." -f 1,2` &amp;&amp;
     59export DIR=$PWD &amp;&amp;
    6060cd unix &amp;&amp;
    6161./configure --prefix=/usr --enable-threads &amp;&amp;
    6262make &amp;&amp;
    6363sed -i "s:${DIR}/unix:/usr/lib:" tkConfig.sh &amp;&amp;
    64 sed -i "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh &amp;&amp;
    65 make install &amp;&amp;
     64sed -i "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh</command></userinput></screen>
     65
     66<para>Now, as the root user:</para>
     67
     68<screen><userinput role='root'><command>make install &amp;&amp;
    6669install -d /usr/include/tk${V}/unix &amp;&amp;
    6770install -m644 *.h /usr/include/tk${V}/unix/ &amp;&amp;
     
    7376ln -sf wish${V} /usr/bin/wish</command></userinput></screen>
    7477
     78<para>Clean up the unprivileged user's environment using the following
     79commands:</para>
     80
     81<screen><userinput><command>unset VERSION &amp;&amp;
     82unset V &amp;&amp;
     83unset DIR</command></userinput></screen>
     84
     85<!--
    7586<caution><para>If you build the package as an ordinary user and then switch to
    7687root to install the package, ensure you set the environment variables
    7788<envar>V</envar> and <envar>VERSION</envar> before running the installation
    7889commands.</para></caution>
     90-->
    7991
    8092</sect2>
     
    106118<segmentedlist>
    107119<segtitle>Installed Program</segtitle>
    108 <segtitle>Installed Library</segtitle>
     120<segtitle>Installed Libraries</segtitle>
    109121<segtitle>Installed Directories</segtitle>
    110122<seglistitem>
    111123<seg>wish</seg>
    112 <seg>libtk</seg>
     124<seg>libtk.so and libtkstub8.4.a</seg>
    113125<seg>/usr/lib/tk8.4 and /usr/include/tk8.4</seg></seglistitem>
    114126</segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.