Changeset bcbca63 for content


Ignore:
Timestamp:
03/30/2005 05:32:22 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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:
8825a2a
Parents:
e8b9dbf7
Message:

Updated build entities and added indexing tags to Berkeley DB instructions

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/databases/db.xml

    re8b9dbf7 rbcbca63  
    99  <!ENTITY db-md5sum        "fcc481d52c3b80e20a328f8c0cb042bd">
    1010  <!ENTITY db-size          "5.7 MB">
    11   <!ENTITY db-buildsize     "68 MB">
    12   <!ENTITY db-time          "1.23 SBU">
     11  <!ENTITY db-buildsize     "68 MB (additional 140 MB to run parallel standard testsuite)">
     12  <!ENTITY db-time          "1.23 SBU (additional 74.5 SBU to run parallel standard testsuite)">
    1313]>
    1414
     
    2020<?dbhtml filename="db.html"?>
    2121<title>Berkeley DB-&db-version;</title>
     22<indexterm zone="db">
     23<primary sortas="a-Berkeley-DB">Berkeley DB</primary></indexterm>
    2224
    2325<sect2>
     
    6062    --enable-compat185 \
    6163    --enable-cxx &amp;&amp;
    62 make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread" &amp;&amp;
    63 make docdir=/usr/share/doc/db-&db-version; install</command></userinput></screen>
    64 
    65 <para><emphasis>Note:</emphasis> If you build the package as an unprivileged
    66 user, then switch to the root user to install the package,
    67 <application>Berkeley DB</application> will install the files with ownerships
    68 of the user building the package. This is undesireable. Change the ownership of
    69 the installed files using the following commands:</para>
    70 
    71 <screen><userinput><command>chown root:root /usr/bin/db_* \
     64make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</command></userinput></screen>
     65
     66<para>Now, as the root user:</para>
     67
     68<screen><userinput role='root'><command>make docdir=/usr/share/doc/db-&db-version; install &amp;&amp;
     69chown root:root /usr/bin/db_* \
    7270/usr/lib/libdb* /usr/include/db* &amp;&amp;
    7371chown -R root:root /usr/share/doc/db-&db-version;</command></userinput></screen>
     
    8886
    8987<para><parameter>--enable-cxx</parameter>: This switch enables building
    90 C++ <acronym>API</acronym>.</para>
     88C++ <acronym>API</acronym> libraries.</para>
    9189
    9290<para><command>make LIBSO_LIBS="-lpthread"
    93 LIBXSO_LIBS="-lpthread"</command>:  configure does not correctly handle
    94 <acronym>NPTL</acronym>.  These variables force it to properly link
    95 against <acronym>NPTL</acronym>.</para>
     91LIBXSO_LIBS="-lpthread"</command>:  <command>configure</command> does not
     92correctly handle <acronym>NPTL</acronym>. These variables force it to
     93properly link against <acronym>NPTL</acronym>.</para>
    9694
    9795<para><command>make docdir=/usr/share/doc/db-&db-version;
     
    10098
    10199<para><option>--enable-tcl --with-tcl=/usr/lib</option>:
    102 enables <application>Tcl</application> support in DB and creates the
     100Enables <application>Tcl</application> support in DB and creates the
    103101<filename class="libraryfile">libdb_tcl</filename> libraries.</para>
    104102
    105 <para><option>--enable-java</option>: enables <application>Java</application>
     103<para><option>--enable-java</option>: Enables <application>Java</application>
    106104support in DB and creates the
    107105<filename class='libraryfile'>libdb_java</filename> libraries.</para>
    108106
     107<para><option>--enable-rpc</option>: Enables building the
     108<application>Berkeley DB</application> <acronym>RPC</acronym> server.</para>
     109
    109110</sect2>
    110111
     
    112113<title>Contents</title>
    113114
    114 <para>The <application>Berkeley DB</application> package contains
    115 <command>db_archive</command>,
    116 <command>db_checkpoint</command>,
    117 <command>db_deadlock</command>,
    118 <command>db_dump</command>,
    119 <command>db_load</command>,
    120 <command>db_printlog</command>,
    121 <command>db_recover</command>,
    122 <command>db_stat</command>,
    123 <command>db_upgrade</command>,
    124 <command>db_verify</command> and the
    125 <filename class='libraryfile'>libdb</filename> libraries.
    126 
    127 </para>
    128 
    129 </sect2>
    130 
    131 <sect2><title>Description</title>
    132 
    133 <sect3><title>db_archive</title>
    134 <para><command>db_archive</command> prints the pathnames of log files that are
    135 no longer in use.</para></sect3>
    136 
    137 <sect3><title>db_checkpoint</title>
    138 <para><command>db_checkpoint</command> is a daemon process used to monitor and
    139 checkpoint database logs.</para></sect3>
    140 
    141 <sect3><title>db_deadlock</title>
    142 <para><command>db_deadlock</command> is used to abort lock requests when
    143 deadlocks are detected.</para></sect3>
    144 
    145 <sect3><title>db_dump</title>
    146 <para><command>db_dump</command> converts database files to a flat file format
    147 readable by <command>db_load</command>.</para></sect3>
    148 
    149 <sect3><title>db_load</title>
    150 <para><command>db_load</command> is used to create database files from flat
    151 files created with <command>db_dump</command>.</para></sect3>
    152 
    153 <sect3><title>db_printlog</title>
    154 <para><command>db_printlog</command> converts database log files to human
    155 readable text.</para></sect3>
    156 
    157 <sect3><title>db_recover</title>
    158 <para><command>db_recover</command> is used to restore a database to a
    159 consistent state after a failure.</para></sect3>
    160 
    161 <sect3><title>db_stat</title>
    162 <para><command>db_stat</command> displays database environment statistics.
    163 </para></sect3>
    164 
    165 <sect3><title>db_upgrade</title>
    166 <para><command>db_upgrade</command> is used to upgrade database files to a
    167 newer version of <application>Berkeley DB</application>.</para></sect3>
    168 
    169 <sect3><title>db_verify</title>
    170 <para><command>db_verify</command> is used to run consistency checks on
    171 database files.</para></sect3>
     115<segmentedlist>
     116<segtitle>Installed Programs</segtitle>
     117<segtitle>Installed Libraries</segtitle>
     118<segtitle>Installed Directory</segtitle>
     119
     120<seglistitem>
     121<seg>berkeley_db_svc, db_archive, db_checkpoint, db_deadlock, db_dump,
     122db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify</seg>
     123<seg>libdb.[so,a], libdb_cxx.[so,a], libdb_java.[so,a] and
     124libdb_tcl.[so,a]</seg>
     125<seg>/usr/share/doc/db-&db-version;</seg>
     126</seglistitem>
     127</segmentedlist>
     128
     129<variablelist>
     130<bridgehead renderas="sect3">Short Descriptions</bridgehead>
     131<?dbfo list-presentation="list"?>
     132
     133<varlistentry id="berkeley_db_svc">
     134<term><command>berkeley_db_svc</command></term>
     135<listitem><para>is the <application>Berkeley DB</application>
     136<acronym>RPC</acronym> server.</para>
     137<indexterm zone="db berkeley_db_svc">
     138<primary sortas="b-berkeley_db_svc">berkeley_db_svc</primary>
     139</indexterm></listitem>
     140</varlistentry>
     141
     142<varlistentry id="db_archive">
     143<term><command>db_archive</command></term>
     144<listitem><para>prints the pathnames of log files that are no longer in
     145use.</para>
     146<indexterm zone="db db_archive">
     147<primary sortas="b-db_archive">db_archive</primary>
     148</indexterm></listitem>
     149</varlistentry>
     150
     151<varlistentry id="db_checkpoint">
     152<term><command>db_checkpoint</command></term>
     153<listitem><para>is a daemon process used to monitor and checkpoint database
     154logs.</para>
     155<indexterm zone="db db_checkpoint">
     156<primary sortas="b-db_checkpoint">db_checkpoint</primary>
     157</indexterm></listitem>
     158</varlistentry>
     159
     160<varlistentry id="db_deadlock">
     161<term><command>db_deadlock</command></term>
     162<listitem><para>is used to abort lock requests when deadlocks are
     163detected.</para>
     164<indexterm zone="db db_deadlock">
     165<primary sortas="b-db_deadlock">db_deadlock</primary>
     166</indexterm></listitem>
     167</varlistentry>
     168
     169<varlistentry id="db_dump">
     170<term><command>db_dump</command></term>
     171<listitem><para>converts database files to a flat file format readable by
     172<command>db_load</command>.</para>
     173<indexterm zone="db db_dump">
     174<primary sortas="b-db_dump">db_dump</primary>
     175</indexterm></listitem>
     176</varlistentry>
     177
     178<varlistentry id="db_load">
     179<term><command>db_load</command></term>
     180<listitem><para>is used to create database files from flat files created with
     181<command>db_dump</command>.</para>
     182<indexterm zone="db db_load">
     183<primary sortas="b-db_load">db_load</primary>
     184</indexterm></listitem>
     185</varlistentry>
     186
     187<varlistentry id="db_printlog">
     188<term><command>db_printlog</command></term>
     189<listitem><para>converts database log files to human readable text.</para>
     190<indexterm zone="db db_printlog">
     191<primary sortas="b-db_printlog">db_printlog</primary>
     192</indexterm></listitem>
     193</varlistentry>
     194
     195<varlistentry id="db_recover">
     196<term><command>db_recover</command></term>
     197<listitem><para>is used to restore a database to a consistent state after a
     198failure.</para>
     199<indexterm zone="db db_recover">
     200<primary sortas="b-db_recover">db_recover</primary>
     201</indexterm></listitem>
     202</varlistentry>
     203
     204<varlistentry id="db_stat">
     205<term><command>db_stat</command></term>
     206<listitem><para>displays database environment statistics.</para>
     207<indexterm zone="db db_stat">
     208<primary sortas="b-db_stat">db_stat</primary>
     209</indexterm></listitem>
     210</varlistentry>
     211
     212<varlistentry id="db_upgrade">
     213<term><command>db_upgrade</command></term>
     214<listitem><para>is used to upgrade database files to a newer version of
     215<application>Berkeley DB</application>.</para>
     216<indexterm zone="db db_upgrade">
     217<primary sortas="b-db_upgrade">db_upgrade</primary>
     218</indexterm></listitem>
     219</varlistentry>
     220
     221<varlistentry id="db_verify">
     222<term><command>db_verify</command></term>
     223<listitem><para>is used to run consistency checks on database files.</para>
     224<indexterm zone="db db_verify">
     225<primary sortas="b-db_verify">db_verify</primary>
     226</indexterm></listitem>
     227</varlistentry>
     228</variablelist>
    172229
    173230</sect2>
Note: See TracChangeset for help on using the changeset viewer.