Ignore:
Timestamp:
05/08/2012 01:40:42 AM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
9bbd056
Parents:
d74470c7
Message:

Fix libtirpc build instructions to avoid .la file weirdness. Add new parameter to pciutils make command and recommend librsvg for eog.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netlibs/libtirpc.xml

    rd74470c7 rc503fad7  
    3030    <title>Introduction to libtirpc</title>
    3131
    32     <para>The <application>libtirpc</application> package contains
    33     libraries that support programs that use the Remote Procedure Call (RPC)
    34     API. It replaces the RPC, but not the NIS library entries that
    35     used to be in glibc.</para>
     32    <para>
     33      The <application>libtirpc</application> package contains
     34      libraries that support programs that use the Remote Procedure Call (RPC)
     35      API. It replaces the RPC, but not the NIS library entries that
     36      used to be in glibc.
     37    </para>
    3638
    3739    &lfs70_checked;
     
    4042    <itemizedlist spacing='compact'>
    4143      <listitem>
    42         <para>Download (HTTP): <ulink url="&libtirpc-download-http;"/></para>
     44        <para>
     45          Download (HTTP): <ulink url="&libtirpc-download-http;"/>
     46        </para>
    4347      </listitem>
    4448      <listitem>
    45         <para>Download (FTP): <ulink url="&libtirpc-download-ftp;"/></para>
     49        <para>
     50          Download (FTP): <ulink url="&libtirpc-download-ftp;"/>
     51        </para>
    4652      </listitem>
    4753      <listitem>
    48         <para>Download MD5 sum: &libtirpc-md5sum;</para>
     54        <para>
     55          Download MD5 sum: &libtirpc-md5sum;
     56        </para>
    4957      </listitem>
    5058      <listitem>
    51         <para>Download size: &libtirpc-size;</para>
     59        <para>
     60          Download size: &libtirpc-size;
     61        </para>
    5262      </listitem>
    5363      <listitem>
    54         <para>Estimated disk space required: &libtirpc-buildsize;</para>
     64        <para>
     65          Estimated disk space required: &libtirpc-buildsize;
     66        </para>
    5567      </listitem>
    5668      <listitem>
    57         <para>Estimated build time: &libtirpc-time;</para>
     69        <para>
     70          Estimated build time: &libtirpc-time;
     71        </para>
    5872      </listitem>
    5973    </itemizedlist>
     
    6276    <itemizedlist spacing='compact'>
    6377      <listitem>
    64         <para>Required header tar file (Add rpc/nis headers):
    65         <ulink
    66         url="&sources-anduin-other;/rpcnis-headers.tar.bz2"/></para>
     78        <para>
     79          Required header tar file (Add rpc/nis headers):
     80          <ulink url="&sources-anduin-other;/rpcnis-headers.tar.bz2"/>
     81        </para>
    6782      </listitem>
    6883      <listitem>
    69         <para>Required Patch (Remove nis dependencies):
    70         <ulink
    71         url="&patch-root;/libtirpc-&libtirpc-version;-remove-nis-2.patch"/></para>
     84        <para>
     85          Required Patch (Remove nis dependencies):
     86          <ulink url="&patch-root;/libtirpc-&libtirpc-version;-remove-nis-2.patch"/>
     87        </para>
    7288      </listitem>
    7389    </itemizedlist>
     
    93109    <title>Installation of libtirpc</title>
    94110
    95     <para>Glibc-2.14 and later do not install NIS and RPC related headers by
    96     default.  If needed, install them here:</para>
     111    <para>
     112      Glibc-2.14 and later do not install NIS and RPC related headers by
     113      default. If needed, install them here:
     114    </para>
    97115
    98116<screen><userinput>if [ ! -r /usr/include/rpc/rpc.h ]; then
     
    100118fi</userinput></screen>
    101119
    102     <para>Install <application>libtirpc</application> by running the following
    103     commands:</para>
     120    <para>
     121      Install <application>libtirpc</application> by running the following
     122      commands:
     123    </para>
    104124
    105125<screen><userinput>patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-2.patch &amp;&amp;
    106 autoreconf                              &amp;&amp;
    107 ./configure --prefix=/usr --libdir=/lib CFLAGS="-fPIC" &amp;&amp;
     126autoreconf &amp;&amp;
     127./configure --prefix=/usr CFLAGS="-fPIC" &amp;&amp;
    108128make</userinput></screen>
    109129
    110     <para>This package does not come with a test suite.</para>
     130    <para>
     131      This package does not come with a test suite.
     132    </para>
    111133
    112     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     134    <para>
     135      Now, as the <systemitem class="username">root</systemitem> user:
     136    </para>
    113137
    114 <screen role='root'><userinput>make pkgconfigdir=/usr/lib/pkgconfig install &amp;&amp;
    115 mv -v /lib/libtirpc.*a /usr/lib</userinput></screen>
     138<screen role="root"><userinput>make install &amp;&amp;
     139mv -v /usr/lib/libtirpc.so.* /lib &amp;&amp;
     140ln -sfv ../../lib/libtirpc.so.1.0.10 /usr/lib/libtirpc.so</userinput></screen>
    116141
    117142  </sect2>
     
    120145    <title>Command Explanations</title>
    121146
    122     <para><userinput>patch -Np1 -i
    123     ../libtirpc-&libtirpc-version;-remove-nis-2.patch</userinput>: This patch
    124     removes references to nis functions no longer in
    125     <application>glibc</application>.</para>
    126 
    127     <para><option>--libdir=/lib</option>: Since this library may be used before
    128     /usr is mounted, place the library in /lib.</para>
    129 
    130     <para><option>pkgconfigdir=/usr/lib/pkgconfig</option>: Ensure the .pc file
    131     is placed in the proper location.</para>
    132 
    133     <para><option>mv -v /lib/libtirpc.*a</option>: Static libraries and .la files
    134     belong in /usr/lib.</para>
     147    <para>
     148      <command>mv -v /usr/lib/libtirpc.so.* ...</command>: Move shared
     149      libraries into /lib so they are available before /usr is mounted.
     150    </para>
    135151
    136152  </sect2>
     
    140156
    141157    <segmentedlist>
    142       <segtitle>Installed Programs</segtitle>
    143158      <segtitle>Installed Libraries</segtitle>
    144       <segtitle>Installed Directory</segtitle>
     159      <segtitle>Installed Directories</segtitle>
    145160
    146161      <seglistitem>
    147         <seg>None</seg>
    148         <seg>liblibtirpc.{so,a}</seg>
    149         <seg>/usr/include/libtirpc</seg>
     162        <seg>
     163          libtirpc.{so,a}
     164        </seg>
     165        <seg>
     166          /etc/netconfig and
     167          /usr/include/libtirpc
     168        </seg>
    150169      </seglistitem>
    151170    </segmentedlist>
     
    159178        <term><filename class='libraryfile'>libtirpc.{so,a}</filename></term>
    160179        <listitem>
    161           <para>provides the Remote Procedure Call (RPC) API functions required by
    162           other programs.</para>
     180          <para>
     181            provides the Remote Procedure Call (RPC) API functions required by
     182            other programs.
     183          </para>
    163184          <indexterm zone="libtirpc libtirpc-lib">
    164             <primary sortas="c-libtirpc-lib">liblibtirpc.{so,a}</primary>
     185            <primary sortas="c-libtirpc">libtirpc.{so,a}</primary>
    165186          </indexterm>
    166187        </listitem>
Note: See TracChangeset for help on using the changeset viewer.