Changeset 8f9c757e for server/databases
- Timestamp:
- 10/17/2010 05:55:40 PM (14 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
- 88ccfed
- Parents:
- ab7b9fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/db.xml
rab7b9fc r8f9c757e 6 6 7 7 <!ENTITY db-download-http "http://download-east.oracle.com/berkeley-db/db-&db-version;.tar.gz"> 8 <!ENTITY db-download-ftp " 9 <!ENTITY db-md5sum " 76fcbfeebfcd09ba0b4d96bfdf8d884d">10 <!ENTITY db-size " 30MB">11 <!ENTITY db-buildsize "2 67 MB (additional 170 MB to run parallel standard test suite with all bindings)">12 <!ENTITY db-time " 2.1 SBU (builds all bindings, add an additional 160SBU to run parallel standard test suite)">8 <!ENTITY db-download-ftp "&gentoo-ftp-repo;/db-&db-version;.tar.gz"> 9 <!ENTITY db-md5sum "3476bac9ec0f3c40729c8a404151d5e3"> 10 <!ENTITY db-size "22.8 MB"> 11 <!ENTITY db-buildsize "250 MB (additional 100 MB to run parallel standard test suite)"> 12 <!ENTITY db-time "1.9 SBU (builds all bindings, add an additional 145 SBU to run parallel standard test suite)"> 13 13 ]> 14 14 … … 79 79 80 80 <bridgehead renderas="sect4">Optional</bridgehead> 81 <para role="optional"><xref linkend="tcl"/>, and 82 <xref linkend="icedtea6"/> or <xref linkend="jdk"/></para> 81 <para role="optional"><xref linkend="tcl"/>, 82 <xref linkend="icedtea6"/> or <xref linkend="jdk"/>, and 83 <ulink url="http://www.gnu.org/software/sharutils/">sharutils</ulink> 84 (for the <command>uudecode</command> command)</para> 83 85 84 86 <para condition="html" role="usernotes">User Notes: … … 98 100 test suite.</para> 99 101 100 <para>Build for the <application>Berkeley DB</application> test suite by 101 running the following commands (add <parameter>--enable-java</parameter> if 102 you wish to test the java bindings):</para> 102 <para>Build for the <application>Berkeley DB</application> test by running 103 the following commands:</para> 103 104 104 105 <screen><userinput>cd build_unix && 105 uudecode="no"../dist/configure --prefix=/usr \106 ../dist/configure --prefix=/usr \ 106 107 --enable-test \ 107 108 --enable-tcl \ 108 --enable-sql \109 109 --with-tcl=/usr/lib && 110 110 make</userinput></screen> 111 111 112 <para>To test <application>Berkeley DB</application>, issue the following 113 command:</para> 114 115 <screen><userinput>echo "source ../test/tcl/test.tcl; run_parallel 5 run_std; exit;" | tclsh</userinput></screen> 112 <para>To test the results, start <command>tclsh</command>:</para> 113 114 <screen><userinput>tclsh</userinput></screen> 115 116 <para>From the <command>tclsh</command> prompt (<prompt>% </prompt>), 117 run:</para> 118 119 <screen><userinput>source ../test/test.tcl 120 run_parallel 5 run_std 121 exit</userinput></screen> 116 122 117 123 <para>Clean up the source tree with the following command:</para> … … 130 136 script, you'll end up with exactly what you already have. The additional 131 137 parameters you can use are listed in the Command Explanations section 132 below.</para> 138 below.</para> --> 133 139 134 140 <note> … … 141 147 fail (unless you run the modified <command>./configure</command> command 142 148 shown below). You can run two commands (<command>javac -version</command> 143 and <command>uudecode - 149 and <command>uudecode --version</command>) to determine what versions are 144 150 installed. You can also download and run a shell script from 145 151 <ulink url="&files-anduin;/jdk-uudecode-check.sh"/> that will alert 146 152 you to a non-working condition. If the identified programs exist on the 147 153 system, you must modify the 148 <command>./configure</command> command as shown below.</para> 149 150 <screen><userinput>uudecode="no" ../dist/configure - 151 </note> -->154 <command>./configure</command> command as shown below.</para> 155 156 <screen><userinput>uudecode="no" ../dist/configure --(use the parameters shown below)</userinput></screen> 157 </note> 152 158 153 159 <para>Install <application>Berkeley DB</application> by running the … … 155 161 156 162 <screen><userinput>cd build_unix && 157 uudecode="no"../dist/configure --prefix=/usr \163 ../dist/configure --prefix=/usr \ 158 164 --enable-compat185 \ 159 --enable-cxx \ 160 --enable-sql && 165 --enable-cxx && 161 166 make</userinput></screen> 162 167 … … 164 169 165 170 <screen role="root"><userinput>make docdir=/usr/share/doc/db-&db-version; install && 166 touch /usr/include/sqlite.h167 171 chown -v -R root:root \ 172 /usr/bin/berkeley_db_svc \ 168 173 /usr/bin/db_* \ 169 /usr/bin/dbsql \ 170 /usr/include/db{,_185,_cxx,sql}.h \ 171 /usr/lib/libdb{,_cxx,_sql}{.a,.so,-5.so,-5.1.{a,la,so}} \ 174 /usr/include/db{,_185,_cxx}.h \ 175 /usr/lib/libdb{{,_cxx}.a,{,_cxx,_java,_tcl}-4.8.{so,a,la}} \ 172 176 /usr/share/doc/db-&db-version;</userinput></screen> 173 174 <para>If you compiled <application>Berkeley DB</application> with175 <application>TCL</application> support, complete the176 <application>TCL</application> installation with the following commands177 while still the <systemitem class="username">root</systemitem> user:</para>178 179 <screen role="root"><userinput>chown -v root:root \180 /usr/lib/libdb_tcl{.a,.so,-5.so,-5.1.{a,la,so}}</userinput></screen>181 182 <para>If you compiled <application>Berkeley DB</application> with183 <application>Java</application> support, complete the184 <application>Java</application> installation with the following commands185 while still the <systemitem class="username">root</systemitem> user:</para>186 187 <screen role="root"><userinput>chown -v root:root \188 /usr/lib/libdb_java{.so,-5.so,-5.1{.a,.la,.so,_g.so}} \189 /usr/lib/db.jar</userinput></screen>190 191 <para>Finaly, if you've configured <application>Berkeley DB</application>192 with the <parameter>--enable-sql_compat</parameter> parameter to provide193 <application>SQLite3</application> compatibility, complete the installation194 with the following commands while still the195 <systemitem class="username">root</systemitem> user:</para>196 197 <screen role="root"><userinput>touch /usr/include/sqlite3.h &&198 chown -v root:root \199 /usr/bin/sqlite3 \200 /usr/include/sqlite3.h \201 /usr/lib/libsqlite3.{a,la,so}</userinput></screen>202 177 203 178 </sect2> … … 207 182 208 183 <para><command>cd build_unix && 209 uudecode="no"../dist/configure --prefix=/usr...</command>:184 ../dist/configure --prefix=/usr...</command>: 210 185 This replaces the normal <command>./configure</command> command, as 211 186 <application>Berkeley DB</application> comes with various 212 build directories for different platforms. The additional 213 <envar>uudecode="no"</envar> environment variable ensures that 214 the build will complete if <xref linkend="gmime"/> is intsalled.</para> 187 build directories for different platforms.</para> 215 188 216 189 <para><parameter>--enable-compat185</parameter>: This switch enables … … 227 200 <application>Java</application> support in DB and creates the 228 201 <filename class='libraryfile'>libdb_java</filename> libraries.</para> 229 230 <para><parameter>--enable-sql</parameter>: Enables SQL support in231 DB and creates the <filename class='libraryfile'>libdb_sql</filename>232 libraries.</para>233 234 <para><parameter>--enable-sql_compat</parameter>: enables building of the235 <application>SQLite3</application> compatible binaries and libs.</para>236 202 237 203 <para><command>make docdir=/usr/share/doc/db-&db-version; … … 240 206 <filename class='directory'>/usr/docs</filename>.</para> 241 207 242 <para><command>chown -v -R root:root ...</command>:Th ese commands change208 <para><command>chown -v -R root:root ...</command>:This command changes 243 209 the ownership of various installed files from the uid:gid of the 244 210 builder to root:root.</para> 245 246 <para><command>touch /usr/include/sqlite3.h</command>: This command updates247 the timestamp of the installed sqlite3 header.</para>248 211 249 212 </sect2> … … 264 227 <seglistitem> 265 228 <seg>db_archive, db_checkpoint, db_deadlock, db_dump, 266 db_load, db_printlog, db_recover, db_stat, db_upgrade, db_verify, 267 dbsql, sqlite3</seg> 268 <seg>libdb.{so,a}, libdb_cxx.{so,a}, libdb_java{_g.so,.{so,a}, 269 libdb_tcl.{so,a}, libdb_sql.{so.a} and db.jar</seg> 229 db_load, db_printlog, db_recover, db_stat, db_upgrade, db_verify</seg> 230 <seg>libdb.{so,a}, libdb_cxx.{so,a}, libdb_java.{so,a}, 231 libdb_tcl.{so,a} and db.jar</seg> 270 232 <seg>/usr/share/doc/db-&db-version;</seg> 271 233 </seglistitem> … … 384 346 </varlistentry> 385 347 386 <varlistentry id="dbsql">387 <term><command>dbsql</command></term>388 <listitem>389 <para>is a terminal-based front-end to the dbsql library that can390 evaluate queries interactively and display the results.</para>391 <indexterm zone="db dbsql">392 <primary sortas="b-dbsql">dbsql</primary>393 </indexterm>394 </listitem>395 </varlistentry>396 397 <varlistentry id="db_sqlite3">398 <term><command>sqlite3</command></term>399 <listitem>400 <para>is a SQLite3 compatable inteface for dbsql.</para>401 <indexterm zone="db sqlite3">402 <primary sortas="b-sqlite3">sqlite3</primary>403 </indexterm>404 </listitem>405 </varlistentry>406 407 348 </variablelist> 408 349
Note:
See TracChangeset
for help on using the changeset viewer.