mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
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
This commit is contained in:
parent
035ccc16f0
commit
0fe6ccd8ae
@ -36,6 +36,19 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
<listitem>
|
||||||
|
<para>2012-08-27</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[bdubbs] - Add instructions to Chapter 5 glibc
|
||||||
|
to add rpc headers to the host system if they are missing.</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>[bdubbs] - Apply upstream patches to make.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>2012-08-26</para>
|
<para>2012-08-26</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -43,6 +43,19 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of Glibc</title>
|
<title>Installation of Glibc</title>
|
||||||
|
|
||||||
|
<para>In some cases, particularly LFS 7.1, the rpc headers were not
|
||||||
|
installed properly. Test to see if they are installed in the host system
|
||||||
|
and install if they are not:</para>
|
||||||
|
|
||||||
|
<screen><userinput remap="pre">if [ ! -r /usr/include/rpc/types.h ]; then
|
||||||
|
su -c 'mkdir -p /usr/include/rpc'
|
||||||
|
su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
|
||||||
|
fi</userinput></screen>
|
||||||
|
|
||||||
|
<para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
|
||||||
|
|
||||||
|
<screen><userinput remap="pre">sed -i 's/ -lgcc_s//' Makeconfig</userinput></screen>
|
||||||
|
|
||||||
<para>The Glibc documentation recommends building Glibc outside of the source
|
<para>The Glibc documentation recommends building Glibc outside of the source
|
||||||
directory in a dedicated build directory:</para>
|
directory in a dedicated build directory:</para>
|
||||||
|
|
||||||
@ -63,9 +76,6 @@ cd ../glibc-build</userinput></screen>
|
|||||||
i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;
|
i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;
|
||||||
esac</userinput></screen>
|
esac</userinput></screen>
|
||||||
-->
|
-->
|
||||||
<para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
|
|
||||||
|
|
||||||
<screen><userinput remap="pre">sed -i 's/ -lgcc_s//' ../glibc-&glibc-version;/Makeconfig</userinput></screen>
|
|
||||||
|
|
||||||
<para>Next, prepare Glibc for compilation:</para>
|
<para>Next, prepare Glibc for compilation:</para>
|
||||||
|
|
||||||
|
@ -71,11 +71,11 @@
|
|||||||
|
|
||||||
<screen><userinput remap="pre">sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
|
<screen><userinput remap="pre">sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
|
||||||
-->
|
-->
|
||||||
|
<!--
|
||||||
<para>Fix a bug that causes the build to fail:</para>
|
<para>Fix a bug that causes the build to fail:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">sed -i 's#<rpc/types.h>#"rpc/types.h"#' sunrpc/rpc_clntout.c</userinput></screen>
|
<screen><userinput remap="pre">sed -i 's#<rpc/types.h>#"rpc/types.h"#' sunrpc/rpc_clntout.c</userinput></screen>
|
||||||
|
-->
|
||||||
<!-- <para>When running <command>make install</command>, a script called
|
<!-- <para>When running <command>make install</command>, a script called
|
||||||
<filename>test-installation.pl</filename> performs a small sanity test on
|
<filename>test-installation.pl</filename> performs a small sanity test on
|
||||||
our newly installed Glibc. However, because our toolchain still points to
|
our newly installed Glibc. However, because our toolchain still points to
|
||||||
@ -223,7 +223,8 @@ grep Error glibc-check-log</userinput></screen>
|
|||||||
<screen><userinput remap="install">make install</userinput></screen>
|
<screen><userinput remap="install">make install</userinput></screen>
|
||||||
|
|
||||||
<para>Install NIS and RPC related headers that are not installed by
|
<para>Install NIS and RPC related headers that are not installed by
|
||||||
default; these are required by several BLFS packages:</para>
|
default; these are required ito rebuild glibc and by several BLFS
|
||||||
|
packages:</para>
|
||||||
|
|
||||||
<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc
|
<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc
|
||||||
cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc
|
cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!ENTITY version "SVN-20120826">
|
<!ENTITY version "SVN-20120827">
|
||||||
<!ENTITY releasedate "August 26, 2012">
|
<!ENTITY releasedate "August 27, 2012">
|
||||||
<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – -->
|
<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – -->
|
||||||
<!ENTITY milestone "7.2">
|
<!ENTITY milestone "7.2">
|
||||||
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
|
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
|
||||||
|
Loading…
Reference in New Issue
Block a user