1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE section [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <section xmlns="http://docbook.org/docbook-ng"
|
---|
7 | xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
8 | xml:id="ch-tools-bash" role="wrap">
|
---|
9 | <title>Bash-&bash-version;</title>
|
---|
10 | <?dbhtml filename="bash.html"?>
|
---|
11 |
|
---|
12 | <indexterm zone="ch-tools-bash">
|
---|
13 | <primary sortas="a-Bash">Bash</primary>
|
---|
14 | <secondary>tools</secondary></indexterm>
|
---|
15 |
|
---|
16 | <section role="package"><title/>
|
---|
17 | <xi:include href="../chapter06/bash.xml" xpointer="xpointer(/*[1]/*[3]/*[2])"/>
|
---|
18 |
|
---|
19 | <segmentedlist>
|
---|
20 | <segtitle>&buildtime;</segtitle>
|
---|
21 | <segtitle>&diskspace;</segtitle>
|
---|
22 | <seglistitem><seg>1.2 SBU</seg><seg>27 MB</seg></seglistitem>
|
---|
23 | </segmentedlist>
|
---|
24 |
|
---|
25 | <xi:include href="../chapter06/bash.xml" xpointer="xpointer(/*[1]/*[3]/*[4])"/>
|
---|
26 |
|
---|
27 | </section>
|
---|
28 |
|
---|
29 | <section role="installation">
|
---|
30 | <title>Installation of Bash</title>
|
---|
31 |
|
---|
32 | <para>Bash has a problem when compiled against newer versions of glibc, causing
|
---|
33 | it to hang inappropriately. This patch fixes the problem:</para>
|
---|
34 |
|
---|
35 | <screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>
|
---|
36 |
|
---|
37 | <para>Prepare Bash for compilation:</para>
|
---|
38 |
|
---|
39 | <screen><userinput>./configure --prefix=/tools --without-bash-malloc</userinput></screen>
|
---|
40 |
|
---|
41 | <para>Compile the program:</para>
|
---|
42 |
|
---|
43 | <screen><userinput>make</userinput></screen>
|
---|
44 |
|
---|
45 | <para>(If you want to test the results, then issue:
|
---|
46 | <userinput>make tests</userinput>.)</para>
|
---|
47 |
|
---|
48 | <para>Then install it and its documentation:</para>
|
---|
49 |
|
---|
50 | <screen><userinput>make install</userinput></screen>
|
---|
51 |
|
---|
52 | <para>And make a link for the programs that use <command>sh</command>
|
---|
53 | for a shell:</para>
|
---|
54 |
|
---|
55 | <screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
|
---|
56 |
|
---|
57 | </section>
|
---|
58 |
|
---|
59 | <section role="content"><title/>
|
---|
60 | <para>The details on this package are found in <xref linkend="contents-bash"/>.</para>
|
---|
61 | </section>
|
---|
62 |
|
---|
63 | </section>
|
---|