diff options
Diffstat (limited to 'chapter05/bash-inst.xml')
-rw-r--r-- | chapter05/bash-inst.xml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml index 7ab7fe351..334286d40 100644 --- a/chapter05/bash-inst.xml +++ b/chapter05/bash-inst.xml @@ -15,18 +15,16 @@ or you just installed it, check for the two files again. Often the create <filename>libcurses.a</filename> as a symlink by running the following commands as user root:</para> -<para><screen><userinput>cd /usr/lib && -ln -s libncurses.a libcurses.a</userinput></screen></para> +<para><screen><userinput>ln -s libncurses.a /usr/lib/libcurses.a</userinput></screen></para> <para>Now we can continue. Install Bash by running the following commands:</para> -<para><screen><userinput>./configure --enable-static-link --prefix=$LFS/usr \ - --bindir=$LFS/bin --with-curses && +<para><screen><userinput>./configure --enable-static-link \ + --prefix=$LFS/usr --bindir=$LFS/bin --with-curses && make && make install && -cd $LFS/bin && -ln -sf bash sh</userinput></screen></para> +ln -sf bash $LFS/bin/sh</userinput></screen></para> <para>If the make install phase ends with something along the lines of</para> |