Changeset 2a038b2 for server


Ignore:
Timestamp:
01/07/2006 06:17:08 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
3f87e4a
Parents:
2829ed0
Message:

Updated to Berkeley DB-4.4.16, added a patch to the Python instructions to support the new BDB, updated the Heimdal instructions to account for the changed library file names

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/databases/db.xml

    r2829ed0 r2a038b2  
    77  <!ENTITY db-download-http "http://downloads.sleepycat.com/db-&db-version;.tar.gz">
    88  <!ENTITY db-download-ftp  "ftp://ftp.sleepycat.com/releases/db-&db-version;.tar.gz">
    9   <!ENTITY db-md5sum        "13585a20ce32f113b8e8cdb57f52e3bb">
    10   <!ENTITY db-size          "5.9 MB">
    11   <!ENTITY db-buildsize     "74 MB (additional 140 MB to run parallel standard testsuite)">
    12   <!ENTITY db-time          "1.0 SBU (additional 80 SBU to run parallel standard testsuite)">
     9  <!ENTITY db-md5sum        "ec58179a39695cab6512eee0db0d71b9">
     10  <!ENTITY db-size          "8.1 MB">
     11  <!ENTITY db-buildsize     "94 MB (additional 100 MB to run parallel standard test suite)">
     12  <!ENTITY db-time          "1.5 SBU (builds all bindings, add an additional 145 SBU to run parallel standard test suite)">
    1313]>
    1414
     
    3636    <para>The <application>Berkeley DB</application> package contains programs
    3737    and utilities used by many other applications for database related
    38     functions.</para>
     38    functions. This package is also installed during LFS and may already exist
     39    on your system. It is listed here in BLFS as well because you may need to
     40    reinstall it if you need the additional language bindings or the RPC
     41    server.</para>
    3942
    4043    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    6366
    6467    <bridgehead renderas="sect4">Optional</bridgehead>
    65     <para role="optional"><xref linkend="tcl"/>, <xref linkend="jdk"/> and
     68    <para role="optional"><xref linkend="tcl"/>,
     69    <xref linkend="jdk"/>, and
    6670    <ulink url="http://www.gnu.org/software/sharutils/">sharutils</ulink>
    6771    (for the <command>uudecode</command> command)</para>
     
    7276    <title>Testing Berkeley DB</title>
    7377
    74     <para>It is recommended you skip ahead to Installation.  The test-suite
    75     takes more than 80 SBU and has a few bugs causing reports of 'Regression
    76     Tests Failed'. You must have <application>Tcl</application> to test
    77     <application>Berkeley DB</application>.</para>
     78    <para>You may want to skip ahead to <xref linkend="bdb-installation"/>. The
     79    test suite can take up to 150 SBUs and has a few bugs causing a report of
     80    <quote>Regression tests failed</quote>. However, running the test suite is
     81    a very exhaustive test of your hardware, perhaps pushing your machine
     82    harder (especially disk I/O) than it will ever see during production use.
     83    Note that you must have <application>Tcl</application> installed to run the
     84    test suite.</para>
    7885
    7986    <para>Build for the <application>Berkeley DB</application> test by running
     
    8188
    8289<screen><userinput>cd build_unix &amp;&amp;
    83 ../dist/configure --prefix=/usr \
    84     --enable-test --enable-tcl --with-tcl=/usr/lib &amp;&amp;
    85 make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread" &amp;&amp;
    86 chmod 644 ../test/sijointest.tcl &amp;&amp;
    87 sed -i 's:puts "[s,S].*::' \
    88     ../test/sijointest.tcl</userinput></screen>
     90../dist/configure --prefix=/usr --enable-test \
     91                  --enable-tcl  --with-tcl=/usr/lib &amp;&amp;
     92make</userinput></screen>
    8993
    9094    <para>To test the results, start <command>tclsh</command>:</para>
     
    9296<screen><userinput>tclsh</userinput></screen>
    9397
    94     <para>From the tclsh prompt (%), run:</para>
    95 
    96 <screen><userinput>source ../test/test.tcl
    97 run_parallel 4 run_std
    98 exit</userinput></screen>
    99 
    100     <para>Clean up with the following command:</para>
     98    <para>From the <command>tclsh</command> prompt (<prompt>%</prompt>),
     99    run:</para>
     100
     101<screen><userinput><prompt>%</prompt>source ../test/test.tcl
     102<prompt>%</prompt>run_parallel 5 run_std
     103<prompt>%</prompt>exit</userinput></screen>
     104
     105    <para>Clean up the source tree with the following command:</para>
    101106
    102107<screen><userinput>make realclean &amp;&amp;
     
    105110  </sect2>
    106111
    107   <sect2 role="installation">
     112  <sect2 role="installation" id="bdb-installation">
    108113    <title>Installation of Berkeley DB</title>
    109114
     
    113118<screen><userinput>cd build_unix &amp;&amp;
    114119../dist/configure --prefix=/usr \
    115     --enable-compat185 \
    116     --enable-cxx &amp;&amp;
    117 make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</userinput></screen>
     120                  --enable-compat185 \
     121                  --enable-cxx &amp;&amp;
     122make</userinput></screen>
    118123
    119124    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    120125
    121126<screen role="root"><userinput>make docdir=/usr/share/doc/db-&db-version; install &amp;&amp;
    122 chown root:root /usr/bin/db_* \
    123     /usr/lib/libdb* /usr/include/db* &amp;&amp;
    124 chown -R root:root /usr/share/doc/db-&db-version;</userinput></screen>
     127chown -v root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db* &amp;&amp;
     128chown -v root:root /usr/bin/berkeley_db_svc &amp;&amp;
     129chown -v -R root:root /usr/share/doc/db-&db-version;</userinput></screen>
    125130
    126131  </sect2>
     
    136141
    137142    <para><parameter>--enable-compat185</parameter>: This switch enables
    138     building DB 1.85 compatibility API.</para>
     143    building the DB-1.85 compatibility API.</para>
    139144
    140145    <para><parameter>--enable-cxx</parameter>: This switch enables building
     
    152157    <application>Berkeley DB</application> RPC server.</para>
    153158
    154     <para><command>make LIBSO_LIBS="-lpthread"
    155     LIBXSO_LIBS="-lpthread"</command>: <command>configure</command>
    156     does not correctly handle NPTL. These variables force it to
    157     properly link against NPTL.</para>
    158 
    159159    <para><command>make docdir=/usr/share/doc/db-&db-version;
    160160    install</command>: This installs the documentation in
    161     the correct place.</para>
    162 
    163     <para><command>sed -i 's:puts "[s,S].*::' ../test/sijointest.tcl</command>:
    164     This prevents logging two notes that are not recognized by
    165     <command>run_std</command>.</para>
     161    the correct location instead of
     162    <filename class='directory'>/usr/docs</filename>.</para>
     163
     164    <para><command>chown -v root:root /usr/bin/berkeley_db_svc</command>:
     165    This command changes the ownership of the RPC server program. It is only
     166    required if you passed <parameter>--enable-rpc</parameter> to the
     167    <command>configure</command> script.</para>
    166168
    167169  </sect2>
     
    170172    <title>Contents</title>
    171173
     174    <para>Only the program and libraries not installed in LFS are listed here,
     175    the others can be found at <ulink
     176    url="&lfs-root;/chapter06/db.html#contents-db"/> as they were initially
     177    installed during the building of LFS.</para>
     178
    172179    <segmentedlist>
    173       <segtitle>Installed Programs</segtitle>
     180      <segtitle>Installed Program</segtitle>
    174181      <segtitle>Installed Libraries</segtitle>
    175182      <segtitle>Installed Directory</segtitle>
    176183
    177184      <seglistitem>
    178         <seg>db_archive, db_checkpoint, db_deadlock, db_dump, db_load,
    179         db_printlog, db_recover, db_stat, db_upgrade, db_verify and
    180         berkeley_db_svc if enabled</seg>
    181         <seg>libdb.[so,a], libdb_cxx.[so,a], libdb_java.[so,a] and
    182         libdb_tcl.[so,a]</seg>
     185        <seg>berkeley_db_svc</seg>
     186        <seg>libdb_java.[so,a] and libdb_tcl.[so,a]</seg>
    183187        <seg>/usr/share/doc/db-&db-version;</seg>
    184188      </seglistitem>
     
    201205      </varlistentry>
    202206
     207      <!-- These are left in so that if LFS ever dumps BDB, it is easy to
     208           restore this information
     209
    203210      <varlistentry id="db_archive">
    204211        <term><command>db_archive</command></term>
     
    308315      </varlistentry>
    309316
     317      -->
     318
    310319    </variablelist>
    311320
Note: See TracChangeset for help on using the changeset viewer.