Changeset d8614521


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

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netutils/whois.xml

    rc2688a0 rd8614521  
    5252commands:</para>
    5353
    54 <screen><userinput><command>make &amp;&amp;
    55 make prefix=/usr install</command></userinput></screen>
     54<screen><userinput><command>make</command></userinput></screen>
     55
     56<para>Now, as the root user:</para>
     57
     58<screen><userinput role='root'><command>make prefix=/usr install</command></userinput></screen>
    5659
    5760</sect2>
     
    6265<segmentedlist>
    6366<segtitle>Installed Programs</segtitle>
     67<segtitle>Installed Libraries</segtitle>
     68<segtitle>Installed Directories</segtitle>
    6469<seglistitem>
    6570<seg>whois</seg>
     71<seg>None</seg>
     72<seg>None</seg>
    6673</seglistitem>
    6774</segmentedlist>
  • general/genlib/popt.xml

    rc2688a0 rd8614521  
    6868cp configure.in configure.ac &amp;&amp;
    6969touch configure.in configure.ac &amp;&amp;
    70 make &amp;&amp;
    71 make install</command></userinput></screen>
     70make</command></userinput></screen>
     71
     72<para>Now, as the root user:</para>
     73
     74<screen><userinput role='root'><command>make install</command></userinput></screen>
    7275
    7376</sect2>
     
    9194  <segtitle>Installed Library</segtitle>
    9295  <seglistitem>
    93     <seg>libpopt</seg>
     96    <seg>libpopt.[so,a]</seg>
    9497  </seglistitem>
    9598</segmentedlist>
     
    100103
    101104  <varlistentry id="libpopt">
    102   <term><filename role='library'>libpopt.so</filename></term>
     105  <term><filename role='library'>libpopt.[so,a]</filename></term>
    103106  <listitem>
    104107    <para> is used to parse command-line options.</para>
    105108    <indexterm zone="popt libpopt">
    106       <primary sortas="c-libpopt">libpopt</primary>
     109      <primary sortas="c-libpopt">libpopt.[so,a]</primary>
    107110     </indexterm>
    108111  </listitem>
  • 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>
  • introduction/welcome/changelog.xml

    rc2688a0 rd8614521  
    2323<itemizedlist>
    2424
    25 <listitem><para>January 30th, 2005 [dj]: Fixed craclib_dict_path check
     25<listitem><para>January 30th, 2005 [dj]: Fixed cracklib_dict_path check
    2626in Linux_PAM configure.  Added change to
    2727Linux-PAM-linkage-2.patch.</para></listitem>
  • multimedia/cdwriteutils/udftools.xml

    rc2688a0 rd8614521  
    6262</sect2>
    6363
    64 <sect2>
     64<sect2 id="udftools-kernel">
    6565<title>Installation of the kernel patch</title>
     66<indexterm zone="udftools udftools-kernel">
     67<primary sortas="d-UDF-File-System">UDF File System</primary>
     68</indexterm>
    6669
    6770<warning>
  • postlfs/shells/tcsh.xml

    rc2688a0 rd8614521  
    5555
    5656<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
    57 make &amp;&amp;
    58 make install &amp;&amp;
     57make</command></userinput></screen>
     58
     59<para>Now, as the root user:</para>
     60
     61<screen><userinput role='root'><command>make install &amp;&amp;
    5962make install.man &amp;&amp;
    6063ln -sf /usr/bin/tcsh /bin/csh</command></userinput></screen>
     
    115118<segmentedlist>
    116119<segtitle>Installed Program</segtitle>
     120<segtitle>Installed Libraries</segtitle>
     121<segtitle>Installed Directories</segtitle>
    117122<seglistitem>
    118123<seg>tcsh</seg>
     124<seg>None</seg>
     125<seg>None</seg>
    119126</seglistitem>
    120127</segmentedlist>
  • postlfs/shells/zsh.xml

    rc2688a0 rd8614521  
    6161
    6262<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
    63 make &amp;&amp;
    64 make install</command></userinput></screen>
     63make</command></userinput></screen>
     64
     65<para>Now, as the root user:</para>
     66
     67<screen><userinput role='root'><command>make install</command></userinput></screen>
    6568
    6669</sect2>
     
    98101<segmentedlist>
    99102<segtitle>Installed Program</segtitle>
     103<segtitle>Installed Libraries</segtitle>
     104<segtitle>Installed Directories</segtitle>
    100105<seglistitem>
    101106<seg>zsh</seg>
     107<seg>None</seg>
     108<seg>None</seg>
    102109</seglistitem>
    103110</segmentedlist>
  • server/mail/sendmail.xml

    rc2688a0 rd8614521  
    6666<para>Before building <application>Sendmail</application>, create the users,
    6767groups and directories that <application>Sendmail</application> requires
    68 with the following commands:</para>
    69 
    70 <screen><userinput><command>groupadd smmsp &amp;&amp;
     68with the following commands issued as the root user:</para>
     69
     70<screen><userinput role='root'><command>groupadd smmsp &amp;&amp;
    7171groupadd mail &amp;&amp;
    7272useradd -c "Sendmail Daemon" -g smmsp -G mail smmsp &amp;&amp;
     
    8888cd ../cf/cf &amp;&amp;
    8989cp generic-linux.mc sendmail.mc &amp;&amp;
    90 sh Build sendmail.cf &amp;&amp;
    91 mkdir /etc/mail &amp;&amp;
     90sh Build sendmail.cf</command></userinput></screen>
     91
     92<para>Now, as the root user:</para>
     93
     94<screen><userinput role='root'><command>install -v -d -m755 /etc/mail &amp;&amp;
    9295sh Build install-cf &amp;&amp;
    9396cd ../../ &amp;&amp;
    9497sh Build install &amp;&amp;
    95 cp -R cf/* /etc/mail &amp;&amp;
    96 cp cf/cf/{submit,sendmail}.mc /etc/mail &amp;&amp;
     98cp -v -R cf/* /etc/mail &amp;&amp;
     99cp -v cf/cf/{submit,sendmail}.mc /etc/mail &amp;&amp;
    97100for manpage in sendmail editmap mailstats makemap praliases smrsh
    98101do
    99     install -m444 $manpage/$manpage.8  /usr/share/man/man8
     102    install -v -m444 $manpage/$manpage.8 /usr/share/man/man8
    100103done &amp;&amp;
    101 install -m444 sendmail/aliases.5    /usr/share/man/man5 &amp;&amp;
    102 install -m444 sendmail/mailq.1      /usr/share/man/man1 &amp;&amp;
    103 install -m444 sendmail/newaliases.1 /usr/share/man/man1 &amp;&amp;
    104 install -m444 vacation/vacation.1   /usr/share/man/man1</command></userinput></screen>
     104install -v -m444 sendmail/aliases.5    /usr/share/man/man5 &amp;&amp;
     105install -v -m444 sendmail/mailq.1      /usr/share/man/man1 &amp;&amp;
     106install -v -m444 sendmail/newaliases.1 /usr/share/man/man1 &amp;&amp;
     107install -v -m444 vacation/vacation.1   /usr/share/man/man1</command></userinput></screen>
    105108
    106109<para><emphasis>Note:</emphasis> See the source tree
     
    122125<screen><userinput><command>cd doc/op &amp;&amp;
    123126sed -i -e 's/groff/GROFF_NO_SGR=1 groff/' Makefile &amp;&amp;
    124 make op.txt op.pdf &amp;&amp;
    125 install -d -m 755 /usr/share/doc/sendmail-&sendmail-version; &amp;&amp;
    126 install -m 644 op.ps op.txt op.pdf /usr/share/doc/sendmail-&sendmail-version; &amp;&amp;
     127make op.txt op.pdf</command></userinput></screen>
     128
     129<para>Now, as the root user:</para>
     130
     131<screen><userinput role='root'><command>install -v -d -m755 /usr/share/doc/sendmail-&sendmail-version; &amp;&amp;
     132install -v -m644 op.ps op.txt op.pdf \
     133    /usr/share/doc/sendmail-&sendmail-version; &amp;&amp;
    127134cd ../../</command></userinput></screen>
    128135
     
    165172<para>Create the <filename>/etc/mail/local-host-names</filename> and
    166173<filename>/etc/mail/aliases</filename> files using the following
    167 commands:</para>
    168 
    169 <screen><userinput><command>echo $(hostname) > /etc/mail/local-host-names
     174commands as the root user:</para>
     175
     176<screen><userinput role='root'><command>echo $(hostname) > /etc/mail/local-host-names
    170177cat &gt; /etc/mail/aliases &lt;&lt; "EOF"</command>
    171178postmaster: root
     
    195202<primary sortas="f-sendmail-init">sendmail</primary></indexterm>
    196203
    197 <screen><userinput><command>make install-sendmail</command></userinput></screen>
     204<screen><userinput role='root'><command>make install-sendmail</command></userinput></screen>
    198205
    199206<note><para>The -qNm option to <command>sendmail</command>, where N is number
     
    211218<segmentedlist>
    212219<segtitle>Installed Programs</segtitle>
    213 <segtitle>Installed Directory</segtitle>
     220<segtitle>Installed Libraries</segtitle>
     221<segtitle>Installed Directories</segtitle>
    214222<seglistitem>
    215223<seg>editmap, hoststat, mailstats, mailq, makemap, newaliases, praliases,
    216224purgestat, sendmail, smrsh and vacation</seg>
     225<seg>None</seg>
    217226<seg>/etc/mail and /usr/share/doc/sendmail-&sendmail-version;</seg>
    218227</seglistitem>
Note: See TracChangeset for help on using the changeset viewer.