Browse Source

[Bug 150] Re-create /bin/sh symlink in chapter 6 + similar things

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1371 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 23 years ago
parent
commit
60fd3bbd6f
4 changed files with 16 additions and 2 deletions
  1. 4 0
      chapter01/changelog.xml
  2. 2 0
      chapter06/bash-inst.xml
  3. 3 1
      chapter06/fileutils-inst.xml
  4. 7 1
      chapter06/gcc-inst.xml

+ 4 - 0
chapter01/changelog.xml

@@ -6,6 +6,10 @@
 
 
 <itemizedlist>
 <itemizedlist>
 
 
+<listitem><para>December 10th, 2001 [markh]: Chapter 6: Re-create
+symlinks in bash, fileutils and gcc instructions to make the Chapter 6
+instructions independent of those in chapter 5.</para></listitem>
+
 <listitem><para>December 10th, 2001 [marcheerdink]: Chapter 5+6: Cleaned
 <listitem><para>December 10th, 2001 [marcheerdink]: Chapter 5+6: Cleaned
 up the sed commands to use the backup file that was created earlier instead
 up the sed commands to use the backup file that was created earlier instead
 of writing to an intermediate 'tmp~' file.</para></listitem>
 of writing to an intermediate 'tmp~' file.</para></listitem>

+ 2 - 0
chapter06/bash-inst.xml

@@ -7,6 +7,8 @@
 &nbsp;&nbsp;&nbsp;--bindir=/bin &amp;&amp;
 &nbsp;&nbsp;&nbsp;--bindir=/bin &amp;&amp;
 make &amp;&amp;
 make &amp;&amp;
 make install &amp;&amp;
 make install &amp;&amp;
+cd /bin &amp;&amp;
+ln -sf bash sh &amp;&amp;
 exec /bin/bash --login</userinput></screen></para>
 exec /bin/bash --login</userinput></screen></para>
 
 
 </sect2>
 </sect2>

+ 3 - 1
chapter06/fileutils-inst.xml

@@ -6,7 +6,9 @@
 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
 &nbsp;&nbsp;&nbsp;--libexecdir=/bin &amp;&amp;
 &nbsp;&nbsp;&nbsp;--libexecdir=/bin &amp;&amp;
 make &amp;&amp;
 make &amp;&amp;
-make install</userinput></screen></para>
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf ../../bin/install</userinput></screen></para>
 
 
 </sect2>
 </sect2>
 
 

+ 7 - 1
chapter06/gcc-inst.xml

@@ -23,7 +23,13 @@ cd ../gcc-build &amp;&amp;
 ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
 ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
 &nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;
 &nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;
 make bootstrap &amp;&amp;
 make bootstrap &amp;&amp;
-make install</userinput></screen></para>
+make install &amp;&amp;
+cd /lib &amp;&amp;
+ln -sf ../usr/bin/cpp &amp;&amp;
+cd /usr/lib &amp;&amp;
+ln -sf ../bin/cpp &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf gcc cc</userinput></screen></para>
 
 
 </sect2>
 </sect2>