Ver código fonte

Updated the book for the new packages and a tiny tar installation fix (that I mentioned in my mail).

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@560 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Marc Heerdink 24 anos atrás
pai
commit
78fc6e4e59
3 arquivos alterados com 5 adições e 24 exclusões
  1. 0 17
      chapter05/bash-inst.xml
  2. 3 4
      chapter05/tar-inst.xml
  3. 2 3
      chapter06/tar-inst.xml

+ 0 - 17
chapter05/bash-inst.xml

@@ -1,23 +1,6 @@
 <sect2>
 <title>Installation of Bash</title>
 
-<para>
-Bash needs a static ncurses library that goes by the name of libcurses.a. Some
-distributions provide this file under the name of libncurses.a. If this is the
-case of your distribution, run the following two commands to fix the problem:
-</para>
-
-<para>
-Note: Normally, the libncurses.a file resides in the /usr/lib directory
-but it might reside in /lib (like it does on LFS systems). Check this
-first and adjust the path in the following commands accordingly:
-</para>
-
-<blockquote><literallayout>
-	<userinput>cd /usr/lib &amp;&amp;</userinput>
-	<userinput>ln -s libncurses.a libcurses.a</userinput>
-</literallayout></blockquote>
-
 <para>
 Install Bash by running the following commands:
 </para>

+ 3 - 4
chapter05/tar-inst.xml

@@ -25,11 +25,10 @@ Install Tar by running the following commands:
 <blockquote><literallayout>
 	<userinput>./configure --prefix=$LFS/usr 
 		--disable-nls \</userinput>
-	<userinput>&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/usr/bin &amp;&amp;
-		</userinput>
+	<userinput>&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/usr/bin
+		--bindir=$LFS/bin &amp;&amp; </userinput>
 	<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
-	<userinput>make install &amp;&amp;</userinput>
-	<userinput>mv $LFS/usr/bin/tar $LFS/bin</userinput>
+	<userinput>make install</userinput>
 </literallayout></blockquote>
 
 </sect2>

+ 2 - 3
chapter06/tar-inst.xml

@@ -26,10 +26,9 @@ directory:
 
 <blockquote><literallayout>
 	<userinput>./configure --prefix=/usr --libexecdir=/usr/bin
-		&amp;&amp;</userinput>
+		--bindir=/bin &amp;&amp;</userinput>
 	<userinput>make &amp;&amp;</userinput>
-	<userinput>make install &amp;&amp;</userinput>
-	<userinput>mv /usr/bin/tar /bin</userinput>
+	<userinput>make install</userinput>
 </literallayout></blockquote>
 
 </sect2>