source: BOOK/temp-system/common/bash.xml@ 252f1c6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 252f1c6 was c73149f, checked in by Jim Gifford <clfs@…>, 18 years ago

Temp-system update to sysroot except for gcc, binutils. Patch requires a patch to use DESTDIR, in the process of creating patch

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[3f8be484]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
[d0c5f50]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/bash.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Bash</title>
24
[6f9ab64]25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../../final-system/common/bash.xml"
27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/common/bash.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
[ce63632]33 <para os="c1">When bash is cross-compiled, it cannot test for the presence
[342c4cd]34 of named pipes. If you used <command>su</command> to become an unprivileged
35 user, this combination will cause Bash to build without <emphasis>process
[ec626ab]36 substitution</emphasis>, which will break one of the c++ test scripts in
37 <literal>glibc</literal>. Prevent that by forcing the following definition:
38 </para>
39
[ce63632]40<screen os="c2"><userinput>echo "bash_cv_sys_named_pipes=yes" >> config.cache</userinput></screen>
[ec626ab]41
[3f8be484]42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../../final-system/common/bash.xml"
44 xpointer="xpointer(//*[@os='g'])"/>
45
[9e8f1cc]46<screen os="h"><userinput>./configure --prefix=/tools \
[07114c98]47 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[528da83]48 --without-bash-malloc --cache-file=config.cache</userinput></screen>
[3f8be484]49
[1bc8e5f]50 <variablelist os="ad">
[173da18]51 <title>The meaning of the configure option:</title>
[3f8be484]52
53 <varlistentry>
54 <term><parameter>--without-bash-malloc</parameter></term>
55 <listitem>
[4866cb6]56 <para>This option turns off the use of Bash's memory allocation
[3f8be484]57 (malloc) function which is known to cause segmentation faults.
[76cf100]58 By turning this option off, Bash will use the malloc functions
[3f8be484]59 from Glibc which are more stable.</para>
60 </listitem>
61 </varlistentry>
62
63 </variablelist>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../../final-system/common/bash.xml"
[dd618bf]67 xpointer="xpointer(//*[@os='j'])"/>
[3f8be484]68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../../final-system/common/bash.xml"
[dd618bf]71 xpointer="xpointer(//*[@os='k'])"/>
[3f8be484]72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../../final-system/common/bash.xml"
[dd618bf]75 xpointer="xpointer(//*[@os='m'])"/>
[3f8be484]76
[c73149f]77<screen os="n"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[3f8be484]78
[1322a63]79 <para os="ae">Make a link for programs that use <command>sh</command> for
[3f8be484]80 a shell:</para>
81
[c73149f]82<screen os="af"><userinput>ln -sv bash ${CLFS}/tools/bin/sh</userinput></screen>
[3f8be484]83
84 </sect2>
85
86 <sect2 role="content">
87 <title/>
88
89 <para>Details on this package are located in <xref
90 linkend="contents-bash" role="."/></para>
91
92 </sect2>
93
94</sect1>
Note: See TracBrowser for help on using the repository browser.