- Timestamp:
- 01/07/2006 06:17:08 PM (18 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/db.xml
r2829ed0 r2a038b2 7 7 <!ENTITY db-download-http "http://downloads.sleepycat.com/db-&db-version;.tar.gz"> 8 8 <!ENTITY db-download-ftp "ftp://ftp.sleepycat.com/releases/db-&db-version;.tar.gz"> 9 <!ENTITY db-md5sum " 13585a20ce32f113b8e8cdb57f52e3bb">10 <!ENTITY db-size " 5.9MB">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)"> 13 13 ]> 14 14 … … 36 36 <para>The <application>Berkeley DB</application> package contains programs 37 37 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> 39 42 40 43 <bridgehead renderas="sect3">Package Information</bridgehead> … … 63 66 64 67 <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 66 70 <ulink url="http://www.gnu.org/software/sharutils/">sharutils</ulink> 67 71 (for the <command>uudecode</command> command)</para> … … 72 76 <title>Testing Berkeley DB</title> 73 77 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> 78 85 79 86 <para>Build for the <application>Berkeley DB</application> test by running … … 81 88 82 89 <screen><userinput>cd build_unix && 83 ../dist/configure --prefix=/usr \ 84 --enable-test --enable-tcl --with-tcl=/usr/lib && 85 make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread" && 86 chmod 644 ../test/sijointest.tcl && 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 && 92 make</userinput></screen> 89 93 90 94 <para>To test the results, start <command>tclsh</command>:</para> … … 92 96 <screen><userinput>tclsh</userinput></screen> 93 97 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> 101 106 102 107 <screen><userinput>make realclean && … … 105 110 </sect2> 106 111 107 <sect2 role="installation" >112 <sect2 role="installation" id="bdb-installation"> 108 113 <title>Installation of Berkeley DB</title> 109 114 … … 113 118 <screen><userinput>cd build_unix && 114 119 ../dist/configure --prefix=/usr \ 115 --enable-compat185 \116 --enable-cxx &&117 make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</userinput></screen>120 --enable-compat185 \ 121 --enable-cxx && 122 make</userinput></screen> 118 123 119 124 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 120 125 121 126 <screen role="root"><userinput>make docdir=/usr/share/doc/db-&db-version; install && 122 chown root:root /usr/bin/db_* \123 /usr/lib/libdb* /usr/include/db*&&124 chown - R root:root /usr/share/doc/db-&db-version;</userinput></screen>127 chown -v root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db* && 128 chown -v root:root /usr/bin/berkeley_db_svc && 129 chown -v -R root:root /usr/share/doc/db-&db-version;</userinput></screen> 125 130 126 131 </sect2> … … 136 141 137 142 <para><parameter>--enable-compat185</parameter>: This switch enables 138 building DB1.85 compatibility API.</para>143 building the DB-1.85 compatibility API.</para> 139 144 140 145 <para><parameter>--enable-cxx</parameter>: This switch enables building … … 152 157 <application>Berkeley DB</application> RPC server.</para> 153 158 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 to157 properly link against NPTL.</para>158 159 159 <para><command>make docdir=/usr/share/doc/db-&db-version; 160 160 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> 166 168 167 169 </sect2> … … 170 172 <title>Contents</title> 171 173 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 172 179 <segmentedlist> 173 <segtitle>Installed Program s</segtitle>180 <segtitle>Installed Program</segtitle> 174 181 <segtitle>Installed Libraries</segtitle> 175 182 <segtitle>Installed Directory</segtitle> 176 183 177 184 <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> 183 187 <seg>/usr/share/doc/db-&db-version;</seg> 184 188 </seglistitem> … … 201 205 </varlistentry> 202 206 207 <!-- These are left in so that if LFS ever dumps BDB, it is easy to 208 restore this information 209 203 210 <varlistentry id="db_archive"> 204 211 <term><command>db_archive</command></term> … … 308 315 </varlistentry> 309 316 317 --> 318 310 319 </variablelist> 311 320
Note:
See TracChangeset
for help on using the changeset viewer.