Changes in / [31cfd067:350ab24]


Ignore:
Location:
BOOK
Files:
9 added
4 deleted
21 edited

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    r31cfd067 r350ab24  
    33
    44VALIDATEDIR     := $(RENDERDIR)/validate
     5DBXMLDIR        := $(RENDERDIR)/docbook
    56PROFILEDIR      := $(RENDERDIR)/profile
    67
     
    2324                   ppc ppc64 ppc64-64
    2425#                  alpha Not tested anymore
     26
     27x86_ML          := 32
     28x86_64_ML       := 32,64
     29x86_64-64_ML    := 64
     30sparc_ML        := 32
     31sparc64_ML      := 32,64
     32sparc64-64_ML   := 64
     33mips_ML         := 32
     34mips64_ML       := 32,n32,64
     35mips64-64_ML    := 64
     36ppc_ML          := 32
     37ppc64_ML        := 32,64
     38alpha_ML        := 64
    2539
    2640ifdef V
     
    6276$(ARCHS_VD_XML): override arch = $(@:%-validate_dump-xml=%)
    6377$(ARCHS_VD_XML):
    64         @echo "Validating $(arch) book..."
     78        @echo "Validating $(arch) against the CLFS Schema..."
    6579        $(Q)mkdir -p $(VALIDATEDIR)
    6680        $(Q)xmllint --nonet --noent --xinclude \
    67           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
     81          --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
    6882          -o $(VALIDATEDIR)/$(arch)-full.xml \
    69           $(TOP)/$(arch)-index.xml
     83          $(TOP)/$(arch)-index.xml \
     84          2>&1 | grep -v " validates$$"; \
     85          if test $${?} -ne 0; then true; else false; fi
     86
     87ARCHS_DB_XML := $(ARCHS:%=%-db-xml)
     88.PHONY: $(ARCHS_DB_XML)
     89$(ARCHS_DB_XML): override arch = $(@:%-db-xml=%)
     90$(ARCHS_DB_XML):
     91        @$(MAKE) --no-print-directory $(arch)-validate_dump-xml
     92        @echo "Generating DocBook XML for $(arch)..."
     93        $(Q)mkdir -p $(DBXMLDIR)
     94        $(Q)xsltproc --nonet \
     95          --stringparam clfs.arch "$(arch)" \
     96          --stringparam clfs.multilib "$($(arch)_ML)" \
     97          --output $(DBXMLDIR)/$(arch)-db.xml \
     98          $(TOP)/stylesheets/clfs-profile.xsl \
     99          $(VALIDATEDIR)/$(arch)-full.xml
    70100
    71101ARCHS_P_XML := $(ARCHS:%=%-profiled-xml)
     
    73103$(ARCHS_P_XML): override arch = $(@:%-profiled-xml=%)
    74104$(ARCHS_P_XML):
    75         @$(MAKE) --no-print-directory $(arch)-validate_dump-xml
    76         @echo "Generating profiled $(arch) book..."
     105        @$(MAKE) --no-print-directory $(arch)-db-xml
     106        @echo "Profiling $(arch) for rendering..."
    77107        $(Q)mkdir -p $(PROFILEDIR)
    78         $(Q)xsltproc --nonet --stringparam profile.condition html \
     108        $(Q)xsltproc --nonet \
     109          --stringparam profile.condition html \
    79110          --output $(PROFILEDIR)/$(arch)-html.xml \
    80111          $(TOP)/stylesheets/lfs-xsl/profile.xsl \
    81           $(VALIDATEDIR)/$(arch)-full.xml
     112          $(DBXMLDIR)/$(arch)-db.xml
     113
     114ARCHS_VDB_XML := $(ARCHS:%=%-validate_db-xml)
     115.PHONY: $(ARCHS_VDB_XML)
     116$(ARCHS_VDB_XML): override arch = $(@:%-validate_db-xml=%)
     117$(ARCHS_VDB_XML):
     118        @echo "Validating $(arch) against the DocBook Schema..."
     119        $(Q)xmllint --noout --nonet \
     120          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
     121          $(PROFILEDIR)/$(arch)-html.xml \
     122          2>&1 | grep -v " validates$$"; \
     123          if test $${?} -ne 0; then true; else false; fi
    82124
    83125ARCHS_HTML := $(ARCHS:%=%-html)
     
    87129$(ARCHS_HTML):
    88130        @$(MAKE) --no-print-directory $(arch)-profiled-xml
     131        @$(MAKE) --no-print-directory $(arch)-validate_db-xml
    89132
    90133        @echo "Rendering chunked XHTML of $(arch)..."
     
    112155$(ARCHS_NOCHUNKS):
    113156        @$(MAKE) --no-print-directory $(arch)-profiled-xml
     157        @$(MAKE) --no-print-directory $(arch)-validate_db-xml
    114158
    115159        @echo "Rendering Single File HTML of $(arch)..."
     
    128172$(ARCHS_FO):
    129173        @$(MAKE) --no-print-directory $(arch)-profiled-xml
     174        @$(MAKE) --no-print-directory $(arch)-validate_db-xml
    130175
    131176        @echo "Generating FO file of $(arch)..."
     
    153198$(ARCHS_VALIDATE): override arch =  $(@:%-validate=%)
    154199$(ARCHS_VALIDATE):
    155         @echo "Validating $(arch)..."
     200        @echo "Validating $(arch) against the CLFS Schema..."
    156201        $(Q)xmllint --xinclude --noout --nonet \
    157           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    158           $(TOP)/$(arch)-index.xml
     202          --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
     203          $(TOP)/$(arch)-index.xml \
     204          2>&1 | grep -v " validates$$"; \
     205          if test $${?} -ne 0; then true; else false; fi
    159206
    160207ARCHS_TROUBLE := $(ARCHS:%=%-trouble)
     
    166213        @mkdir -p $(TROUBLEDIR)
    167214        $(Q)xmllint --xinclude --nonet \
    168           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
     215          --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
    169216          -o $(TROUBLEDIR)/dump-$(arch) \
    170           $(TOP)/$(arch)-index.xml
     217          $(TOP)/$(arch)-index.xml \
     218          2>&1 | grep -v " validates$$"; \
     219          if test $${?} -ne 0; then true; else false; fi
    171220        $(Q)xmllint --xinclude --noout --nonet \
    172           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    173           $(TROUBLEDIR)/dump-$(arch)
     221          --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
     222          $(TROUBLEDIR)/dump-$(arch) \
     223          2>&1 | grep -v " validates$$"; \
     224          if test $${?} -ne 0; then true; else false; fi
    174225        @echo "You can now look at $(TROUBLEDIR)/dump-$(arch) to see the errors"
    175226
  • BOOK/cross-tools/common/m4.xml

    r31cfd067 r350ab24  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     2<!DOCTYPE c:package [
    43  <!ENTITY % general-entities SYSTEM "../../general.ent">
    54  %general-entities;
    65]>
    76
    8 <sect1 id="ch-cross-tools-m4" role="wrap">
    9   <?dbhtml filename="m4.html"?>
     7<c:package xmlns:c="http://schema.cross-lfs.org/book"
     8           xmlns:xi="http://www.w3.org/2001/XInclude"
     9           id="ch-cross-tools-m4" c:multibuild="false">
    1010
    11   <title>M4-&m4-version;</title>
     11  <c:title>M4</c:title>
     12  <c:version>&m4-version;</c:version>
     13  <c:variant>cross-tools</c:variant>
    1214
    13   <indexterm zone="ch-cross-tools-m4">
    14     <primary sortas="a-M4">M4</primary>
    15     <secondary>cross tools</secondary>
    16   </indexterm>
     15  <xi:include href="../../final-system/common/m4.xml"
     16  xpointer="xmlns(co=http://schema.cross-lfs.org/book)
     17            xpointer(/co:package/co:description[1])" />
    1718
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../../final-system/common/m4.xml"
    20   xpointer="xpointer(//*[@role='package'])"/>
     19<c:install> 
    2120
    22   <sect2 role="installation">
    23     <title>Installation of M4</title>
     21    <c:para>Prepare M4 for compilation:</c:para>
    2422
    25     <para os="a">Prepare M4 for compilation:</para>
     23<c:command>./configure --prefix=/cross-tools</c:command>
    2624
    27 <screen os="b"><userinput>./configure --prefix=/cross-tools</userinput></screen>
     25    <c:para>Compile the package:</c:para>
    2826
    29     <para os="c">Compile the package:</para>
     27<c:command>make</c:command>
    3028
    31 <screen os="d"><userinput>make</userinput></screen>
     29    <c:para>Install the package:</c:para>
    3230
    33     <para os="e">Install the package:</para>
     31<c:command>make install</c:command>
    3432
    35 <screen os="f"><userinput>make install</userinput></screen>
     33  </c:install>
    3634
    37   </sect2>
     35  <c:contents c:ref="ch-system-m4" />
    3836
    39   <sect2 role="content">
    40     <title/>
    41 
    42     <para>Details on this package are located in <xref
    43     linkend="contents-m4" role="."/></para>
    44 
    45   </sect2>
    46 
    47 </sect1>
     37</c:package>
  • BOOK/final-system/common/bash.xml

    r31cfd067 r350ab24  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     2<!DOCTYPE c:package [
    43  <!ENTITY % general-entities SYSTEM "../../general.ent">
    54  %general-entities;
    65]>
    76
    8 <sect1 id="ch-system-bash" role="wrap">
    9   <?dbhtml filename="bash.html"?>
     7<c:package xmlns:c="http://schema.cross-lfs.org/book"
     8           id="ch-system-bash" c:multibuild="false">
    109
    11   <title>Bash-&bash-version;</title>
     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>
    1213
    13   <indexterm zone="ch-system-bash">
    14     <primary sortas="a-Bash">Bash</primary>
    15   </indexterm>
     14  <c:install>
    1615
    17   <sect2 role="package">
    18     <title/>
     16    <c:para c:r="p-bu">The following patch contains updates from the maintainer. The
     17    maintainer of Bash only releases these patches to fix serious issues:</c:para>
    1918
    20     <para>The Bash package contains the Bourne-Again SHell.</para>
     19<c:command c:r="p-bu">patch -Np1 -i ../&bash-branch_update-patch;</c:command>
    2120
    22   </sect2>
     21    <c:para c:multilib="true">The following sed points configure towards the
     22    correct library directory while searching for Readline:</c:para>
    2323
    24   <sect2 role="installation">
    25     <title>Installation of Bash</title>
     24<c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&amp;64@" configure</c:command>
    2625
    27     <para os="p1">The following patch contains updates from the maintainer. The
    28     maintainer of Bash only releases these patches to fix serious issues:</para>
     26    <c:para>Prepare Bash for compilation:</c:para>
    2927
    30 <screen os="p2"><userinput>patch -Np1 -i ../&bash-branch_update-patch;</userinput></screen>
     28<c:command c:multilib="false">./configure --prefix=/usr --bindir=/bin \
     29    --without-bash-malloc --with-installed-readline \
     30    --docdir=/usr/share/doc/bash-&bash-version;</c:command>
     31<c:command c:multilib="true">CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
     32    ./configure --prefix=/usr --bindir=/bin \
     33    --without-bash-malloc --with-installed-readline \
     34    --docdir=/usr/share/doc/bash-&bash-version;</c:command>
    3135
    32     <para os="a">Prepare Bash for compilation:</para>
    33 
    34 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
    35     --without-bash-malloc --with-installed-readline \
    36     --docdir=/usr/share/doc/bash-&bash-version;</userinput></screen>
    37 
    38     <variablelist os="c">
     36<!--
     37    <variablelist>
    3938      <title>The meaning of the configure option:</title>
    4039
    4140      <varlistentry>
    42         <term><parameter>--with-installed-readline</parameter></term>
     41        <term><parameter>-with-installed-readline</parameter></term>
    4342        <listitem>
    44           <para>This option tells Bash to use the
     43          <c:para>This option tells Bash to use the
    4544          <filename class="libraryfile">readline</filename> library that is
    4645          already installed on the system rather than using its own readline
    47           version.</para>
     46          version.</c:para>
    4847        </listitem>
    4948      </varlistentry>
    5049    </variablelist>
     50-->
     51    <c:para>Compile the package:</c:para>
    5152
    52     <para os="d">Compile the package:</para>
     53<c:command>make</c:command>
    5354
    54 <screen os="e"><userinput>make</userinput></screen>
     55    <c:para>To test the results, issue:
     56    <c:command>make tests</c:command>.</c:para>
    5557
    56     <para os="f">To test the results, issue:</para>
     58    <c:para>Install the package:</c:para>
    5759
    58 <screen os="f2"><userinput remap="test">make tests</userinput></screen>
     60<c:command>make install</c:command>
    5961
    60     <para os="g">Install the package:</para>
     62    <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
     63    the one that is currently being executed):</c:para>
    6164
    62 <screen os="h"><userinput>make install</userinput></screen>
     65<c:command c:nodump="true">exec /bin/bash --login +h</c:command>
    6366
    64     <para os="i">Run the newly compiled <command>bash</command> program (replacing
    65     the one that is currently being executed):</para>
     67    <c:note>
     68      <c:para>The parameters used make the <c:command>bash</c:command>
     69      process an interactive login shell and continue to disable hashing so
     70      that new programs are found as they become available.</c:para>
     71    </c:note>
    6672
    67 <screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
     73  </c:install>
    6874
    69     <note os="k">
    70       <para>The parameters used make the <command>bash</command>
    71       process an interactive login shell and continue to disable hashing so
    72       that new programs are found as they become available.</para>
    73     </note>
     75  <c:contents>
    7476
    75   </sect2>
     77    <c:program>
     78      <c:name>bash</c:name>
     79      <c:description>A widely-used command interpreter; it performs many types
     80      of expansions and substitutions on a given command line before executing
     81      it, thus making this interpreter a powerful tool</c:description>
     82    </c:program>
    7683
    77   <sect2 id="contents-bash" role="content">
    78     <title>Contents of Bash</title>
     84    <c:program>
     85      <c:name>bashbug</c:name>
     86      <c:description>A shell script to help the user compose and mail standard
     87      formatted bug reports concerning <c:command>bash</c:command>
     88      </c:description>
     89    </c:program>
    7990
    80     <segmentedlist>
    81       <segtitle>Installed programs</segtitle>
    82       <segtitle>Installed directory</segtitle>
     91    <c:program>
     92      <c:name>sh</c:name>
     93      <c:description>A symlink to the <c:command>bash</c:command> program; when
     94      invoked as <c:command>sh</c:command>, <c:command>bash</c:command> tries
     95      to mimic the startup behavior of historical versions of
     96      <c:command>sh</c:command> as closely as possible, while conforming to the
     97      POSIX standard as well</c:description>
     98    </c:program>
    8399
    84       <seglistitem>
    85         <seg>bash, bashbug, and sh (link to bash)</seg>
    86         <seg>/usr/share/doc/bash-&bash-version;</seg>
    87       </seglistitem>
    88     </segmentedlist>
     100  </c:contents>
    89101
    90     <variablelist>
    91       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    92       <?dbfo list-presentation="list"?>
    93       <?dbhtml list-presentation="table"?>
     102</c:package>
    94103
    95       <varlistentry id="bash">
    96         <term><command>bash</command></term>
    97         <listitem>
    98           <para>A widely-used command interpreter; it performs many types of
    99           expansions and substitutions on a given command line before executing
    100           it, thus making this interpreter a powerful tool</para>
    101           <indexterm zone="ch-system-bash bash">
    102             <primary sortas="b-bash">bash</primary>
    103           </indexterm>
    104         </listitem>
    105       </varlistentry>
    106 
    107       <varlistentry id="bashbug">
    108         <term><command>bashbug</command></term>
    109         <listitem>
    110           <para>A shell script to help the user compose and mail standard
    111           formatted bug reports concerning <command>bash</command></para>
    112           <indexterm zone="ch-system-bash bashbug">
    113             <primary sortas="b-bashbug">bashbug</primary>
    114           </indexterm>
    115         </listitem>
    116       </varlistentry>
    117 
    118       <varlistentry id="sh">
    119         <term><command>sh</command></term>
    120         <listitem>
    121           <para>A symlink to the <command>bash</command> program; when invoked
    122           as <command>sh</command>, <command>bash</command> tries to mimic the
    123           startup behavior of historical versions of <command>sh</command> as
    124           closely as possible, while conforming to the POSIX standard as
    125           well</para>
    126           <indexterm zone="ch-system-bash sh">
    127             <primary sortas="b-sh">sh</primary>
    128           </indexterm>
    129         </listitem>
    130       </varlistentry>
    131 
    132     </variablelist>
    133 
    134   </sect2>
    135 
    136 </sect1>
  • BOOK/final-system/common/m4.xml

    r31cfd067 r350ab24  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     2<!DOCTYPE c:package [
    43  <!ENTITY % general-entities SYSTEM "../../general.ent">
    54  %general-entities;
    65]>
    76
    8 <sect1 id="ch-system-m4" role="wrap">
    9   <?dbhtml filename="m4.html"?>
     7<c:package xmlns:c="http://schema.cross-lfs.org/book"
     8           id="ch-system-m4" c:multibuild="false">
    109
    11   <title>M4-&m4-version;</title>
     10  <c:title>M4</c:title>
     11  <c:version>&m4-version;</c:version> 
     12  <c:description>The M4 package contains a macro processor.</c:description>
    1213
    13   <indexterm zone="ch-system-m4">
    14     <primary sortas="a-M4">M4</primary>
    15   </indexterm>
     14  <c:install>
    1615
    17   <sect2 role="package">
    18     <title/>
     16    <c:para>Prepare M4 for compilation:</c:para>
    1917
    20     <para>The M4 package contains a macro processor.</para>
     18    <c:command c:multilib="false">./configure --prefix=/usr</c:command>
     19    <c:command c:multilib="true">CC="gcc ${BUILD64}" ./configure --prefix=/usr</c:command>
    2120
    22   </sect2>
     21    <c:para>Compile the package:</c:para>
    2322
    24   <sect2 role="installation">
    25     <title>Installation of M4</title>
     23    <c:command>make</c:command>
    2624
    27     <para os="a">Prepare M4 for compilation:</para>
     25    <c:para>To test the results, issue:
     26    <c:command>make check</c:command>.</c:para>
    2827
    29 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     28    <c:para>Install the package:</c:para>
    3029
    31     <para os="c">Compile the package:</para>
     30    <c:command>make install</c:command>
    3231
    33 <screen os="d"><userinput>make</userinput></screen>
     32  </c:install>
    3433
    35     <para os="e">To test the results, issue:</para>
     34  <c:contents>
    3635
    37 <screen os="e2"><userinput remap="test">make check</userinput></screen>
    38 
    39     <para os="f">Install the package:</para>
    40 
    41 <screen os="g"><userinput>make install</userinput></screen>
    42 
    43   </sect2>
    44 
    45   <sect2 id="contents-m4" role="content">
    46     <title>Contents of M4</title>
    47 
    48     <segmentedlist>
    49       <segtitle>Installed program</segtitle>
    50 
    51       <seglistitem>
    52         <seg>m4</seg>
    53       </seglistitem>
    54     </segmentedlist>
    55 
    56     <variablelist>
    57       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    58       <?dbfo list-presentation="list"?>
    59       <?dbhtml list-presentation="table"?>
    60 
    61       <varlistentry id="m4">
    62          <!-- Don't remove the extra space, it prevet a FOP warning. -->
    63         <term><command>m4 </command></term>
    64         <listitem>
    65           <para>copies the given files while expanding the macros that they
     36    <c:program>
     37      <c:name>m4</c:name>
     38          <c:description>copies the given files while expanding the macros that they
    6639          contain. These macros are either built-in or user-defined and can
    6740          take any number of arguments. Besides performing macro expansion,
    68           <command>m4</command> has built-in functions for including named
     41          <c:command>m4</c:command> has built-in functions for including named
    6942          files, running Unix commands, performing integer arithmetic,
    70           manipulating text, recursion, etc. The <command>m4</command>
     43          manipulating text, recursion, etc. The <c:command>m4</c:command>
    7144          program can be used either as a front-end to a compiler or as a
    72           macro processor in its own right.</para>
    73           <indexterm zone="ch-system-m4 m4">
    74             <primary sortas="b-m4">m4</primary>
    75           </indexterm>
    76         </listitem>
    77       </varlistentry>
     45          macro processor in its own right.</c:description>
     46    </c:program>
    7847
    79     </variablelist>
     48  </c:contents>
    8049
    81   </sect2>
    82 
    83 </sect1>
     50</c:package>
  • BOOK/final-system/mips64-chapter.xml

    r31cfd067 r350ab24  
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/glibc-64bit.xml"/>
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/adjusting.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/m4.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-n32.xml"/>
     
    8888  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    8989  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    90   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     90  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    9191  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    9292  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
  • BOOK/final-system/ppc64-chapter.xml

    r31cfd067 r350ab24  
    2121  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/glibc-64bit.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/adjusting.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/m4.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/>
     
    6969  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    7070  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    71   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     71  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    7373  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
  • BOOK/final-system/sparc64-chapter.xml

    r31cfd067 r350ab24  
    2121  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/glibc-64bit.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/adjusting.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/m4.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/>
     
    6969  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    7070  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    71   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     71  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    7373  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
  • BOOK/final-system/x86_64-chapter.xml

    r31cfd067 r350ab24  
    2121  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/glibc-64bit.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/adjusting.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/m4.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/>
     
    6969  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    7070  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    71   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     71  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    7373  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
  • BOOK/introduction/common/changelog.xml

    r31cfd067 r350ab24  
    770770
    771771    <listitem>
     772      <para>30 December 2013</para>
     773      <itemizedlist>
     774        <listitem>
     775          <para>[William Harrington] - Update E2fsprogs to 1.42.9.</para>
     776        </listitem>
     777        <listitem>
     778          <para>[William Harrington] - Update Automake to 1.14.1.</para>
     779        </listitem>
     780      </itemizedlist>
     781    </listitem>
     782
     783    <listitem>
    772784      <para>14 December 2013</para>
    773785      <itemizedlist>
  • BOOK/temp-system/common/bash.xml

    r31cfd067 r350ab24  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     2<!DOCTYPE c:package [
    43  <!ENTITY % general-entities SYSTEM "../../general.ent">
    54  %general-entities;
    65]>
    76
    8 <sect1 id="ch-temp-system-bash" role="wrap">
    9   <?dbhtml filename="bash.html"?>
     7<c:package xmlns:c="http://schema.cross-lfs.org/book"
     8           xmlns:xi="http://www.w3.org/2001/XInclude"
     9           id="ch-temp-system-bash" c:multibuild="false">
    1010
    11   <title>Bash-&bash-version;</title>
     11  <c:title>Bash</c:title>
     12  <c:version>&bash-version;</c:version>
     13  <c:variant>temporary system</c:variant>
    1214
    13   <indexterm zone="ch-temp-system-bash">
    14     <primary sortas="a-Bash">Bash</primary>
    15     <secondary>temporary system</secondary>
    16   </indexterm>
     15  <xi:include href="../../final-system/common/bash.xml"
     16    xpointer="xmlns(co=http://schema.cross-lfs.org/book)
     17              xpointer(/co:package/co:description[1])" />
    1718
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../../final-system/common/bash.xml"
    20   xpointer="xpointer(//*[@role='package'])"/>
     19  <c:install>
    2120
    22   <sect2 role="installation">
    23     <title>Installation of Bash</title>
     21    <xi:include href="../../final-system/common/bash.xml"
     22      xpointer="xmlns(co=http://schema.cross-lfs.org/book)
     23                xpointer(/co:package/co:install/*[@co:r='p-bu'])" />
    2424
    25     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/bash.xml"
    27     xpointer="xpointer(//*[@os='p1'])"/>
     25    <c:para>When Bash is cross-compiled, it cannot test for the presence
     26    of named pipes, among other things. If you used <c:command>su</c:command> to
     27    become an unprivileged user, this combination will cause Bash to build
     28    without <c:emphasis>process substitution</c:emphasis>, which will break one
     29    of the C++ test scripts in <c:literal>eglibc</c:literal>. The following prevents
     30    future problems by skipping the check for named pipes, as well as other
     31    tests that can not run while cross-compiling or that do not run properly:</c:para>
    2832
    29     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/bash.xml"
    31     xpointer="xpointer(//*[@os='p2'])"/>
    32 
    33     <para os="t1">When Bash is cross-compiled, it cannot test for the presence
    34     of named pipes, among other things. If you used <command>su</command> to
    35     become an unprivileged user, this combination will cause Bash to build
    36     without <emphasis>process substitution</emphasis>, which will break one
    37     of the C++ test scripts in <literal>glibc</literal>. The following prevents
    38     future problems by skipping the check for named pipes, as well as other
    39     tests that can not run while cross-compiling or that do not run properly:</para>
    40 
    41 <screen os="t2"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
     33<c:command>cat &gt; config.cache &lt;&lt; "EOF"
    4234ac_cv_func_mmap_fixed_mapped=yes
    4335ac_cv_func_strcoll_works=yes
     
    5244bash_cv_unusable_rtsigs=no
    5345gt_cv_int_divbyzero_sigfpe=yes
    54 EOF</userinput></screen>
     46EOF</c:command>
    5547
    56     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    57     href="../../final-system/common/bash.xml"
    58     xpointer="xpointer(//*[@os='a'])"/>
     48    <c:para>Prepare Bash for compilation:</c:para>
    5949
    60 <screen os="b"><userinput>./configure --prefix=/tools \
    61     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    62     --without-bash-malloc --cache-file=config.cache</userinput></screen>
     50<c:command c:arch="alpha,mips,ppc,sparc,x86">./configure -prefix=/tools \
     51    -build=${CLFS_HOST} -host=${CLFS_TARGET} \
     52    -without-bash-malloc -cache-file=config.cache</c:command>
     53<c:command c:arch="mips64-64,mips64,ppc64,sparc64-64,sparc64,x86_64-64,x86_64">CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
     54   ./configure --prefix=/tools \
     55   --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     56   --without-bash-malloc --cache-file=config.cache</c:command>
    6357
     58<!--
    6459    <variablelist os="c">
    6560      <title>The meaning of the new configure option:</title>
    6661
    6762      <varlistentry>
    68         <term><parameter>--without-bash-malloc</parameter></term>
     63        <term><parameter>-without-bash-malloc</parameter></term>
    6964        <listitem>
    7065          <para>This option turns off the use of Bash's memory allocation
     
    7671
    7772    </variablelist>
     73-->
    7874
    79     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    80     href="../../final-system/common/bash.xml"
    81     xpointer="xpointer(//*[@os='d'])"/>
     75    <c:para>Compile the package:</c:para>
    8276
    83     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    84     href="../../final-system/common/bash.xml"
    85     xpointer="xpointer(//*[@os='e'])"/>
     77<c:command>make</c:command>
    8678
    87     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    88     href="../../final-system/common/bash.xml"
    89     xpointer="xpointer(//*[@os='g'])"/>
     79    <c:para>Install the package:</c:para>
    9080
    91 <screen os="h"><userinput>make install</userinput></screen>
     81<c:command>make install</c:command>
    9282
    93   </sect2>
     83  </c:install>
    9484
    95   <sect2 role="content">
    96     <title/>
     85  <c:contents c:ref="ch-system-bash" />
    9786
    98     <para>Details on this package are located in <xref
    99     linkend="contents-bash" role="."/></para>
     87</c:package>
    10088
    101   </sect2>
    102 
    103 </sect1>
  • BOOK/temp-system/common/m4.xml

    r31cfd067 r350ab24  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     2<!DOCTYPE c:package [
    43  <!ENTITY % general-entities SYSTEM "../../general.ent">
    54  %general-entities;
    65]>
    76
    8 <sect1 id="ch-temp-system-m4" role="wrap">
    9   <?dbhtml filename="m4.html"?>
     7<c:package xmlns:c="http://schema.cross-lfs.org/book"
     8           xmlns:xi="http://www.w3.org/2001/XInclude"
     9           id="ch-temp-system-m4" c:multibuild="false">
    1010
    11   <title>M4-&m4-version;</title>
     11  <c:title>M4</c:title>
     12  <c:version>&m4-version;</c:version>
     13  <c:variant>temporary system</c:variant>
    1214
    13   <indexterm zone="ch-temp-system-m4">
    14     <primary sortas="a-M4">M4</primary>
    15     <secondary>temporary system</secondary>
    16   </indexterm>
     15  <xi:include href="../../final-system/common/m4.xml"
     16  xpointer="xmlns(co=http://schema.cross-lfs.org/book)
     17            xpointer(/co:package/co:description[1])" />
    1718
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../../final-system/common/m4.xml"
    20   xpointer="xpointer(//*[@role='package'])"/>
     19  <c:install>
    2120
    22   <sect2 role="installation">
    23     <title>Installation of M4</title>
     21    <c:para>Configure can not properly determine the results of the
     22    following tests:</c:para>
    2423
    25     <para os="cc1">Configure can not properly determine the results of the
    26     following tests:</para>
    27 
    28 <screen os="cc2"><userinput>cat &gt; config.cache &lt;&lt; EOF
     24    <c:command>cat &gt; config.cache &lt;&lt; EOF
    2925gl_cv_func_btowc_eof=yes
    3026gl_cv_func_mbrtowc_incomplete_state=yes
     
    3632gl_cv_func_wcrtomb_retval=yes
    3733gl_cv_func_wctob_works=yes
    38 EOF</userinput></screen>
     34EOF</c:command>
    3935
    40     <para os="a">Prepare M4 for compilation:</para>
     36    <c:para>Prepare M4 for compilation:</c:para>
    4137
    42 <screen os="b"><userinput>./configure --prefix=/tools \
     38    <c:command c:multilib="false">./configure --prefix=/tools \
    4339    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    44     --cache-file=config.cache</userinput></screen>
     40    --cache-file=config.cache</c:command>
    4541
    46     <para os="c">Compile the package:</para>
     42    <c:command c:multilib="true">CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
     43    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     44    --cache-file=config.cache</c:command>
    4745
    48 <screen os="d"><userinput>make</userinput></screen>
     46    <c:para>Compile the package:</c:para>
    4947
    50     <para os="e">Install the package:</para>
     48    <c:command>make</c:command>
    5149
    52 <screen os="f"><userinput>make install</userinput></screen>
     50    <c:para>Install the package:</c:para>
    5351
    54   </sect2>
     52    <c:command>make install</c:command>
    5553
    56   <sect2 role="content">
    57     <title/>
     54  </c:install>
    5855
    59     <para>Details on this package are located in <xref
    60     linkend="contents-m4" role="."/></para>
     56  <c:contents c:ref="ch-system-m4" />
    6157
    62   </sect2>
    63 
    64 </sect1>
     58</c:package>
  • BOOK/temp-system/mips64-64-chapter.xml

    r31cfd067 r350ab24  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/>
  • BOOK/temp-system/mips64-chapter.xml

    r31cfd067 r350ab24  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/>
  • BOOK/temp-system/ppc64-64-chapter.xml

    r31cfd067 r350ab24  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/>
  • BOOK/temp-system/ppc64-chapter.xml

    r31cfd067 r350ab24  
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/gcc.xml"/>
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ncurses.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/>
  • BOOK/temp-system/sparc64-64-chapter.xml

    r31cfd067 r350ab24  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/>
  • BOOK/temp-system/sparc64-chapter.xml

    r31cfd067 r350ab24  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/>
  • BOOK/temp-system/x86_64-64-chapter.xml

    r31cfd067 r350ab24  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/>
  • BOOK/temp-system/x86_64-chapter.xml

    r31cfd067 r350ab24  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bison.xml"/>
    2627  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    2728  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/>
     
    3435  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grep.xml"/>
    3536  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gzip.xml"/>
    36   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/make.xml"/>
     37  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
    3738  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/patch.xml"/>
    3839  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sed.xml"/>
  • BOOK/x86-index.xml

    r31cfd067 r350ab24  
    1313  -->
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/preface.xml"/>
     15
    1516
    1617  <part id="part1">
  • BOOK/x86_64-index.xml

    r31cfd067 r350ab24  
    66]>
    77
    8 <book>
     8<book xmlns:c="http://schema.cross-lfs.org/book">
    99
    1010  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/x86_64/bookinfo.xml"/>
Note: See TracChangeset for help on using the changeset viewer.