source:
chapter06/bash.xml@
c6df1d79
Last change on this file since c6df1d79 was 3f0c882, checked in by , 20 years ago | |
---|---|
|
|
File size: 1.6 KB |
Rev | Line | |
---|---|---|
[673b0d8] | 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 | ]> | |
[a001133] | 6 | <sect1 id="ch-system-bash" xreflabel="Bash" role="wrap"> |
[673b0d8] | 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> | |
[6370fa6] | 11 | |
[a001133] | 12 | <sect2 role="package"><title/> |
[5888299] | 13 | |
[a001133] | 14 | <segmentedlist> |
15 | <segtitle>&buildtime;</segtitle> | |
16 | <segtitle>&diskspace;</segtitle> | |
17 | <seglistitem><seg>1.2 SBU</seg><seg>27 MB</seg></seglistitem> | |
18 | </segmentedlist> | |
[673b0d8] | 19 | |
[a001133] | 20 | </sect2> |
[3554fa3a] | 21 | |
[a001133] | 22 | <sect2 role="installation"> |
[73aedd1d] | 23 | <title>Installation of Bash</title> |
24 | ||
[3f0c882] | 25 | <para>Apply a patch:</para> |
[3a0c307] | 26 | |
[51504be] | 27 | <screen><userinput>patch -Np1 -i ../bash-&bash-version;-fixes-1.patch</userinput></screen> |
[3a0c307] | 28 | |
[3f0c882] | 29 | <para>Apply another patch:</para> |
[cd0f519] | 30 | |
31 | <screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen> | |
32 | ||
[e8d07afc] | 33 | <para>Prepare Bash for compilation:</para> |
[73aedd1d] | 34 | |
[9dfc02f] | 35 | <screen><userinput>./configure --prefix=/usr --bindir=/bin \ |
[3125dfb] | 36 | --without-bash-malloc --with-installed-readline</userinput></screen> |
[73aedd1d] | 37 | |
38 | <para>Compile the package:</para> | |
39 | ||
40 | <screen><userinput>make</userinput></screen> | |
41 | ||
[673b0d8] | 42 | <para>To test the results, issue: |
[8a5f906] | 43 | <userinput>make tests</userinput>.</para> |
[73aedd1d] | 44 | |
45 | <para>Install the package:</para> | |
46 | ||
47 | <screen><userinput>make install</userinput></screen> | |
48 | ||
[3f0c882] | 49 | <para>Run the newly compiled <command>bash</command> program:</para> |
[673b0d8] | 50 | |
51 | <screen><userinput>exec /bin/bash --login +h</userinput></screen> | |
[73aedd1d] | 52 | |
53 | </sect2> | |
[6370fa6] | 54 | |
[5888299] | 55 | |
[c6cb3aa] | 56 | <sect2 id="contents-bash" role="content"><title>Contents of Bash</title> |
[673b0d8] | 57 | |
[3f0c882] | 58 | <para>See testing</para> |
[673b0d8] | 59 | |
60 | </sect2> | |
61 | ||
62 | </sect1> |
Note:
See TracBrowser
for help on using the repository browser.