Kaynağa Gözat

Fix util-linux utilising /stage1 headers and libs instead of the host's version.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2729 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 22 yıl önce
ebeveyn
işleme
e991f768a2
2 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 3 0
      chapter01/changelog.xml
  2. 6 0
      chapter05/utillinux-inst.xml

+ 3 - 0
chapter01/changelog.xml

@@ -82,6 +82,9 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>September 3rd, 2003 [matt]: Fixed issue with util-linux not
+utilising headers and libraries installed in /stage1.</para></listitem>
+
 <listitem><para>September 3rd, 2003 [matt]: Removed "rm /bin/pwd" instruction
 from chapter06 kernel-headers installation as the link is still required by
 glibc's installation.</para></listitem>

+ 6 - 0
chapter05/utillinux-inst.xml

@@ -3,6 +3,12 @@
 <sect2>
 <title>Installation of Util-linux</title>
 
+<para>Util-linux doesn't use the freshly installed headers and libraries from
+the /stage1 directory.  This is fixed by altering the configure script:</para>
+
+<para><screen><userinput>cp configure configure.backup
+sed "s@/usr/include@/stage1/include@g" configure.backup > configure</userinput> </screen></para>
+
 <para>Prepare Util-linux for compilation:</para>
 
 <para><screen><userinput>./configure</userinput></screen></para>