mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 05:57:43 +00:00
6e507556d6
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2555 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Bash</title>
|
|
|
|
<para>Bash has a number of bugs in it that cause it to not behave the
|
|
way it is expected at times. Fix this behaviour with the following
|
|
patch:</para>
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/stage1 \
|
|
--with-curses --without-bash-malloc
|
|
make
|
|
make tests
|
|
make install
|
|
ln -s bash /stage1/bin/sh</userinput></screen></para>
|
|
|
|
|
|
<blockquote><screen>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'
|
|
usage: install-info [--version] [--help] [--debug] [--maxwidth=nnn]
|
|
[--section regexp title] [--infodir=xxx] [--align=nnn]
|
|
[--calign=nnn] [--quiet] [--menuentry=xxx]
|
|
[--info-dir=xxx]
|
|
[--keep-old] [--description=xxx] [--test]
|
|
[--remove] [--] filename
|
|
make[1]: *** [install] Error 1
|
|
make[1]: Leaving directory `/mnt/lfs/usr/src/bash-&bash-version;/doc'
|
|
make: [install] Error 2 (ignored)</screen></blockquote>
|
|
|
|
<para>then that means that you are probably using Debian-2.2 (potato), and
|
|
that you have an old version of the texinfo package and the info pages
|
|
can't be installed at this time. This error is not a problem as the info
|
|
pages will be installed when we recompile bash dynamically in Chapter 6, so
|
|
you can ignore it. It is reported that the current release of Debian
|
|
(3.0; also known as Woody) doesn't have this problem.</para>
|
|
|
|
</sect2>
|
|
|