Ignore:
Timestamp:
01/12/2020 08:06:52 AM (4 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
ede49cd
Parents:
6077ed49
Message:

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11724 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/libcap.xml

    r6077ed49 rf8ea68b  
    4646    <para>Prevent a static library from being installed:</para>
    4747
    48 <screen><userinput remap="pre">sed -i '/install.*STALIBNAME/d' libcap/Makefile</userinput></screen>
     48<screen><userinput remap="pre">sed -i '/install.*STACAPLIBNAME/d' libcap/Makefile</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput remap="make">make</userinput></screen>
    53 
    54     <para>This package does not come with a test suite.</para>
    55 
    56     <para>Install the package:</para>
    57 
    58 <screen><userinput remap="install">make RAISE_SETFCAP=no lib=lib prefix=/usr install
    59 chmod -v 755 /usr/lib/libcap.so.&libcap-version;</userinput></screen>
     52<screen><userinput remap="make">make lib=lib</userinput></screen>
    6053
    6154    <variablelist>
     
    6356
    6457      <varlistentry>
    65         <term><parameter>RAISE_SETFCAP=no</parameter></term>
    66         <listitem>
    67           <para>This parameter skips trying to use <command>setcap</command>
    68           on itself. This avoids an installation error if the kernel or file
    69           system does not support extended capabilities.</para>
    70         </listitem>
    71       </varlistentry>
    72 
    73       <varlistentry>
    7458        <term><parameter>lib=lib</parameter></term>
    7559        <listitem>
    76           <para>This parameter installs the library in
    77           <filename>$prefix/lib</filename> rather than
    78           <filename>$prefix/lib64</filename> on x86_64. It has no effect on
     60          <para>This parameter sets the library directory to
     61          <filename>/lib</filename> rather than
     62          <filename>/lib64</filename> on x86_64. It has no effect on
    7963          x86.</para>
    8064        </listitem>
    8165      </varlistentry>
    82  
    8366    </variablelist>
    8467
    85     <para>The shared library needs to be moved to
    86     <filename class="directory">/lib</filename>, and as a result the
    87     <filename class="extension">.so</filename> file in
    88     <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
    89 
    90 <screen><userinput remap="install">mv -v /usr/lib/libcap.so.* /lib
    91 ln -sfv ../../lib/$(readlink /usr/lib/libcap.so) /usr/lib/libcap.so</userinput></screen>
     68    <para>To test the results, issue:</para>
     69
     70<screen><userinput remap="test">make test</userinput></screen>
     71
     72    <para>Install the package:</para>
     73
     74<screen><userinput remap="install">make lib=lib install
     75chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
    9276
    9377  </sect2>
     
    140124      <seglistitem>
    141125        <seg>capsh, getcap, getpcaps, and setcap</seg>
    142         <seg>libcap.so</seg>
     126        <seg>libcap.so and libpsx.a</seg>
    143127      </seglistitem>
    144128    </segmentedlist>
     
    200184      </varlistentry>
    201185
     186      <varlistentry id="libpsx">
     187        <term><filename class="libraryfile">libpsx</filename></term>
     188        <listitem>
     189          <para>Contains functions to support POSIX semantics for syscalls
     190          associated with the pthread library</para>
     191          <indexterm zone="ch-system-libcap libpsx">
     192            <primary sortas="c-libpsx">libpsx</primary>
     193          </indexterm>
     194        </listitem>
     195      </varlistentry>
     196
    202197    </variablelist>
    203198
Note: See TracChangeset for help on using the changeset viewer.