mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
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
This commit is contained in:
parent
4bf4306950
commit
78fc6e4e59
@ -1,23 +1,6 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Bash</title>
|
<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 &&</userinput>
|
|
||||||
<userinput>ln -s libncurses.a libcurses.a</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Install Bash by running the following commands:
|
Install Bash by running the following commands:
|
||||||
</para>
|
</para>
|
||||||
|
@ -25,11 +25,10 @@ Install Tar by running the following commands:
|
|||||||
<blockquote><literallayout>
|
<blockquote><literallayout>
|
||||||
<userinput>./configure --prefix=$LFS/usr
|
<userinput>./configure --prefix=$LFS/usr
|
||||||
--disable-nls \</userinput>
|
--disable-nls \</userinput>
|
||||||
<userinput> --libexecdir=$LFS/usr/bin &&
|
<userinput> --libexecdir=$LFS/usr/bin
|
||||||
</userinput>
|
--bindir=$LFS/bin && </userinput>
|
||||||
<userinput>make LDFLAGS=-static &&</userinput>
|
<userinput>make LDFLAGS=-static &&</userinput>
|
||||||
<userinput>make install &&</userinput>
|
<userinput>make install</userinput>
|
||||||
<userinput>mv $LFS/usr/bin/tar $LFS/bin</userinput>
|
|
||||||
</literallayout></blockquote>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -26,10 +26,9 @@ directory:
|
|||||||
|
|
||||||
<blockquote><literallayout>
|
<blockquote><literallayout>
|
||||||
<userinput>./configure --prefix=/usr --libexecdir=/usr/bin
|
<userinput>./configure --prefix=/usr --libexecdir=/usr/bin
|
||||||
&&</userinput>
|
--bindir=/bin &&</userinput>
|
||||||
<userinput>make &&</userinput>
|
<userinput>make &&</userinput>
|
||||||
<userinput>make install &&</userinput>
|
<userinput>make install</userinput>
|
||||||
<userinput>mv /usr/bin/tar /bin</userinput>
|
|
||||||
</literallayout></blockquote>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
Loading…
Reference in New Issue
Block a user