Changeset 663f8a7 for BOOK


Ignore:
Timestamp:
Feb 21, 2009, 3:37:50 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
f6f0d18
Parents:
987e04d7
Message:

Updated Bash 4.0

Location:
BOOK
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/bash.xml

    r987e04d7 r663f8a7  
    2525    <title>Installation of Bash</title>
    2626
    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<!--
    3228    <para os="p1">The following patch contains updates from the maintainer. The
    3329    maintainer of Bash only releases these patches to fix serious issues:</para>
    3430
    3531<screen os="p2"><userinput>patch -Np1 -i ../&bash-branch_update-patch;</userinput></screen>
     32-->
     33    <para os="a">Prepare Bash for compilation:</para>
    3634
    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 \
    4536    --without-bash-malloc --with-installed-readline</userinput></screen>
    4637
    47     <variablelist os="i">
     38    <variablelist os="c">
    4839      <title>The meaning of the configure option:</title>
    4940
     
    5950    </variablelist>
    6051
    61     <para os="j">Compile the package:</para>
     52    <para os="d">Compile the package:</para>
    6253
    63 <screen os="k"><userinput>make</userinput></screen>
     54<screen os="e"><userinput>make</userinput></screen>
    6455
    65     <para os="l">To test the results, issue:
     56    <para os="f">To test the results, issue:
    6657    <userinput>make tests</userinput>.</para>
    6758
    68     <para os="m">Install the package:</para>
     59    <para os="g">Install the package:</para>
    6960
    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>
    7162
    72     <para os="o">Run the newly compiled <command>bash</command> program (replacing
     63    <para os="i">Run the newly compiled <command>bash</command> program (replacing
    7364    the one that is currently being executed):</para>
    7465
    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>
    7667
    77     <note os="q">
     68    <note os="k">
    7869      <para>The parameters used make the <command>bash</command>
    7970      process an interactive login shell and continue to disable hashing so
  • BOOK/final-system/multilib/bash.xml

    r987e04d7 r663f8a7  
    2222    <title>Installation of Bash</title>
    2323
    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<!--
    3225    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3326    href="../common/bash.xml"
     
    3730    href="../common/bash.xml"
    3831    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-->
    4733
    4834    <para os="m1">The following sed points configure towards the correct
     
    5339    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5440    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"
    5565    xpointer="xpointer(//*[@os='g'])"/>
    5666
    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'])"/>
    6070
    6171    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7181    xpointer="xpointer(//*[@os='k'])"/>
    7282
    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 
    9783  </sect2>
    9884
  • BOOK/introduction/common/changelog.xml

    r987e04d7 r663f8a7  
    3636    </listitem>
    3737-->
     38
     39    <listitem>
     40      <para>February 20, 2009</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[Jim] - Updated Bash to 4.0.</para>
     44        </listitem>
     45      </itemizedlist>
     46    </listitem>
    3847
    3948    <listitem>
  • BOOK/materials/common/packages.xml

    r987e04d7 r663f8a7  
    3939        <para>Download: <ulink url="&bash-url;"/></para>
    4040        <para>MD5 sum: <literal>&bash-md5;</literal></para>
    41       </listitem>
    42     </varlistentry>
    43 
    44     <varlistentry>
    45       <term>Bash Documentation (&bash-doc-version;) - <token>&bash-doc-size;</token>:</term>
    46       <listitem>
    47         <para>Home page: <ulink url="&bash-doc-home;"/></para>
    48         <para>Download: <ulink url="&bash-doc-url;"/></para>
    49         <para>MD5 sum: <literal>&bash-doc-md5;</literal></para>
    5041      </listitem>
    5142    </varlistentry>
  • BOOK/materials/common/patches.xml

    r987e04d7 r663f8a7  
    1919  <variablelist role="materials">
    2020
     21<!--
    2122    <varlistentry>
    2223      <term>Bash Branch Update Patch - <token>&bash-branch_update-patch-size;</token>:</term>
     
    2728      </listitem>
    2829    </varlistentry>
    29 
    30     <varlistentry>
    31       <term>Bash Fixes - <token>&bash-fixes-patch-size;</token>:</term>
    32       <listitem>
    33         <para>Download: <ulink
    34         url="&patches-root;&bash-fixes-patch;"/></para>
    35         <para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para>
    36       </listitem>
    37     </varlistentry>
     30-->
    3831
    3932<!--
  • BOOK/packages.ent

    r987e04d7 r663f8a7  
    3131<!ENTITY automake-home "&gnu-software;automake">
    3232
    33 <!ENTITY bash-version "3.2">
    34 <!ENTITY bash-size "2,470 KB">
     33<!ENTITY bash-version "4.0">
     34<!ENTITY bash-size "6,038 KB">
    3535<!ENTITY bash-url "&gnu;bash/bash-&bash-version;.tar.gz">
    36 <!ENTITY bash-md5 "00bfa16d58e034e3c2aa27f390390d30">
     36<!ENTITY bash-md5 "a90a1b5a6db4838483f05438e05e8eb9">
    3737<!ENTITY bash-home "&gnu-software;bash">
    38 
    39 <!ENTITY bash-doc-version "3.2">
    40 <!ENTITY bash-doc-size "2,143 KB">
    41 <!ENTITY bash-doc-url "&gnu;bash/bash-doc-&bash-doc-version;.tar.gz">
    42 <!ENTITY bash-doc-md5 "0e904cb46ca873fcfa65df19b024bec9">
    43 <!ENTITY bash-doc-home " ">
    4438
    4539<!ENTITY bin86-version "0.16.17">
  • BOOK/temp-system/common/bash.xml

    r987e04d7 r663f8a7  
    2323    <title>Installation of Bash</title>
    2424
     25<!--
    2526    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2627    href="../../final-system/common/bash.xml"
     
    3031    href="../../final-system/common/bash.xml"
    3132    xpointer="xpointer(//*[@os='p2'])"/>
     33-->
    3234
    33     <para os="c1">When bash is cross-compiled, it cannot test for the presence
     35    <para os="t1">When bash is cross-compiled, it cannot test for the presence
    3436    of named pipes, amoung other things. If you used <command>su</command> to
    3537    become an unprivileged user, this combination will cause Bash to build
     
    3941    or that do not run properly:</para>
    4042
    41 <screen os="c2"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
     43<screen os="t2"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
    4244ac_cv_func_mmap_fixed_mapped=yes
    4345ac_cv_func_strcoll_works=yes
     
    5658    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5759    href="../../final-system/common/bash.xml"
    58     xpointer="xpointer(//*[@os='g'])"/>
     60    xpointer="xpointer(//*[@os='a'])"/>
    5961
    60 <screen os="h"><userinput>./configure --prefix=/tools \
     62<screen os="b"><userinput>./configure --prefix=/tools \
    6163    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    6264    --without-bash-malloc --cache-file=config.cache</userinput></screen>
    6365
    64     <variablelist os="ad">
     66    <variablelist os="c">
    6567      <title>The meaning of the configure option:</title>
    6668
     
    7981    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8082    href="../../final-system/common/bash.xml"
    81     xpointer="xpointer(//*[@os='j'])"/>
     83    xpointer="xpointer(//*[@os='d'])"/>
    8284
    8385    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8486    href="../../final-system/common/bash.xml"
    85     xpointer="xpointer(//*[@os='k'])"/>
     87    xpointer="xpointer(//*[@os='e'])"/>
    8688
    8789    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8890    href="../../final-system/common/bash.xml"
    89     xpointer="xpointer(//*[@os='m'])"/>
     91    xpointer="xpointer(//*[@os='g'])"/>
    9092
    91 <screen os="n"><userinput>make install</userinput></screen>
     93<screen os="h"><userinput>make install</userinput></screen>
    9294
    93     <para os="ae">Make a link for programs that use <command>sh</command> for
     95    <para os="t3">Make a link for programs that use <command>sh</command> for
    9496    a shell:</para>
    9597
    96 <screen os="af"><userinput>ln -sv bash /tools/bin/sh</userinput></screen>
     98<screen os="t4"><userinput>ln -sv bash /tools/bin/sh</userinput></screen>
    9799
    98100  </sect2>
  • BOOK/temp-system/multilib/bash.xml

    r987e04d7 r663f8a7  
    2323    <title>Installation of Bash</title>
    2424
     25<!--
    2526    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2627    href="../common/bash.xml"
     
    3031    href="../common/bash.xml"
    3132    xpointer="xpointer(//*[@os='p2'])"/>
     33-->
    3234
    3335    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3436    href="../common/bash.xml"
    35     xpointer="xpointer(//*[@os='c1'])"/>
     37    xpointer="xpointer(//*[@os='t1'])"/>
    3638
    3739    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3840    href="../common/bash.xml"
    39     xpointer="xpointer(//*[@os='c2'])"/>
     41    xpointer="xpointer(//*[@os='t2'])"/>
    4042
    4143    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4244    href="../common/bash.xml"
    43     xpointer="xpointer(//*[@os='g'])"/>
     45    xpointer="xpointer(//*[@os='a'])"/>
    4446
    45 <screen os="h"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
     47<screen os="b"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    4648   ./configure --prefix=/tools \
    4749   --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     
    5052    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5153    href="../common/bash.xml"
    52     xpointer="xpointer(//*[@os='ad'])"/>
     54    xpointer="xpointer(//*[@os='c'])"/>
    5355
    5456    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5557    href="../common/bash.xml"
    56     xpointer="xpointer(//*[@os='j'])"/>
     58    xpointer="xpointer(//*[@os='d'])"/>
    5759
    5860    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5961    href="../common/bash.xml"
    60     xpointer="xpointer(//*[@os='k'])"/>
     62    xpointer="xpointer(//*[@os='e'])"/>
    6163
    6264    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6365    href="../common/bash.xml"
    64     xpointer="xpointer(//*[@os='m'])"/>
     66    xpointer="xpointer(//*[@os='g'])"/>
    6567
    6668    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6769    href="../common/bash.xml"
    68     xpointer="xpointer(//*[@os='n'])"/>
     70    xpointer="xpointer(//*[@os='h'])"/>
    6971
    7072    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7173    href="../common/bash.xml"
    72     xpointer="xpointer(//*[@os='ae'])"/>
     74    xpointer="xpointer(//*[@os='t3'])"/>
    7375
    7476    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7577    href="../common/bash.xml"
    76     xpointer="xpointer(//*[@os='af'])"/>
     78    xpointer="xpointer(//*[@os='t4'])"/>
    7779
    7880  </sect2>
Note: See TracChangeset for help on using the changeset viewer.