source: BOOK/temp-system/common/bash.xml@ 9836f0a3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 9836f0a3 was 76cf100, checked in by Jim Gifford <clfs@…>, 19 years ago

r1082@server (orig r1080): chris | 2006-01-15 10:06:36 -0800
Various minor text fixes, and a correction to the temp-perl installation instructions

  • Property mode set to 100644
File size: 3.1 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
[6bb43b3]25 <para os="aa">Fix a minor issue during the build when cross-compiling:</para>
[3f8be484]26
27<screen os="ab"><userinput>cp Makefile.in Makefile.in.orig
28sed -e "s@size \$(Program)@${LFS_TARGET}-&amp;@g" Makefile.in.orig > Makefile.in</userinput></screen>
29
[4eb9629]30 <para os="c1">Remove a test that causes the build to fail::</para>
[fd13165]31
[4eb9629]32<screen os="c2"><userinput>echo "ac_cv_func_setvbuf_reversed=no" >> config.cache</userinput></screen>
[fd13165]33
[3f8be484]34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../../final-system/common/bash.xml"
36 xpointer="xpointer(//*[@os='g'])"/>
37
[dd618bf]38<screen os="h"><userinput>./configure --prefix=/tools --with-curses \
[fd13165]39 --without-bash-malloc --host=${LFS_TARGET} \
40 --cache-file=config.cache</userinput></screen>
[3f8be484]41
[1bc8e5f]42 <variablelist os="ad">
[3f8be484]43 <title>The meaning of the configure options:</title>
44
45 <varlistentry>
46 <term><parameter>--with-curses</parameter></term>
47 <listitem>
[4815e28]48 <para>This option allows linking to Ncurses.</para>
[3f8be484]49 </listitem>
50 </varlistentry>
51
52 <varlistentry>
53 <term><parameter>--without-bash-malloc</parameter></term>
54 <listitem>
[4866cb6]55 <para>This option turns off the use of Bash's memory allocation
[3f8be484]56 (malloc) function which is known to cause segmentation faults.
[76cf100]57 By turning this option off, Bash will use the malloc functions
[3f8be484]58 from Glibc which are more stable.</para>
59 </listitem>
60 </varlistentry>
61
62 </variablelist>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../../final-system/common/bash.xml"
[dd618bf]66 xpointer="xpointer(//*[@os='j'])"/>
[3f8be484]67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../../final-system/common/bash.xml"
[dd618bf]70 xpointer="xpointer(//*[@os='k'])"/>
[3f8be484]71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../../final-system/common/bash.xml"
[dd618bf]74 xpointer="xpointer(//*[@os='m'])"/>
[3f8be484]75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../../final-system/common/bash.xml"
[dd618bf]78 xpointer="xpointer(//*[@os='n'])"/>
[3f8be484]79
[1bc8e5f]80 <para os="ae">Make a link for the programs that use <command>sh</command> for
[3f8be484]81 a shell:</para>
82
[1bc8e5f]83<screen os="af"><userinput>ln -s bash /tools/bin/sh</userinput></screen>
[3f8be484]84
85 </sect2>
86
87 <sect2 role="content">
88 <title/>
89
90 <para>Details on this package are located in <xref
91 linkend="contents-bash" role="."/></para>
92
93 </sect2>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.