source: BOOK/final-system/common/bash.xml@ 07919a7

Last change on this file since 07919a7 was 268f64e, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Convert Bash in the temp-system.

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[8cd07b0]2<!DOCTYPE c:package [
[3f8be484]3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5]>
6
[268f64e]7<c:package xmlns:c="http://schema.cross-lfs.org/book"
8 id="ch-system-bash" c:multibuild="false">
[3f8be484]9
[8cd07b0]10 <c:title>Bash</c:title>
11 <c:version>&bash-version;</c:version>
12 <c:description>The Bash package contains the Bourne-Again SHell.</c:description>
[3f8be484]13
[8cd07b0]14 <c:install>
[3f8be484]15
[268f64e]16 <c:para c:r="p-bu">The following patch contains updates from the maintainer. The
[8cd07b0]17 maintainer of Bash only releases these patches to fix serious issues:</c:para>
[3f8be484]18
[268f64e]19<c:command c:r="p-bu">patch -Np1 -i ../&bash-branch_update-patch;</c:command>
[3f8be484]20
[8cd07b0]21 <c:para c:multilib="true">The following sed points configure towards the
22 correct library directory while searching for Readline:</c:para>
[3f8be484]23
[8cd07b0]24<c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&amp;64@" configure</c:command>
[3f8be484]25
[8cd07b0]26 <c:para>Prepare Bash for compilation:</c:para>
[6f9ab64]27
[8cd07b0]28<c:command c:multilib="false">./configure --prefix=/usr --bindir=/bin \
29 --without-bash-malloc --with-installed-readline</c:command>
30<c:command c:multilib="true">CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
31 ./configure --prefix=/usr --bindir=/bin \
32 --without-bash-malloc --with-installed-readline</c:command>
[c822ddc]33
[8cd07b0]34<!--
35 <variablelist>
[3f8be484]36 <title>The meaning of the configure option:</title>
37
38 <varlistentry>
[8cd07b0]39 <term><parameter>-with-installed-readline</parameter></term>
[3f8be484]40 <listitem>
[8cd07b0]41 <c:para>This option tells Bash to use the
[3f8be484]42 <filename class="libraryfile">readline</filename> library that is
43 already installed on the system rather than using its own readline
[8cd07b0]44 version.</c:para>
[3f8be484]45 </listitem>
46 </varlistentry>
47 </variablelist>
[8cd07b0]48-->
49 <c:para>Compile the package:</c:para>
[3f8be484]50
[8cd07b0]51<c:command>make</c:command>
[3f8be484]52
[8cd07b0]53 <c:para>To test the results, issue:
54 <c:command>make tests</c:command>.</c:para>
[3f8be484]55
[8cd07b0]56 <c:para>Install the package:</c:para>
[3f8be484]57
[8cd07b0]58<c:command>make htmldir=/usr/share/doc/bash-&bash-version; install</c:command>
[3f8be484]59
[8cd07b0]60 <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
61 the one that is currently being executed):</c:para>
[3f8be484]62
[8cd07b0]63<c:command c:nodump="true">exec /bin/bash --login +h</c:command>
[3f8be484]64
[8cd07b0]65 <c:note>
66 <c:para>The parameters used make the <c:command>bash</c:command>
[3f8be484]67 process an interactive login shell and continue to disable hashing so
[8cd07b0]68 that new programs are found as they become available.</c:para>
69 </c:note>
[3f8be484]70
[8cd07b0]71 </c:install>
[3f8be484]72
[8cd07b0]73 <c:contents>
[3f8be484]74
[8cd07b0]75 <c:program>
76 <c:name>bash</c:name>
77 <c:description>A widely-used command interpreter; it performs many types
78 of expansions and substitutions on a given command line before executing
79 it, thus making this interpreter a powerful tool</c:description>
80 </c:program>
[3f8be484]81
[8cd07b0]82 <c:program>
83 <c:name>bashbug</c:name>
84 <c:description>A shell script to help the user compose and mail standard
85 formatted bug reports concerning <c:command>bash</c:command>
86 </c:description>
87 </c:program>
[3f8be484]88
[8cd07b0]89 <c:program>
90 <c:name>sh</c:name>
91 <c:description>A symlink to the <c:command>bash</c:command> program; when
92 invoked as <c:command>sh</c:command>, <c:command>bash</c:command> tries
93 to mimic the startup behavior of historical versions of
94 <c:command>sh</c:command> as closely as possible, while conforming to the
95 POSIX standard as well</c:description>
96 </c:program>
[3f8be484]97
[8cd07b0]98 </c:contents>
[3f8be484]99
[8cd07b0]100</c:package>
[3f8be484]101
Note: See TracBrowser for help on using the repository browser.