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

Last change on this file since d146bb3 was 9cb6b64, checked in by Jim Gifford <clfs@…>, 18 years ago

r4209@server: jim | 2006-07-01 12:46:18 -0700
Updated variables -

LFS_TARGET is now CLFS_TARGET
LFS_HOST is now CLFS_HOST
LFS_TARGET32 is now CLFS_TARGET32
LFS is now CLFS
/mnt/lfs is now /mnt/clfs


  • Property mode set to 100644
File size: 2.6 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
[bf8c11f]29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/common/bash.xml"
31 xpointer="xpointer(//*[@os='g'])"/>
32
[96e7720]33<screen os="h"><userinput>./configure --prefix=/tools \
[9cb6b64]34 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[f53b075]35 --without-bash-malloc --cache-file=config.cache</userinput></screen>
[bf8c11f]36
[175ff828]37 <variablelist os="ad">
[fd90c25f]38 <title>The meaning of the configure option:</title>
[bf8c11f]39
40 <varlistentry>
41 <term><parameter>--without-bash-malloc</parameter></term>
42 <listitem>
[e6ace8f]43 <para>This option turns off the use of Bash's memory allocation
[bf8c11f]44 (malloc) function which is known to cause segmentation faults.
[e1beb751]45 By turning this option off, Bash will use the malloc functions
[bf8c11f]46 from Glibc which are more stable.</para>
47 </listitem>
48 </varlistentry>
49
50 </variablelist>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../../final-system/common/bash.xml"
[127585f]54 xpointer="xpointer(//*[@os='j'])"/>
[bf8c11f]55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../../final-system/common/bash.xml"
[127585f]58 xpointer="xpointer(//*[@os='k'])"/>
[bf8c11f]59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../../final-system/common/bash.xml"
[127585f]62 xpointer="xpointer(//*[@os='m'])"/>
[bf8c11f]63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../../final-system/common/bash.xml"
[127585f]66 xpointer="xpointer(//*[@os='n'])"/>
[bf8c11f]67
[8c50f0e]68 <para os="ae">Make a link for programs that use <command>sh</command> for
[bf8c11f]69 a shell:</para>
70
[287d7b9]71<screen os="af"><userinput>ln -sv bash /tools/bin/sh</userinput></screen>
[bf8c11f]72
73 </sect2>
74
75 <sect2 role="content">
76 <title/>
77
78 <para>Details on this package are located in <xref
79 linkend="contents-bash" role="."/></para>
80
81 </sect2>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.