- Timestamp:
- Feb 21, 2009, 3:37:50 AM (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
- Files:
-
- 8 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 -
BOOK/introduction/common/changelog.xml
r987e04d7 r663f8a7 36 36 </listitem> 37 37 --> 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> 38 47 39 48 <listitem> -
BOOK/materials/common/packages.xml
r987e04d7 r663f8a7 39 39 <para>Download: <ulink url="&bash-url;"/></para> 40 40 <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>50 41 </listitem> 51 42 </varlistentry> -
BOOK/materials/common/patches.xml
r987e04d7 r663f8a7 19 19 <variablelist role="materials"> 20 20 21 <!-- 21 22 <varlistentry> 22 23 <term>Bash Branch Update Patch - <token>&bash-branch_update-patch-size;</token>:</term> … … 27 28 </listitem> 28 29 </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 --> 38 31 39 32 <!-- -
BOOK/packages.ent
r987e04d7 r663f8a7 31 31 <!ENTITY automake-home "&gnu-software;automake"> 32 32 33 <!ENTITY bash-version " 3.2">34 <!ENTITY bash-size " 2,470KB">33 <!ENTITY bash-version "4.0"> 34 <!ENTITY bash-size "6,038 KB"> 35 35 <!ENTITY bash-url "&gnu;bash/bash-&bash-version;.tar.gz"> 36 <!ENTITY bash-md5 " 00bfa16d58e034e3c2aa27f390390d30">36 <!ENTITY bash-md5 "a90a1b5a6db4838483f05438e05e8eb9"> 37 37 <!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 " ">44 38 45 39 <!ENTITY bin86-version "0.16.17"> -
BOOK/temp-system/common/bash.xml
r987e04d7 r663f8a7 23 23 <title>Installation of Bash</title> 24 24 25 <!-- 25 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 27 href="../../final-system/common/bash.xml" … … 30 31 href="../../final-system/common/bash.xml" 31 32 xpointer="xpointer(//*[@os='p2'])"/> 33 --> 32 34 33 <para os=" c1">When bash is cross-compiled, it cannot test for the presence35 <para os="t1">When bash is cross-compiled, it cannot test for the presence 34 36 of named pipes, amoung other things. If you used <command>su</command> to 35 37 become an unprivileged user, this combination will cause Bash to build … … 39 41 or that do not run properly:</para> 40 42 41 <screen os=" c2"><userinput>cat > config.cache << "EOF"43 <screen os="t2"><userinput>cat > config.cache << "EOF" 42 44 ac_cv_func_mmap_fixed_mapped=yes 43 45 ac_cv_func_strcoll_works=yes … … 56 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 59 href="../../final-system/common/bash.xml" 58 xpointer="xpointer(//*[@os=' g'])"/>60 xpointer="xpointer(//*[@os='a'])"/> 59 61 60 <screen os=" h"><userinput>./configure --prefix=/tools \62 <screen os="b"><userinput>./configure --prefix=/tools \ 61 63 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 62 64 --without-bash-malloc --cache-file=config.cache</userinput></screen> 63 65 64 <variablelist os=" ad">66 <variablelist os="c"> 65 67 <title>The meaning of the configure option:</title> 66 68 … … 79 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 80 82 href="../../final-system/common/bash.xml" 81 xpointer="xpointer(//*[@os=' j'])"/>83 xpointer="xpointer(//*[@os='d'])"/> 82 84 83 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 84 86 href="../../final-system/common/bash.xml" 85 xpointer="xpointer(//*[@os=' k'])"/>87 xpointer="xpointer(//*[@os='e'])"/> 86 88 87 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 88 90 href="../../final-system/common/bash.xml" 89 xpointer="xpointer(//*[@os=' m'])"/>91 xpointer="xpointer(//*[@os='g'])"/> 90 92 91 <screen os=" n"><userinput>make install</userinput></screen>93 <screen os="h"><userinput>make install</userinput></screen> 92 94 93 <para os=" ae">Make a link for programs that use <command>sh</command> for95 <para os="t3">Make a link for programs that use <command>sh</command> for 94 96 a shell:</para> 95 97 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> 97 99 98 100 </sect2> -
BOOK/temp-system/multilib/bash.xml
r987e04d7 r663f8a7 23 23 <title>Installation of Bash</title> 24 24 25 <!-- 25 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 27 href="../common/bash.xml" … … 30 31 href="../common/bash.xml" 31 32 xpointer="xpointer(//*[@os='p2'])"/> 33 --> 32 34 33 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 36 href="../common/bash.xml" 35 xpointer="xpointer(//*[@os=' c1'])"/>37 xpointer="xpointer(//*[@os='t1'])"/> 36 38 37 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 40 href="../common/bash.xml" 39 xpointer="xpointer(//*[@os=' c2'])"/>41 xpointer="xpointer(//*[@os='t2'])"/> 40 42 41 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 44 href="../common/bash.xml" 43 xpointer="xpointer(//*[@os=' g'])"/>45 xpointer="xpointer(//*[@os='a'])"/> 44 46 45 <screen os=" h"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \47 <screen os="b"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 46 48 ./configure --prefix=/tools \ 47 49 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ … … 50 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 51 53 href="../common/bash.xml" 52 xpointer="xpointer(//*[@os=' ad'])"/>54 xpointer="xpointer(//*[@os='c'])"/> 53 55 54 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 55 57 href="../common/bash.xml" 56 xpointer="xpointer(//*[@os=' j'])"/>58 xpointer="xpointer(//*[@os='d'])"/> 57 59 58 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 59 61 href="../common/bash.xml" 60 xpointer="xpointer(//*[@os=' k'])"/>62 xpointer="xpointer(//*[@os='e'])"/> 61 63 62 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 63 65 href="../common/bash.xml" 64 xpointer="xpointer(//*[@os=' m'])"/>66 xpointer="xpointer(//*[@os='g'])"/> 65 67 66 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 69 href="../common/bash.xml" 68 xpointer="xpointer(//*[@os=' n'])"/>70 xpointer="xpointer(//*[@os='h'])"/> 69 71 70 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 71 73 href="../common/bash.xml" 72 xpointer="xpointer(//*[@os=' ae'])"/>74 xpointer="xpointer(//*[@os='t3'])"/> 73 75 74 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 75 77 href="../common/bash.xml" 76 xpointer="xpointer(//*[@os=' af'])"/>78 xpointer="xpointer(//*[@os='t4'])"/> 77 79 78 80 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.