1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-bash" xreflabel="Bash" role="wrap">
|
---|
7 | <title>Bash-&bash-version;</title>
|
---|
8 | <?dbhtml filename="bash.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-bash"><primary sortas="a-Bash">Bash</primary></indexterm>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 |
|
---|
14 | <segmentedlist>
|
---|
15 | <segtitle>&buildtime;</segtitle>
|
---|
16 | <segtitle>&diskspace;</segtitle>
|
---|
17 | <seglistitem><seg>1.2 SBU</seg><seg>27 MB</seg></seglistitem>
|
---|
18 | </segmentedlist>
|
---|
19 |
|
---|
20 | </sect2>
|
---|
21 |
|
---|
22 | <sect2 role="installation">
|
---|
23 | <title>Installation of Bash</title>
|
---|
24 |
|
---|
25 | <para>Apply a patch:</para>
|
---|
26 |
|
---|
27 | <screen><userinput>patch -Np1 -i ../bash-&bash-version;-fixes-1.patch</userinput></screen>
|
---|
28 |
|
---|
29 | <para>Apply another patch:</para>
|
---|
30 |
|
---|
31 | <screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>
|
---|
32 |
|
---|
33 | <para>Prepare Bash for compilation:</para>
|
---|
34 |
|
---|
35 | <screen><userinput>./configure --prefix=/usr --bindir=/bin \
|
---|
36 | --without-bash-malloc --with-installed-readline</userinput></screen>
|
---|
37 |
|
---|
38 | <para>Compile the package:</para>
|
---|
39 |
|
---|
40 | <screen><userinput>make</userinput></screen>
|
---|
41 |
|
---|
42 | <para>To test the results, issue:
|
---|
43 | <userinput>make tests</userinput>.</para>
|
---|
44 |
|
---|
45 | <para>Install the package:</para>
|
---|
46 |
|
---|
47 | <screen><userinput>make install</userinput></screen>
|
---|
48 |
|
---|
49 | <para>Run the newly compiled <command>bash</command> program:</para>
|
---|
50 |
|
---|
51 | <screen><userinput>exec /bin/bash --login +h</userinput></screen>
|
---|
52 |
|
---|
53 | </sect2>
|
---|
54 |
|
---|
55 |
|
---|
56 | <sect2 id="contents-bash" role="content"><title>Contents of Bash</title>
|
---|
57 |
|
---|
58 | <para>See testing</para>
|
---|
59 |
|
---|
60 | </sect2>
|
---|
61 |
|
---|
62 | </sect1>
|
---|