Changeset 663f8a7 for BOOK/final-system
- Timestamp:
- Feb 20, 2009, 7:37:50 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f6f0d18
- Parents:
- 987e04d7
- Location:
- BOOK/final-system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/bash.xml
r987e04d7 r663f8a7 25 25 <title>Installation of Bash</title> 26 26 27 <para os="a">If you downloaded the Bash documentation tarball and wish to 28 install HTML documentation, issue the following command:</para> 29 30 <screen os="b"><userinput>tar -xvf ../bash-doc-&bash-doc-version;.tar.gz</userinput></screen> 31 27 <!-- 32 28 <para os="p1">The following patch contains updates from the maintainer. The 33 29 maintainer of Bash only releases these patches to fix serious issues:</para> 34 30 35 31 <screen os="p2"><userinput>patch -Np1 -i ../&bash-branch_update-patch;</userinput></screen> 32 --> 33 <para os="a">Prepare Bash for compilation:</para> 36 34 37 <para os="p3">The following patch contains fixes that affect a CLFS system. These are 38 validated issues by the CLFS developers:</para> 39 40 <screen os="p4"><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen> 41 42 <para os="g">Prepare Bash for compilation:</para> 43 44 <screen os="h"><userinput>./configure --prefix=/usr --bindir=/bin \ 35 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \ 45 36 --without-bash-malloc --with-installed-readline</userinput></screen> 46 37 47 <variablelist os=" i">38 <variablelist os="c"> 48 39 <title>The meaning of the configure option:</title> 49 40 … … 59 50 </variablelist> 60 51 61 <para os=" j">Compile the package:</para>52 <para os="d">Compile the package:</para> 62 53 63 <screen os=" k"><userinput>make</userinput></screen>54 <screen os="e"><userinput>make</userinput></screen> 64 55 65 <para os=" l">To test the results, issue:56 <para os="f">To test the results, issue: 66 57 <userinput>make tests</userinput>.</para> 67 58 68 <para os=" m">Install the package:</para>59 <para os="g">Install the package:</para> 69 60 70 <screen os=" n"><userinput>make htmldir=/usr/share/doc/bash-&bash-version; install</userinput></screen>61 <screen os="h"><userinput>make htmldir=/usr/share/doc/bash-&bash-version; install</userinput></screen> 71 62 72 <para os=" o">Run the newly compiled <command>bash</command> program (replacing63 <para os="i">Run the newly compiled <command>bash</command> program (replacing 73 64 the one that is currently being executed):</para> 74 65 75 <screen os=" p" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>66 <screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen> 76 67 77 <note os=" q">68 <note os="k"> 78 69 <para>The parameters used make the <command>bash</command> 79 70 process an interactive login shell and continue to disable hashing so -
BOOK/final-system/multilib/bash.xml
r987e04d7 r663f8a7 22 22 <title>Installation of Bash</title> 23 23 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/bash.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../common/bash.xml" 30 xpointer="xpointer(//*[@os='b'])"/> 31 24 <!-- 32 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 26 href="../common/bash.xml" … … 37 30 href="../common/bash.xml" 38 31 xpointer="xpointer(//*[@os='p2'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/bash.xml" 42 xpointer="xpointer(//*[@os='p3'])"/> 43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/bash.xml" 46 xpointer="xpointer(//*[@os='p4'])"/> 32 --> 47 33 48 34 <para os="m1">The following sed points configure towards the correct … … 53 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 40 href="../common/bash.xml" 41 xpointer="xpointer(//*[@os='a'])"/> 42 43 <screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 44 ./configure --prefix=/usr --bindir=/bin \ 45 --without-bash-malloc --with-installed-readline</userinput></screen> 46 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 href="../common/bash.xml" 49 xpointer="xpointer(//*[@os='c'])"/> 50 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 52 href="../common/bash.xml" 53 xpointer="xpointer(//*[@os='d'])"/> 54 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 56 href="../common/bash.xml" 57 xpointer="xpointer(//*[@os='e'])"/> 58 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href="../common/bash.xml" 61 xpointer="xpointer(//*[@os='f'])"/> 62 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 href="../common/bash.xml" 55 65 xpointer="xpointer(//*[@os='g'])"/> 56 66 57 <screen os="h"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 58 ./configure --prefix=/usr --bindir=/bin \59 --without-bash-malloc --with-installed-readline</userinput></screen>67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 68 href="../common/bash.xml" 69 xpointer="xpointer(//*[@os='h'])"/> 60 70 61 71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 71 81 xpointer="xpointer(//*[@os='k'])"/> 72 82 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"74 href="../common/bash.xml"75 xpointer="xpointer(//*[@os='l'])"/>76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"78 href="../common/bash.xml"79 xpointer="xpointer(//*[@os='m'])"/>80 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"82 href="../common/bash.xml"83 xpointer="xpointer(//*[@os='n'])"/>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="../common/bash.xml"87 xpointer="xpointer(//*[@os='o'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../common/bash.xml"91 xpointer="xpointer(//*[@os='p'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../common/bash.xml"95 xpointer="xpointer(//*[@os='q'])"/>96 97 83 </sect2> 98 84
Note:
See TracChangeset
for help on using the changeset viewer.