10.0
10.0-rc1
10.1
10.1-rc1
11.0
11.0-rc1
11.0-rc2
11.0-rc3
11.1
11.1-rc1
11.2
11.2-rc1
11.3
11.3-rc1
12.0
12.0-rc1
12.1
12.1-rc1
12.2
12.2-rc1
6.0
6.1
6.1.1
6.3
6.4
6.5
6.6
6.7
6.8
7.0
7.1
7.2
7.3
7.4
7.5
7.5-systemd
7.6
7.6-systemd
7.7
7.7-systemd
7.8
7.8-systemd
7.9
7.9-systemd
8.0
8.1
8.2
8.3
8.4
9.0
9.1
arm
bdubbs/gcc13
ml-11.0
multilib
renodr/libudev-from-systemd
s6-init
trunk
v5_0
v5_1
v5_1_1
xry111/arm64
xry111/arm64-12.0
xry111/clfs-ng
xry111/lfs-next
xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
xry111/loongarch-12.2
xry111/mips64el
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Rev | Line | |
---|
[ce14c07] | 1 | <sect2><title> </title><para> </para></sect2>
|
---|
| 2 |
|
---|
[6370fa6] | 3 | <sect2>
|
---|
| 4 | <title>Installation of Bash</title>
|
---|
| 5 |
|
---|
[6e50755] | 6 | <para>Bash has a number of bugs in it that cause it to not behave the
|
---|
| 7 | way it is expected at times. Fix this behaviour with the following
|
---|
| 8 | patch:</para>
|
---|
| 9 |
|
---|
| 10 | <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
|
---|
| 11 |
|
---|
[84a7dc2] | 12 | <para><screen><userinput>./configure --prefix=/stage1 \
|
---|
[f8213322] | 13 | --with-curses
|
---|
[84a7dc2] | 14 | make
|
---|
[bc82645e] | 15 | make tests
|
---|
| 16 | make install
|
---|
| 17 | ln -s bash /stage1/bin/sh</userinput></screen></para>
|
---|
[5cce404] | 18 |
|
---|
[20ea64e] | 19 |
|
---|
[b822811] | 20 | <blockquote><screen>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'
|
---|
[20ea64e] | 21 | usage: install-info [--version] [--help] [--debug] [--maxwidth=nnn]
|
---|
| 22 | [--section regexp title] [--infodir=xxx] [--align=nnn]
|
---|
| 23 | [--calign=nnn] [--quiet] [--menuentry=xxx]
|
---|
| 24 | [--info-dir=xxx]
|
---|
| 25 | [--keep-old] [--description=xxx] [--test]
|
---|
| 26 | [--remove] [--] filename
|
---|
| 27 | make[1]: *** [install] Error 1
|
---|
[513afc2] | 28 | make[1]: Leaving directory `/mnt/lfs/usr/src/bash-&bash-version;/doc'
|
---|
[b822811] | 29 | make: [install] Error 2 (ignored)</screen></blockquote>
|
---|
[20ea64e] | 30 |
|
---|
[310c6e6] | 31 | <para>then that means that you are probably using Debian-2.2 (potato), and
|
---|
[78ec17a2] | 32 | that you have an old version of the texinfo package and the info pages
|
---|
| 33 | can't be installed at this time. This error is not a problem as the info
|
---|
| 34 | pages will be installed when we recompile bash dynamically in Chapter 6, so
|
---|
| 35 | you can ignore it. It is reported that the current release of Debian
|
---|
| 36 | (3.0; also known as Woody) doesn't have this problem.</para>
|
---|
[0e6ea1c] | 37 |
|
---|
[6370fa6] | 38 | </sect2>
|
---|
| 39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.