Changeset 3271442 for chapter06


Ignore:
Timestamp:
01/11/2006 12:41:26 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
1b2a5e7
Parents:
d07a8f84
Message:

Ported last updates from trunk except the Grep move on (already handled in this branch) and the Bison sed (conflicts with theBison installation in chapter05 and the move on of Flex).

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7266 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • chapter06/db.xml

    rd07a8f84 r3271442  
    55]>
    66<sect1 id="ch-system-db" role="wrap">
    7 <title>DB-&db-version;</title>
     7<title>Berkeley DB-&db-version;</title>
    88<?dbhtml filename="db.html"?>
    99
    10 <indexterm zone="ch-system-db"><primary sortas="a-DB">Berkeley DB</primary></indexterm>
     10<indexterm zone="ch-system-db"><primary sortas="a-Berkeley-DB">Berkeley DB</primary></indexterm>
    1111
    1212<sect2 role="package"><title/>
    13 <para>The DB package contains programs and utilities used by many other
     13<para>The Berkeley DB package contains programs and utilities used by many other
    1414applications for database related functions.</para>
    1515
     
    1717<segtitle>&buildtime;</segtitle>
    1818<segtitle>&diskspace;</segtitle>
    19 <seglistitem><seg>1.0 SBU</seg><seg>74 MB</seg></seglistitem>
     19<seglistitem><seg>1.2 SBU</seg><seg>78 MB</seg></seglistitem>
    2020</segmentedlist>
    2121
     
    2525Diffutils, GCC, Glibc, Make and Sed.</seg></seglistitem>
    2626</segmentedlist>
     27
     28<tip>
     29<title>Extra functionality for Berkeley DB in BLFS</title>
     30<para>There are instructions to build this package in the BLFS book if you                          need to build the RPC server or additional language bindings. The                                   
     31additional language bindings will require additional packages to be                                 
     32installed. The BLFS instructions are located at
     33<ulink url="&blfs-root;view/svn/server/databases.html#db"/>
     34for suggested installation instructions.</para>
     35</tip>
     36
    2737</sect2>
    2838
    2939<sect2 role="installation">
    30 <title>Installation of DB</title>
    31 
    32 <para>Prepare DB for compilation:</para>
     40<title>Installation of Berkeley DB</title>
     41
     42<para>Prepare Berkeley DB for compilation:</para>
    3343
    3444<screen><userinput>cd build_unix &amp;&amp;
     
    4050<varlistentry>
    4151<term><parameter>--enable-compat185</parameter></term>
    42 <listitem><para>This option enables building DB 1.85 compatibility API.</para></listitem>
     52<listitem><para>This option enables building Berkeley DB 1.85 compatibility API.</para></listitem>
    4353</varlistentry>
    4454
     
    5161<para>Compile the package:</para>
    5262
    53 <screen><userinput>make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</userinput></screen>
    54 
    55 <para>The meaning of the make option:</para>
    56 
    57 <variablelist>
    58 <varlistentry>
    59 <term><parameter>LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</parameter></term>
    60 <listitem><para>These variables work around a bug in the <command>configure</command>
    61 script that causes the DB libraries not to link against NPTL libraries</para></listitem>
    62 </varlistentry>
    63 </variablelist>
     63<screen><userinput>make</userinput></screen>
    6464
    6565<para>It is not possible to test the package meaningfully, because that
     
    8181</variablelist>
    8282
    83 <para>Fix the permissions on the installed documentation files:</para>
     83<para>Fix the ownerships of the installed files:</para>
    8484
    8585<screen><userinput>chown root:root /usr/bin/db_* \
     
    9090
    9191
    92 <sect2 id="contents-db" role="content"><title>Contents of DB</title>
     92<sect2 id="contents-db" role="content"><title>Contents of Berkeley DB</title>
    9393<segmentedlist>
    9494<segtitle>Installed programs</segtitle>
  • chapter06/gcc.xml

    rd07a8f84 r3271442  
    5454<screen><userinput>sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in</userinput></screen>
    5555
     56<para>GCC provides a <command>gccbug</command> script which detects at
     57compile time whether mktemp is present, and hardcodes the result in a test.
     58This will cause the script to fall back to using less random names for
     59temporary files.  We will be installing mktemp later, so the following sed
     60will simulate its presence.</para>
     61
     62<screen>sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</screen>
     63
    5664<para>The GCC documentation recommends building GCC outside of the source
    5765directory in a dedicated build directory:</para>
  • chapter06/iproute2.xml

    rd07a8f84 r3271442  
    2626      <segtitle>&dependencies;</segtitle>
    2727      <seglistitem>
    28         <seg>DB, GCC, Glibc, Make, and Linux-Headers</seg>
     28        <seg>Berkeley DB, GCC, Glibc, Make, and Linux-Headers</seg>
    2929      </seglistitem>
    3030    </segmentedlist>
     
    6060    <screen><userinput>make SBINDIR=/sbin install</userinput></screen>
    6161   
    62     <para>The <command>arpd</command> binary links against the DB libraries
     62    <para>The <command>arpd</command> binary links against the Berkeley DB libraries
    6363          that reside in <filename class="directory">/usr</filename> and
    6464          uses a database in <filename>/var/lib/arpd/arpd.db</filename>. Thus,
  • chapter06/man-db.xml

    rd07a8f84 r3271442  
    2121<segmentedlist>
    2222<segtitle>&dependencies;</segtitle>
    23 <seglistitem><seg>Bash, Binutils, Coreutils, Gawk, GCC, DB,
    24 Glibc, Gettext, Grep, Make, and Sed</seg></seglistitem>
     23<seglistitem><seg>Bash, Berkeley DB, Binutils, Coreutils, Gawk, GCC,
     24Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
    2525</segmentedlist>
    2626</sect2>
  • chapter06/perl.xml

    rd07a8f84 r3271442  
    2121<segmentedlist>
    2222<segtitle>&dependencies;</segtitle>
    23 <seglistitem><seg>Bash, Binutils, Coreutils, DB, Diffutils,
     23<seglistitem><seg>Bash, Berkeley DB, Binutils, Coreutils, Diffutils,
    2424Gawk, GCC, Glibc, Grep, Iana-Etc, Make, Patch, and Sed</seg></seglistitem>
    2525</segmentedlist>
     
    2828<sect2 role="installation">
    2929<title>Installation of Perl</title>
     30
     31<para>First create a basic <filename>/etc/hosts</filename> file which will be
     32referenced in one of Perl's configuration files as well as being used used by
     33the testsuite if you run that.</para>
     34
     35<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
    3036
    3137<para>To have full control over the way Perl is set up, run the
     
    5056
    5157<screen><userinput>make</userinput></screen>
    52 
    53 <para>To run the test suite, first create a basic
    54 <filename>/etc/hosts</filename> file which is needed by a couple of the tests to
    55 resolve the network name localhost:</para>
    56 
    57 <screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
    5858
    5959<para>Now run the tests, if desired:</para>
Note: See TracChangeset for help on using the changeset viewer.