source: temp-system/common/bash.xml@ 2484938

Last change on this file since 2484938 was 33e57cc, checked in by Chris Staub <chris@…>, 18 years ago

Removed extraneous space from command

  • Property mode set to 100644
File size: 3.1 KB
RevLine 
[bf8c11f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-temp-system-bash" role="wrap">
9 <?dbhtml filename="bash.html"?>
10
11 <title>Bash-&bash-version;</title>
12
13 <indexterm zone="ch-temp-system-bash">
14 <primary sortas="a-Bash">Bash</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
[3b9c9f7]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/bash.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[bf8c11f]21
22 <sect2 role="installation">
23 <title>Installation of Bash</title>
24
[37ee34f1]25 <para os="c1">Remove a test that causes the build to fail:</para>
26
27<screen os="c2"><userinput>echo "ac_cv_func_setvbuf_reversed=no" >> config.cache</userinput></screen>
28
[924eff6]29 <para os="c3">When bash is cross-compiled, it cannot test for the presence
[de052ed]30 of named pipes. If you used <command>su</command> to become an unprivileged
31 user, this combination will cause Bash to build without <emphasis>process
[924eff6]32 substitution</emphasis>, which will break one of the c++ test scripts in
33 <literal>glibc</literal>. Prevent that by forcing the following definition:
34 </para>
35
[33e57cc]36<screen os="c4"><userinput>echo "bash_cv_sys_named_pipes=yes" >> config.cache</userinput></screen>
[924eff6]37
[bf8c11f]38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../../final-system/common/bash.xml"
40 xpointer="xpointer(//*[@os='g'])"/>
41
[96e7720]42<screen os="h"><userinput>./configure --prefix=/tools \
[9cb6b64]43 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[f53b075]44 --without-bash-malloc --cache-file=config.cache</userinput></screen>
[bf8c11f]45
[175ff828]46 <variablelist os="ad">
[fd90c25f]47 <title>The meaning of the configure option:</title>
[bf8c11f]48
49 <varlistentry>
50 <term><parameter>--without-bash-malloc</parameter></term>
51 <listitem>
[e6ace8f]52 <para>This option turns off the use of Bash's memory allocation
[bf8c11f]53 (malloc) function which is known to cause segmentation faults.
[e1beb751]54 By turning this option off, Bash will use the malloc functions
[bf8c11f]55 from Glibc which are more stable.</para>
56 </listitem>
57 </varlistentry>
58
59 </variablelist>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../../final-system/common/bash.xml"
[127585f]63 xpointer="xpointer(//*[@os='j'])"/>
[bf8c11f]64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../../final-system/common/bash.xml"
[127585f]67 xpointer="xpointer(//*[@os='k'])"/>
[bf8c11f]68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../../final-system/common/bash.xml"
[127585f]71 xpointer="xpointer(//*[@os='m'])"/>
[bf8c11f]72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../../final-system/common/bash.xml"
[127585f]75 xpointer="xpointer(//*[@os='n'])"/>
[bf8c11f]76
[8c50f0e]77 <para os="ae">Make a link for programs that use <command>sh</command> for
[bf8c11f]78 a shell:</para>
79
[287d7b9]80<screen os="af"><userinput>ln -sv bash /tools/bin/sh</userinput></screen>
[bf8c11f]81
82 </sect2>
83
84 <sect2 role="content">
85 <title/>
86
87 <para>Details on this package are located in <xref
88 linkend="contents-bash" role="."/></para>
89
90 </sect2>
91
92</sect1>
Note: See TracBrowser for help on using the repository browser.