Changeset c90376c1


Ignore:
Timestamp:
06/25/2004 03:44:26 PM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
9f729d3
Parents:
b0d6e4b
Message:

added patching instructions and command explanations to DB-3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2380 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • content/databases/db-3.3.xml

    rb0d6e4b rc90376c1  
    55  %general-entities;
    66
    7   <!ENTITY db-3.3-download-http " ">
    8   <!ENTITY db-3.3-download-ftp  "ftp://ftp.pu.edu.tw/Unix/Database/BerkeleyDB/db-&db-3.3-version;.tar.gz">
     7  <!ENTITY db-3.3-download-http "http://fresh.t-systems-sfr.com/unix/src/misc/db-&db-3.3-version;.tar.gz">
     8  <!ENTITY db-3.3-download-ftp  "ftp://sleepycat1.inetu.net/releases/db-&db-3.3-version;.tar.gz">
    99  <!ENTITY db-3.3-size          "2.3 MB">
    10   <!ENTITY db-3.3-buildsize     "20.3 MB">
     10  <!ENTITY db-3.3-buildsize     "27.5 MB">
    1111  <!ENTITY db-3.3-time          "0.80 SBU">
    1212]>
     
    3838<itemizedlist spacing='compact'>
    3939<listitem><para>Required Patch: <ulink
    40 url="http://www.sleepycat.com/webforms/patchdl.php?src=patch.3.3.11.1"/></para></listitem>
     40url="http://www.sleepycat.com/update/&db-3.3-version;/patch.&db-3.3-version;.1"/></para></listitem>
    4141<listitem><para>Recommended Patch: <ulink
    42 url="http://www.sleepycat.com/webforms/patchdl.php?src=patch.3.3.11.2"/></para></listitem>
     42url="http://www.sleepycat.com/update/&db-3.3-version;/patch.&db-3.3-version;.2"/></para></listitem>
    4343</itemizedlist></sect3>
    44 
    4544
    4645</sect2>
     
    4948<title>Installation of <application>Berkeley DB</application></title>
    5049
    51 <para>See: <ulink url="http://www.sleepycat.com/download/patching.shtml"/>
    52 for instructions on installing the patches.
    53 </para>
    54 
    5550<para>Install <application>Berkeley DB</application> by running the following commands:
    5651</para>
    5752
    58 <screen><userinput><command>cd build_unix &amp;&amp;
     53<screen><userinput><command>patch -Np0 -i ../patch.&db-3.3-version;.1 &amp;&amp;
     54patch -Np0 -i ../patch.&db-3.3-version;.2 &amp;&amp;
     55cd build_unix &amp;&amp;
    5956../dist/configure --prefix=/opt/db-3.3 --enable-compat185 &amp;&amp;
    6057make &amp;&amp;
    6158make docdir=/opt/db-3.3/doc/Berkeley-DB install &amp;&amp;
    6259cd /opt/db-3.3/lib/ &amp;&amp;
    63 rm -f libdb.so &amp;&amp;
     60mv libdb.so .. &amp;&amp;
    6461for i in $(ls); do mv $i /usr/lib; ln -sf /usr/lib/$i; done &amp;&amp;
     62mv ../libdb.so . &amp;&amp;
    6563cd /opt/db-3.3/include/ &amp;&amp;
    6664sed -i 's/^DB185/DB/' db_185.h &amp;&amp;
     
    7270<title>Command explanations</title>
    7371
    74 <para><command>sed 's/^DB185/DB/' /usr/include/db_185.h > /usr/include/db_185.h.new</command>: Change the DB185 database pointer to DB.</para>
     72<para><parameter>docdir=/opt/db-3.3/doc/Berkeley-DB</parameter>: Installs the
     73documentation in the <filename class="directory">/opt/db-3.3</filename>
     74hierarchy.</para>
     75
     76<para><command>mv libdb.so ..</command> and <command>mv ../libdb.so
     77.</command>: Avoids moving <filename>libdb.so</filename> to 
     78<filename class="directory">/usr/lib</filename>.</para>
     79
     80<para><command>for i in ...; do ...; ln ...; done</command>: Moves the DB
     81libraries to <filename class="directory">/usr/lib</filename> and creates
     82symlinks to these libraries in
     83<filename class="directory">/opt/db-3.3/lib</filename>.</para>
     84
     85<para><command>sed -i 's/^DB185/DB/' db_185.h</command>: Change the DB185
     86database pointer to DB.</para>
    7587
    7688</sect2>
     
    88100<command>db_recover</command>,
    89101<command>db_stat</command>,
    90 <command>db_upgrade</command> and
    91 <command>db_verify</command>.
     102<command>db_upgrade</command>,
     103<command>db_verify</command> and the
     104<filename class="library">libdb-3</filename> libraries.
    92105
    93106</para>
     
    100113<para><command>db_archive</command> prints the pathnames of log files that are
    101114no longer in use.</para></sect3>
    102 
    103115
    104116<sect3><title>db_checkpoint</title>
     
    122134readable text.</para></sect3>
    123135
    124 
    125136<sect3><title>db_recover</title>
    126137<para><command>db_recover</command> is used to restore a database to a
  • general.ent

    rb0d6e4b rc90376c1  
    1 <!ENTITY day          "24">
     1<!ENTITY day          "25">
    22<!ENTITY month        "06">
    33<!ENTITY year         "2004">
  • introduction/welcome/changelog.xml

    rb0d6e4b rc90376c1  
    1818
    1919<itemizedlist>
     20
     21<listitem><para>June 25th, 2004 [randy]: Added patch instructions and
     22command explanations for DB-3.</para></listitem>
    2023
    2124<listitem><para>June 25th, 2004 [igor]: Added Screen-4.0.2,
Note: See TracChangeset for help on using the changeset viewer.