Changeset f14f7c2
- Timestamp:
- Apr 24, 2011, 10:01:38 AM (14 years ago)
- Children:
- d66ee74
- Parents:
- 69fa5e6
- Location:
- BOOK
- Files:
-
- 1 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/bash.xml
r69fa5e6 rf14f7c2 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE c:package [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 4 5 %general-entities; 5 6 ]> 6 7 7 <c:package xmlns:c="http://schema.cross-lfs.org/book" id="ch-system-bash" c:multibuild="false"> 8 <sect1 id="ch-system-bash" role="wrap"> 9 <?dbhtml filename="bash.html"?> 8 10 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> 11 <title>Bash-&bash-version;</title> 12 12 13 <c:install> 13 <indexterm zone="ch-system-bash"> 14 <primary sortas="a-Bash">Bash</primary> 15 </indexterm> 14 16 15 <c:para>The following patch contains updates from the maintainer. The16 maintainer of Bash only releases these patches to fix serious issues:</c:para>17 <sect2 role="package"> 18 <title/> 17 19 18 <c:command>patch -Np1 -i ../&bash-branch_update-patch;</c:command>20 <para>The Bash package contains the Bourne-Again SHell.</para> 19 21 20 <c:para c:multilib="true">The following sed points configure towards the 21 correct library directory while searching for Readline:</c:para> 22 </sect2> 22 23 23 <c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&64@" configure</c:command> 24 <sect2 role="installation"> 25 <title>Installation of Bash</title> 24 26 25 <c:para>Prepare Bash for compilation:</c:para> 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> 26 29 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> 30 <screen os="p2"><userinput>patch -Np1 -i ../&bash-branch_update-patch;</userinput></screen> 32 31 33 <!-- 34 <variablelist> 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"> 35 38 <title>The meaning of the configure option:</title> 36 39 37 40 <varlistentry> 38 <term><parameter>- with-installed-readline</parameter></term>41 <term><parameter>--with-installed-readline</parameter></term> 39 42 <listitem> 40 < c:para>This option tells Bash to use the43 <para>This option tells Bash to use the 41 44 <filename class="libraryfile">readline</filename> library that is 42 45 already installed on the system rather than using its own readline 43 version.</ c:para>46 version.</para> 44 47 </listitem> 45 48 </varlistentry> 46 49 </variablelist> 47 -->48 <c:para>Compile the package:</c:para>49 50 50 <c:command>make</c:command>51 <para os="d">Compile the package:</para> 51 52 52 <c:para>To test the results, issue: 53 <c:command>make tests</c:command>.</c:para> 53 <screen os="e"><userinput>make</userinput></screen> 54 54 55 <c:para>Install the package:</c:para> 55 <para os="f">To test the results, issue: 56 <userinput>make tests</userinput>.</para> 56 57 57 <c:command>make htmldir=/usr/share/doc/bash-&bash-version; install</c:command>58 <para os="g">Install the package:</para> 58 59 59 <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing 60 the one that is currently being executed):</c:para> 60 <screen os="h"><userinput>make htmldir=/usr/share/doc/bash-&bash-version; install</userinput></screen> 61 61 62 <c:command c:nodump="true">exec /bin/bash --login +h</c:command> 62 <para os="i">Run the newly compiled <command>bash</command> program (replacing 63 the one that is currently being executed):</para> 63 64 64 <c:note> 65 <c:para>The parameters used make the <c:command>bash</c:command> 65 <screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen> 66 67 <note os="k"> 68 <para>The parameters used make the <command>bash</command> 66 69 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>70 that new programs are found as they become available.</para> 71 </note> 69 72 70 </ c:install>73 </sect2> 71 74 72 <c:contents> 75 <sect2 id="contents-bash" role="content"> 76 <title>Contents of Bash</title> 73 77 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> 78 <segmentedlist> 79 <segtitle>Installed programs</segtitle> 80 <segtitle>Installed directory</segtitle> 80 81 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> 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> 87 87 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> 88 <variablelist> 89 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 90 <?dbfo list-presentation="list"?> 91 <?dbhtml list-presentation="table"?> 96 92 97 </c:contents> 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> 98 104 99 </c:package> 105 <varlistentry id="bashbug"> 106 <term><command>bashbug</command></term> 107 <listitem> 108 <para>A shell script to help the user compose and mail standard 109 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> 100 115 116 <varlistentry id="sh"> 117 <term><command>sh</command></term> 118 <listitem> 119 <para>A symlink to the <command>bash</command> program; when invoked 120 as <command>sh</command>, <command>bash</command> tries to mimic the 121 startup behavior of historical versions of <command>sh</command> as 122 closely as possible, while conforming to the POSIX standard as 123 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
r69fa5e6 rf14f7c2 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=" common/bash.xml"/>80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/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
r69fa5e6 rf14f7c2 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=" common/bash.xml"/>64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/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
r69fa5e6 rf14f7c2 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=" common/bash.xml"/>64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/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
r69fa5e6 rf14f7c2 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=" common/bash.xml"/>64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/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/schema/clfs/0.1/rng/clfs.rnc
r69fa5e6 rf14f7c2 116 116 clfs.sect.package = 117 117 element c:package { 118 attribute xml:base { text }?,119 118 attribute id { text }, 120 119 clfs.attrib.arch, -
BOOK/schema/clfs/0.1/rng/clfs.rng
r69fa5e6 rf14f7c2 192 192 <define name="clfs.sect.package"> 193 193 <element name="c:package"> 194 <optional>195 <attribute name="xml:base"/>196 </optional>197 194 <attribute name="id"/> 198 195 <ref name="clfs.attrib.arch"/> -
BOOK/temp-system/common/bash.xml
r69fa5e6 rf14f7c2 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 h-system-bash-contents" role="."/></para>104 linkend="contents-bash" role="."/></para> 105 105 106 106 </sect2> 107 --> 107 108 108 </sect1> -
BOOK/temp-system/multilib/bash.xml
r69fa5e6 rf14f7c2 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> -
BOOK/x86-index.xml
r69fa5e6 rf14f7c2 9 9 10 10 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/x86/bookinfo.xml"/> 11 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="testpart.xml"/> 11 12 <!-- 12 13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/dedication.xml"/> -
BOOK/x86_64-index.xml
r69fa5e6 rf14f7c2 9 9 10 10 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/x86_64/bookinfo.xml"/> 11 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="testpart.xml"/> 11 12 <!-- 12 13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/dedication.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.