aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bash-inst.xml
blob: e9dbd61977af394be6231bb5b1bb9f29b2199ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Bash</title>

<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 \
&nbsp;&nbsp;&nbsp;&nbsp;--with-curses --without-bash-malloc
make LDFLAGS="-s"
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>