Ignore:
Timestamp:
08/27/2012 05:50:50 PM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
4a5a108
Parents:
035ccc1
Message:

Add instructions to Chapter 5 glibc to add rpc headers
to the host system if they are missing.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9963 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    r035ccc1 r0fe6ccd8  
    4343  <sect2 role="installation">
    4444    <title>Installation of Glibc</title>
     45
     46    <para>In some cases, particularly LFS 7.1, the rpc headers were not
     47    installed properly.  Test to see if they are installed in the host system
     48    and install if they are not:</para>
     49
     50<screen><userinput remap="pre">if [ ! -r /usr/include/rpc/types.h ]; then
     51  su -c 'mkdir -p /usr/include/rpc'
     52  su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
     53fi</userinput></screen>
     54
     55    <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
     56
     57<screen><userinput remap="pre">sed -i 's/ -lgcc_s//' Makeconfig</userinput></screen>
    4558
    4659    <para>The Glibc documentation recommends building Glibc outside of the source
     
    6477esac</userinput></screen>
    6578-->
    66     <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
    67 
    68 <screen><userinput remap="pre">sed -i 's/ -lgcc_s//' ../glibc-&glibc-version;/Makeconfig</userinput></screen>
    6979
    7080    <para>Next, prepare Glibc for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.