Changeset 8cd07b0
- Timestamp:
- Apr 24, 2011, 10:20:04 AM (14 years ago)
- Children:
- e655c39d
- Parents:
- d66ee74
- Location:
- BOOK
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/bash.xml
rd66ee74 r8cd07b0 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 2 <!DOCTYPE c:package [ 4 3 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 4 %general-entities; 6 5 ]> 7 6 8 <sect1 id="ch-system-bash" role="wrap"> 9 <?dbhtml filename="bash.html"?> 7 <c:package xmlns:c="http://schema.cross-lfs.org/book" id="ch-system-bash" c:multibuild="false"> 10 8 11 <title>Bash-&bash-version;</title> 9 <c:title>Bash</c:title> 10 <c:version>&bash-version;</c:version> 11 <c:description>The Bash package contains the Bourne-Again SHell.</c:description> 12 12 13 <indexterm zone="ch-system-bash"> 14 <primary sortas="a-Bash">Bash</primary> 15 </indexterm> 13 <c:install> 16 14 17 <sect2 role="package">18 <title/>15 <c:para>The following patch contains updates from the maintainer. The 16 maintainer of Bash only releases these patches to fix serious issues:</c:para> 19 17 20 <para>The Bash package contains the Bourne-Again SHell.</para>18 <c:command>patch -Np1 -i ../&bash-branch_update-patch;</c:command> 21 19 22 </sect2> 20 <c:para c:multilib="true">The following sed points configure towards the 21 correct library directory while searching for Readline:</c:para> 23 22 24 <sect2 role="installation"> 25 <title>Installation of Bash</title> 23 <c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&64@" configure</c:command> 26 24 27 <para os="p1">The following patch contains updates from the maintainer. The 28 maintainer of Bash only releases these patches to fix serious issues:</para> 25 <c:para>Prepare Bash for compilation:</c:para> 29 26 30 <screen os="p2"><userinput>patch -Np1 -i ../&bash-branch_update-patch;</userinput></screen> 27 <c:command c:multilib="false">./configure --prefix=/usr --bindir=/bin \ 28 --without-bash-malloc --with-installed-readline</c:command> 29 <c:command c:multilib="true">CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 30 ./configure --prefix=/usr --bindir=/bin \ 31 --without-bash-malloc --with-installed-readline</c:command> 31 32 32 <para os="a">Prepare Bash for compilation:</para> 33 34 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \ 35 --without-bash-malloc --with-installed-readline</userinput></screen> 36 37 <variablelist os="c"> 33 <!-- 34 <variablelist> 38 35 <title>The meaning of the configure option:</title> 39 36 40 37 <varlistentry> 41 <term><parameter>- -with-installed-readline</parameter></term>38 <term><parameter>-with-installed-readline</parameter></term> 42 39 <listitem> 43 < para>This option tells Bash to use the40 <c:para>This option tells Bash to use the 44 41 <filename class="libraryfile">readline</filename> library that is 45 42 already installed on the system rather than using its own readline 46 version.</ para>43 version.</c:para> 47 44 </listitem> 48 45 </varlistentry> 49 46 </variablelist> 47 --> 48 <c:para>Compile the package:</c:para> 50 49 51 <para os="d">Compile the package:</para>50 <c:command>make</c:command> 52 51 53 <screen os="e"><userinput>make</userinput></screen> 52 <c:para>To test the results, issue: 53 <c:command>make tests</c:command>.</c:para> 54 54 55 <para os="f">To test the results, issue: 56 <userinput>make tests</userinput>.</para> 55 <c:para>Install the package:</c:para> 57 56 58 <para os="g">Install the package:</para>57 <c:command>make htmldir=/usr/share/doc/bash-&bash-version; install</c:command> 59 58 60 <screen os="h"><userinput>make htmldir=/usr/share/doc/bash-&bash-version; install</userinput></screen> 59 <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing 60 the one that is currently being executed):</c:para> 61 61 62 <para os="i">Run the newly compiled <command>bash</command> program (replacing 63 the one that is currently being executed):</para> 62 <c:command c:nodump="true">exec /bin/bash --login +h</c:command> 64 63 65 <screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen> 64 <c:note> 65 <c:para>The parameters used make the <c:command>bash</c:command> 66 process an interactive login shell and continue to disable hashing so 67 that new programs are found as they become available.</c:para> 68 </c:note> 66 69 67 <note os="k"> 68 <para>The parameters used make the <command>bash</command> 69 process an interactive login shell and continue to disable hashing so 70 that new programs are found as they become available.</para> 71 </note> 70 </c:install> 72 71 73 < /sect2>72 <c:contents> 74 73 75 <sect2 id="contents-bash" role="content"> 76 <title>Contents of Bash</title> 74 <c:program> 75 <c:name>bash</c:name> 76 <c:description>A widely-used command interpreter; it performs many types 77 of expansions and substitutions on a given command line before executing 78 it, thus making this interpreter a powerful tool</c:description> 79 </c:program> 77 80 78 <segmentedlist> 79 <segtitle>Installed programs</segtitle> 80 <segtitle>Installed directory</segtitle> 81 <c:program> 82 <c:name>bashbug</c:name> 83 <c:description>A shell script to help the user compose and mail standard 84 formatted bug reports concerning <c:command>bash</c:command> 85 </c:description> 86 </c:program> 81 87 82 <seglistitem> 83 <seg>bash, bashbug, and sh (link to bash)</seg> 84 <seg>/usr/share/doc/bash-&bash-version;</seg> 85 </seglistitem> 86 </segmentedlist> 88 <c:program> 89 <c:name>sh</c:name> 90 <c:description>A symlink to the <c:command>bash</c:command> program; when 91 invoked as <c:command>sh</c:command>, <c:command>bash</c:command> tries 92 to mimic the startup behavior of historical versions of 93 <c:command>sh</c:command> as closely as possible, while conforming to the 94 POSIX standard as well</c:description> 95 </c:program> 87 96 88 <variablelist> 89 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 90 <?dbfo list-presentation="list"?> 91 <?dbhtml list-presentation="table"?> 97 </c:contents> 92 98 93 <varlistentry id="bash"> 94 <term><command>bash</command></term> 95 <listitem> 96 <para>A widely-used command interpreter; it performs many types of 97 expansions and substitutions on a given command line before executing 98 it, thus making this interpreter a powerful tool</para> 99 <indexterm zone="ch-system-bash bash"> 100 <primary sortas="b-bash">bash</primary> 101 </indexterm> 102 </listitem> 103 </varlistentry> 99 </c:package> 104 100 105 <varlistentry id="bashbug">106 <term><command>bashbug</command></term>107 <listitem>108 <para>A shell script to help the user compose and mail standard109 formatted bug reports concerning <command>bash</command></para>110 <indexterm zone="ch-system-bash bashbug">111 <primary sortas="b-bashbug">bashbug</primary>112 </indexterm>113 </listitem>114 </varlistentry>115 116 <varlistentry id="sh">117 <term><command>sh</command></term>118 <listitem>119 <para>A symlink to the <command>bash</command> program; when invoked120 as <command>sh</command>, <command>bash</command> tries to mimic the121 startup behavior of historical versions of <command>sh</command> as122 closely as possible, while conforming to the POSIX standard as123 well</para>124 <indexterm zone="ch-system-bash sh">125 <primary sortas="b-sh">sh</primary>126 </indexterm>127 </listitem>128 </varlistentry>129 130 </variablelist>131 132 </sect2>133 134 </sect1> -
BOOK/final-system/mips64-chapter.xml
rd66ee74 r8cd07b0 78 78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/> 79 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/> 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" multilib/bash.xml"/>80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/> 81 81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> 82 82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-n32.xml"/> -
BOOK/final-system/ppc64-chapter.xml
rd66ee74 r8cd07b0 62 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/> 63 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/> 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" multilib/bash.xml"/>64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/> 65 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> 66 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/> -
BOOK/final-system/sparc64-chapter.xml
rd66ee74 r8cd07b0 62 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/> 63 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/> 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" multilib/bash.xml"/>64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/> 65 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> 66 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/> -
BOOK/final-system/x86_64-chapter.xml
rd66ee74 r8cd07b0 62 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/> 63 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/> 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href=" multilib/bash.xml"/>64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/> 65 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> 66 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2-64bit.xml"/> -
BOOK/temp-system/common/bash.xml
rd66ee74 r8cd07b0 15 15 <secondary>temporary system</secondary> 16 16 </indexterm> 17 17 <!-- 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 19 href="../../final-system/common/bash.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 --> 22 22 <sect2 role="installation"> 23 23 <title>Installation of Bash</title> 24 24 <!-- 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../../final-system/common/bash.xml" … … 30 30 href="../../final-system/common/bash.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 --> 33 33 <para os="t1">When Bash is cross-compiled, it cannot test for the presence 34 34 of named pipes, among other things. If you used <command>su</command> to … … 53 53 gt_cv_int_divbyzero_sigfpe=yes 54 54 EOF</userinput></screen> 55 55 <!-- 56 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 57 57 href="../../final-system/common/bash.xml" 58 58 xpointer="xpointer(//*[@os='a'])"/> 59 59 --> 60 60 <screen os="b"><userinput>./configure --prefix=/tools \ 61 61 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ … … 76 76 77 77 </variablelist> 78 78 <!-- 79 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 80 80 href="../../final-system/common/bash.xml" … … 88 88 href="../../final-system/common/bash.xml" 89 89 xpointer="xpointer(//*[@os='g'])"/> 90 90 --> 91 91 <screen os="h"><userinput>make install</userinput></screen> 92 92 … … 97 97 98 98 </sect2> 99 99 <!-- 100 100 <sect2 role="content"> 101 101 <title/> 102 102 103 103 <para>Details on this package are located in <xref 104 linkend="c ontents-bash" role="."/></para>104 linkend="ch-system-bash-contents" role="."/></para> 105 105 106 106 </sect2> 107 107 --> 108 108 </sect1> -
BOOK/temp-system/multilib/bash.xml
rd66ee74 r8cd07b0 15 15 <secondary>temporary system</secondary> 16 16 </indexterm> 17 17 <!-- 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 19 href="../../final-system/common/bash.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 --> 22 22 <sect2 role="installation"> 23 23 <title>Installation of Bash</title> 24 24 <!-- 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../common/bash.xml" … … 42 42 href="../common/bash.xml" 43 43 xpointer="xpointer(//*[@os='a'])"/> 44 44 --> 45 45 <screen os="b"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 46 46 ./configure --prefix=/tools \ 47 47 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 48 48 --without-bash-malloc --cache-file=config.cache</userinput></screen> 49 49 <!-- 50 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 51 51 href="../common/bash.xml" … … 75 75 href="../common/bash.xml" 76 76 xpointer="xpointer(//*[@os='t4'])"/> 77 77 --> 78 78 </sect2> 79 79 <!-- 80 80 <sect2 role="content"> 81 81 <title/> … … 85 85 86 86 </sect2> 87 87 --> 88 88 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.