diff options
Diffstat (limited to 'bdb/docs/ref/build_unix')
-rw-r--r-- | bdb/docs/ref/build_unix/aix.html | 60 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/conf.html | 143 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/flags.html | 60 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/freebsd.html | 57 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/hpux.html | 89 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/install.html | 60 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/intro.html | 60 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/irix.html | 30 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/linux.html | 30 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/notes.html | 138 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/osf1.html | 30 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/qnx.html | 58 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/sco.html | 29 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/shlib.html | 94 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/solaris.html | 90 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/sunos.html | 30 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/test.html | 49 | ||||
-rw-r--r-- | bdb/docs/ref/build_unix/ultrix.html | 27 |
18 files changed, 0 insertions, 1134 deletions
diff --git a/bdb/docs/ref/build_unix/aix.html b/bdb/docs/ref/build_unix/aix.html deleted file mode 100644 index 102e1a01fbe..00000000000 --- a/bdb/docs/ref/build_unix/aix.html +++ /dev/null @@ -1,60 +0,0 @@ -<!--$Id: aix.so,v 11.11 2000/05/04 17:11:19 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: AIX</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/notes.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/freebsd.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>AIX</h1> -<p><ol> -<p><li><b>I can't compile and run multi-threaded applications.</b> -<p>Special compile-time flags are required when compiling threaded -applications on AIX. If you are compiling a threaded application, -you must compile with the _THREAD_SAFE flag and load with specific -libraries, e.g., "-lc_r". Specifying the compiler name with a -trailing "_r" usually performs the right actions for the system. -<p><blockquote><pre>xlc_r ... -cc -D_THREAD_SAFE -lc_r ...</pre></blockquote> -<p>The Berkeley DB library will automatically build with the correct options. -<hr size=1 noshade> -<p><li><b>I can't run using the <a href="../../api_c/env_open.html#DB_SYSTEM_MEM">DB_SYSTEM_MEM</a> option to -<a href="../../api_c/env_open.html">DBENV->open</a>.</b> -<p>AIX 4.1 only allows applications to map 10 system shared memory segments. -In AIX 4.3 this has been raised to 256K segments, but only if you set the -environment variable "export EXTSHM=ON". -<hr size=1 noshade> -<p><li><b>I can't create database files larger than 1GB on AIX.</b> -<p>Berkeley DB does not include large-file support for AIX systems by default. -Sleepycat Software has been told that the following changes will add -large-file support on the AIX 4.2 and later releases, but we have not -tested them ourselves. -<p>Add the following lines to the <b>db_config.h</b> file in your build -directory: -<p><blockquote><pre>#ifdef HAVE_FILE_OFFSET_BITS -#define _LARGE_FILES /* AIX specific. */ -#endif</pre></blockquote> -<p>Change the source code for <b>os/os_open.c</b> to always specify the -<b>O_LARGEFILE</b> flag to the <b>open</b>(2) system call. -<p>Recompile Berkeley DB from scratch. -<p>Note that the documentation for the IBM Visual Age compiler states that -it does not not support the 64-bit filesystem APIs necessary for creating -large files, and that the ibmcxx product must be used instead. We have -not heard if the GNU gcc compiler supports the 64-bit APIs or not. -<p>Finally, to create large files under AIX, the filesystem has to be -configured to support large files and the system wide user hard-limit for -file sizes has to be greater than 1GB. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/notes.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/freebsd.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/conf.html b/bdb/docs/ref/build_unix/conf.html deleted file mode 100644 index 289e9559e3a..00000000000 --- a/bdb/docs/ref/build_unix/conf.html +++ /dev/null @@ -1,143 +0,0 @@ -<!--$Id: conf.so,v 10.33 2000/12/04 18:05:41 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Configuring Berkeley DB</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> <a name="3"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/intro.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/flags.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Configuring Berkeley DB</h1> -<p>There are several options that you can specify when configuring Berkeley DB. -While only the Berkeley DB specific ones are described here, most of the -standard GNU autoconf options are available and supported. To see a -complete list of the options, specify the --help flag to the configure -program. -<p>The Berkeley DB specific options are as follows: -<p><dl compact> - <a name="4"><!--meow--></a> -<p><dt><a name="--disable-bigfile">--disable-bigfile</a><dd>Some systems, notably versions of HP/UX and Solaris, require special -compile-time options in order to create files larger than 2^32 bytes. -These options are automatically enabled when Berkeley DB is compiled. For this -reason, binaries built on current versions of these systems may not run -on earlier versions of the system, as the library and system calls -necessary for large files are not available. To disable building with -these compile-time options, enter --disable-bigfile as an argument to -configure. - <a name="5"><!--meow--></a> -<p><dt><a name="--enable-compat185">--enable-compat185</a><dd>To compile or load Berkeley DB 1.85 applications against this release of the -Berkeley DB library, enter --enable-compat185 as an argument to configure. -This will include Berkeley DB 1.85 API compatibility code in the library. - <a name="6"><!--meow--></a> -<p><dt><a name="--enable-cxx">--enable-cxx</a><dd>To build the Berkeley DB C++ API, enter --enable-cxx as an argument to -configure. -<p><dt><a name="--enable-debug">--enable-debug</a><dd>To build Berkeley DB with <b>-g</b> as a compiler flag and with <b>DEBUG</b> -#defined during compilation, enter --enable-debug as an argument to -configure. This will create a Berkeley DB library with debugging symbols, as -well as load various routines that can be called from a debugger to -display pages, cursor queues and so forth. This option should not be -specified when configuring to build production binaries, although there -shouldn't be any significant performance degradation. -<p><dt><a name="--enable-debug_rop">--enable-debug_rop</a><dd>To build Berkeley DB to output log records for read operations, enter ---enable-debug_rop as an argument to configure. This option should not -be specified when configuring to build production binaries, as you will -lose a significant amount of performance. -<p><dt><a name="--enable-debug_wop">--enable-debug_wop</a><dd>To build Berkeley DB to output log records for write operations, enter ---enable-debug_wop as an argument to configure. This option should not -be specified when configuring to build production binaries, as you will -lose a significant amount of performance. -<p><dt><a name="--enable-diagnostic">--enable-diagnostic</a><dd>To build Berkeley DB with debugging run-time sanity checks, enter ---enable-diagnostic as an argument to configure. This will cause a -number of special checks to be performed when Berkeley DB is running. This -option should not be specified when configuring to build production -binaries, as you will lose a significant amount of performance. - <a name="7"><!--meow--></a> -<p><dt><a name="--enable-dump185">--enable-dump185</a><dd>To convert Berkeley DB 1.85 (or earlier) databases to this release of Berkeley DB, -enter --enable-dump185 as an argument to configure. This will build the -<a href="../../utility/db_dump.html">db_dump185</a> utility which can dump Berkeley DB 1.85 and 1.86 databases -in a format readable by the Berkeley DB <a href="../../utility/db_load.html">db_load</a> utility. -<p>The system libraries with which you are loading the <a href="../../utility/db_dump.html">db_dump185</a> -utility must already contain the Berkeley DB 1.85 library routines for this to -work, as the Berkeley DB distribution does not include them. If you are using -a non-standard library for the Berkeley DB 1.85 library routines, you will have -to change the Makefile that the configuration step creates to load the -<a href="../../utility/db_dump.html">db_dump185</a> utility with that library. - <a name="8"><!--meow--></a> - <a name="9"><!--meow--></a> -<p><dt><a name="--enable-dynamic">--enable-dynamic</a><dd>To build a dynamic shared library version of Berkeley DB, instead of the default -static library, specify --enable-dynamic. Dynamic libraries are built -using <a href="http://www.gnu.org/software/libtool/libtool.html">the -GNU Project's Libtool</a> distribution, which supports shared library builds -on many, although not all, systems. -<p>Berkeley DB can be configured to build either a static or a dynamic library, -but not both at once. You should not attempt to build both library -types in the same directory, as they have incompatible object file -formats. To build both static and dynamic libraries, create two -separate build directories, and configure and build them separately. - <a name="10"><!--meow--></a> -<p><dt><a name="--enable-java">--enable-java</a><dd>To build the Berkeley DB Java API, enter --enable-java as an argument to -configure. To build Java, you must also configure the option ---enable-dynamic. Before configuring, you must set your PATH environment -variable to include javac. Note, it is not sufficient to include a -symbolic link to javac in your PATH, because the configuration process -uses the location of javac to determine the location of the Java include -files (e.g., jni.h). On some systems additional include directories may -be needed to process jni.h, see <a href="flags.html">Changing compile or load -options</a> for more information. -<p><dt><a name="--enable-posixmutexes">--enable-posixmutexes</a><dd>To force Berkeley DB to use the POSIX pthread mutex interfaces for underlying -mutex support, enter --enable-posixmutexes as an argument to configure. -The Berkeley DB library requires that the POSIX pthread implementation support -mutexes shared between multiple processes, as described for the -pthread_condattr_setpshared and pthread_mutexattr_setpshared interfaces. -In addition, this configuration option requires that Berkeley DB be linked with -the -lpthread library. On systems where POSIX mutexes are the preferred -mutex support (e.g., HP-UX), they will be selected automatically. - <a name="11"><!--meow--></a> -<p><dt><a name="--enable-rpc">--enable-rpc</a><dd>To build the Berkeley DB RPC client code and server utility, enter --enable-rpc -as an argument to configure. The --enable-rpc option requires that RPC -libraries already be installed on your system. -<p><dt><a name="--enable-shared">--enable-shared</a><dd>The --enable-shared configure argument is an alias for --enable-dynamic. - <a name="12"><!--meow--></a> -<p><dt><a name="--enable-tcl">--enable-tcl</a><dd>To build the Berkeley DB Tcl API, enter --enable-tcl as an argument to -configure. This configuration option expects to find Tcl's tclConfig.sh -file in the <b>/usr/local/lib</b> directory. See the --with-tcl -option for instructions on specifying a non-standard location for the -Tcl installation. See <a href="../../ref/tcl/intro.html">Loading Berkeley DB -with Tcl</a> for information on sites from which you can download Tcl and -which Tcl versions are compatible with Berkeley DB. To configure the Berkeley DB -Tcl API, you must also specify the --enable-dynamic option. - <a name="13"><!--meow--></a> -<p><dt><a name="--enable-test">--enable-test</a><dd>To build the Berkeley DB test suite, enter --enable-test as an argument to -configure. To run the Berkeley DB test suite, you must also specify the ---enable-dynamic and --enable-tcl options. -<p><dt><a name="--enable-uimutexes">--enable-uimutexes</a><dd>To force Berkeley DB to use the UNIX International (UI) mutex interfaces for -underlying mutex support, enter --enable-uimutexes as an argument to -configure. This configuration option requires that Berkeley DB be linked with -the -lthread library. On systems where UI mutexes are the preferred mutex -support, (e.g., SCO's UnixWare 2), they will be selected automatically. -<p><dt><a name="--enable-umrw">--enable-umrw</a><dd>Rational Software's Purify product and other run-time tools complain -about uninitialized reads/writes of structure fields whose only purpose -is padding, as well as when heap memory that was never initialized is -written to disk. Specify the --enable-umrw option during configuration -to mask these errors. This option should not be specified when -configuring to build production binaries, as you will lose a significant -amount of performance. -<p><dt><a name="--with-tcl=DIR">--with-tcl=DIR</a><dd>To build the Berkeley DB Tcl API, enter --with-tcl=DIR, replacing DIR with -the directory in which the Tcl tclConfig.sh file may be found. See -<a href="../../ref/tcl/intro.html">Loading Berkeley DB with Tcl</a> for information -on sites from which you can download Tcl and which Tcl versions are -compatible with Berkeley DB. To configure the Berkeley DB Tcl API, you must also -specify the --enable-dynamic option. -</dl> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/intro.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/flags.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/flags.html b/bdb/docs/ref/build_unix/flags.html deleted file mode 100644 index 5b70b3d8d64..00000000000 --- a/bdb/docs/ref/build_unix/flags.html +++ /dev/null @@ -1,60 +0,0 @@ -<!--$Id: flags.so,v 10.6 2000/12/01 00:19:10 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Changing compile or load options</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> <a name="3"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/conf.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/install.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Changing compile or load options</h1> -<p>You can specify compiler and/or compile and load time flags by using -environment variables during Berkeley DB configuration. For example, if you -want to use a specific compiler, specify the CC environment variable -before running configure: -<p><blockquote><pre>prompt: env CC=gcc ../dist/configure</pre></blockquote> -<p>Using anything other than the native compiler will almost certainly mean -that you'll want to check the flags specified to the compiler and -loader, too. -<p>To specify debugging and optimization options for the C compiler, -use the CFLAGS environment variable: -<p><blockquote><pre>prompt: env CFLAGS=-O2 ../dist/configure</pre></blockquote> -<p>To specify header file search directories and other miscellaneous options -for the C preprocessor and compiler, use the CPPFLAGS environment variable: -<p><blockquote><pre>prompt: env CPPFLAGS=-I/usr/contrib/include ../dist/configure</pre></blockquote> -<p>To specify debugging and optimization options for the C++ compiler, -use the CXXFLAGS environment variable: -<p><blockquote><pre>prompt: env CXXFLAGS=-Woverloaded-virtual ../dist/configure</pre></blockquote> -<p>To specify miscellaneous options or additional library directories for -the linker, use the LDFLAGS environment variable: -<p><blockquote><pre>prompt: env LDFLAGS="-N32 -L/usr/local/lib" ../dist/configure</pre></blockquote> -<p>If you want to specify additional libraries, set the LIBS environment -variable before running configure. For example: -<p><blockquote><pre>prompt: env LIBS="-lposix -lsocket" ../dist/configure</pre></blockquote> -<p>would specify two additional libraries to load, "posix" and "socket". -<p>Make sure that you prepend -L to any library directory names and that you -prepend -I to any include file directory names! Also, if the arguments -you specify contain blank or tab characters, be sure to quote them as -shown above, i.e. with single or double quotes around the values you're -specifying for LIBS. -<p>The env command is available on most systems, and simply sets one or more -environment variables before running a command. If the env command is -not available to you, you can set the environment variables in your shell -before running configure. For example, in sh or ksh, you could do: -<p><blockquote><pre>prompt: LIBS="-lposix -lsocket" ../dist/configure</pre></blockquote> -<p>and in csh or tcsh, you could do: -<p><blockquote><pre>prompt: setenv LIBS "-lposix -lsocket" -prompt: ../dist/configure</pre></blockquote> -<p>See your command shell's manual page for further information. -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/conf.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/install.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/freebsd.html b/bdb/docs/ref/build_unix/freebsd.html deleted file mode 100644 index 3d3ff81161c..00000000000 --- a/bdb/docs/ref/build_unix/freebsd.html +++ /dev/null @@ -1,57 +0,0 @@ -<!--$Id: freebsd.so,v 11.12 2000/03/18 21:43:10 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: FreeBSD</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/aix.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/hpux.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>FreeBSD</h1> -<p><ol> -<p><li><b>I can't compile and run multi-threaded applications.</b> -<p>Special compile-time flags are required when compiling threaded -applications on FreeBSD. If you are compiling a threaded application, -you must compile with the _THREAD_SAFE and -pthread flags: -<p><blockquote><pre>cc -D_THREAD_SAFE -pthread ...</pre></blockquote> -<p>The Berkeley DB library will automatically build with the correct options. -<hr size=1 noshade> -<p><li><b>I get occasional failures when running RPC-based programs under FreeBSD clients.</b> -<p>There is a known bug in the XDR implementation in the FreeBSD C library, -from Version 2.2 up to version 4.0-RELEASE, that causes certain sized -messages to fail and return a zero-filled reply to the client. A bug -report (#16028) has been filed with FreeBSD. The following patch is the -FreeBSD fix: -<p><blockquote><pre>*** /usr/src/lib/libc/xdr/xdr_rec.c.orig Mon Jan 10 10:20:42 2000 ---- /usr/src/lib/libc/xdr/xdr_rec.c Wed Jan 19 10:53:45 2000 -*************** -*** 558,564 **** - * but we don't have any way to be certain that they aren't - * what the client actually intended to send us. - */ -! if ((header & (~LAST_FRAG)) == 0) - return(FALSE); - rstrm->fbtbc = header & (~LAST_FRAG); - return (TRUE); ---- 558,564 ---- - * but we don't have any way to be certain that they aren't - * what the client actually intended to send us. - */ -! if (header == 0) - return(FALSE); - rstrm->fbtbc = header & (~LAST_FRAG); - return (TRUE); -</pre></blockquote> -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/aix.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/hpux.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/hpux.html b/bdb/docs/ref/build_unix/hpux.html deleted file mode 100644 index 3fc50d73cc9..00000000000 --- a/bdb/docs/ref/build_unix/hpux.html +++ /dev/null @@ -1,89 +0,0 @@ -<!--$Id: hpux.so,v 11.11 2000/12/14 17:04:02 krinsky Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: HP-UX</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/freebsd.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/irix.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>HP-UX</h1> -<p><ol> -<p><li><b>I can't specify the <a href="../../api_c/env_open.html#DB_SYSTEM_MEM">DB_SYSTEM_MEM</a> flag to <a href="../../api_c/env_open.html">DBENV->open</a>.</b> -<p>The <b>shmget</b>(2) interfaces are not always used on HP-UX, even -though they exist, as anonymous memory allocated using <b>shmget</b>(2) -cannot be used to store the standard HP-UX msemaphore semaphores. For -this reason, it may not be possible to specify the <a href="../../api_c/env_open.html#DB_SYSTEM_MEM">DB_SYSTEM_MEM</a> -flag on some versions of HP-UX. (We have only seen this problem on HP-UX -10.XX, so the simplest workaround may be to upgrade your HP-UX release.) -<hr size=1 noshade> -<p><li><b>I can't specify both the <a href="../../api_c/env_open.html#DB_PRIVATE">DB_PRIVATE</a> and <a href="../../api_c/env_open.html#DB_THREAD">DB_THREAD</a> -flags to <a href="../../api_c/env_open.html">DBENV->open</a>.</b> -<p>It is not possible to store the standard HP-UX msemaphore semaphores in -memory returned by <b>malloc</b>(3) in some versions of HP-UX. For -this reason, it may not be possible to specify both the <a href="../../api_c/env_open.html#DB_PRIVATE">DB_PRIVATE</a> -and <a href="../../api_c/env_open.html#DB_THREAD">DB_THREAD</a> flags on some versions of HP-UX. (We have only seen -this problem on HP-UX 10.XX, so the simplest workaround may be to upgrade -your HP-UX release.) -<hr size=1 noshade> -<p><li><b>During configuration I see a message that large file support has -been turned off.</b> -<p>Some HP-UX system include files redefine "open" when big-file support (the -HAVE_FILE_OFFSET_BITS and _FILE_OFFSET_BITS #defines) is enabled. This -causes problems when compiling for C++, where "open" is a legal -identifier, used in the Berkeley DB C++ API. For this reason, we automatically -turn off big-file support when Berkeley DB is configured with a C++ API. This -should not be a problem for applications unless there is a need to create -databases larger than 2GB. -<hr size=1 noshade> -<p><li><b>I can't compile and run multi-threaded applications.</b> -<p>Special compile-time flags are required when compiling threaded -applications on HP-UX. If you are compiling a threaded application, you -must compile with the _REENTRANT flag: -<p><blockquote><pre>cc -D_REENTRANT ...</pre></blockquote> -<p>The Berkeley DB library will automatically build with the correct options. -<hr size=1 noshade> -<p><li><b>An ENOMEM error is returned from <a href="../../api_c/env_open.html">DBENV->open</a> or -<a href="../../api_c/env_remove.html">DBENV->remove</a>.</b> -<p>Due to the constraints of the PA-RISC memory architecture, HP-UX does not -allow a process to map a file into its address space multiple times. -For this reason, each Berkeley DB environment may be opened only once by a -process on HP-UX, i.e., calls to <a href="../../api_c/env_open.html">DBENV->open</a> will fail if the -specified Berkeley DB environment has been opened and not subsequently closed. -<hr size=1 noshade> -<p><li><b>When compiling with gcc, I see the following error: -<p><blockquote><pre>#error "Large Files (ILP32) not supported in strict ANSI mode."</pre></blockquote></b> -<p>We believe this is an error in the HP-UX include files, but we don't -really understand it. The only workaround we have found is to add --D__STDC_EXT__ to the C preprocessor defines as part of compilation. -<hr size=1 noshade> -<p><li><b>When using the Tcl or Perl APIs (including running the test suite) I -see the error "Can't shl_load() a library containing Thread Local Storage".</b> -<p>This problem happens when HP-UX has been configured to use pthread mutex -locking and an attempt is made to call Berkeley DB using the Tcl or Perl APIs. We -have never found any way to fix this problem as part of the Berkeley DB build -process. To work around the problem, rebuild tclsh or perl and modify its build -process to explicitly link it against the HP-UX pthread library (currently -/usr/lib/libpthread.a). -<hr size=1 noshade> -<p><li><b>When running an executable that has been dynamically linked -against the Berkeley DB library, I see the error "Can't find path for shared library" -even though I've correctly set the SHLIB_PATH environment variable.</b> -<p>By default, some versions of HP-UX ignore the dynamic library search path -specified by the SHLIB_PATH environment variable. To work around this, specify -the "+s" flag to ld when linking, or run -<p><blockquote><pre>chatr +s enable -l /full/path/to/libdb-3.2.sl ...</pre></blockquote> -<p>on the executable that is not working. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/freebsd.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/irix.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/install.html b/bdb/docs/ref/build_unix/install.html deleted file mode 100644 index 7beb6f705f3..00000000000 --- a/bdb/docs/ref/build_unix/install.html +++ /dev/null @@ -1,60 +0,0 @@ -<!--$Id: install.so,v 10.12 2000/12/01 00:19:10 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Installing Berkeley DB</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/flags.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/shlib.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Installing Berkeley DB</h1> -<p>Berkeley DB installs the following files into the following locations, with the -following default values: -<p><table border=1 align=center> -<tr><th>Configuration Variables</th><th>Default value</th></tr> -<tr><td>--prefix</td><td>/usr/local/BerkeleyDB.<b>Major</b>.<b>Minor</b></td></tr> -<tr><td>--exec_prefix</td><td>$(prefix)</td></tr> -<tr><td>--bindir</td><td>$(exec_prefix)/bin</td></tr> -<tr><td>--includedir</td><td>$(prefix)/include</td></tr> -<tr><td>--libdir</td><td>$(exec_prefix)/lib</td></tr> -<tr><td>docdir</td><td>$(prefix)/docs</td></tr> -<tr><th>Files</th><th>Default location</th></tr> -<tr><td>include files</td><td>$(includedir)</td></tr> -<tr><td>libraries</td><td>$(libdir)</td></tr> -<tr><td>utilities</td><td>$(bindir)</td></tr> -<tr><td>documentation</td><td>$(docdir)</td></tr> -</table> -<p>With one exception, this follows the GNU Autoconf and GNU Coding -Standards installation guidelines, please see that documentation for -more information and rationale. -<p>The single exception is the Berkeley DB documentation. The Berkeley DB -documentation is provided in HTML format, not in UNIX-style man or GNU -info format. For this reason, Berkeley DB configuration does not support -<b>--infodir</b> or <b>--mandir</b>. To change the default -installation location for the Berkeley DB documentation, modify the Makefile -variable, <b>docdir</b>. -<p>To move the entire installation tree to somewhere besides -<b>/usr/local</b>, change the value of <b>prefix</b>. -<p>To move the binaries and libraries to a different location, change the -value of <b>exec_prefix</b>. The values of <b>includedir</b> and -<b>libdir</b> may be similarly changed. -<p>Any of these values except for <b>docdir</b> may be set as part -of configuration: -<p><blockquote><pre>prompt: ../dist/configure --bindir=/usr/local/bin</pre></blockquote> -<p>Any of these values, including <b>docdir</b>, may be changed when doing -the install itself: -<p><blockquote><pre>prompt: make prefix=/usr/contrib/bdb install</pre></blockquote> -<p>The Berkeley DB installation process will attempt to create any directories that -do not already exist on the system. -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/flags.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/shlib.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/intro.html b/bdb/docs/ref/build_unix/intro.html deleted file mode 100644 index b2c0d613bfd..00000000000 --- a/bdb/docs/ref/build_unix/intro.html +++ /dev/null @@ -1,60 +0,0 @@ -<!--$Id: intro.so,v 10.18 2000/12/04 18:05:41 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Building for UNIX</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/debug/common.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/conf.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Building for UNIX</h1> -<p>The Berkeley DB distribution builds up to four separate libraries: the base C -API Berkeley DB library and the optional C++, Java and Tcl API libraries. For -portability reasons each library is standalone and contains the full Berkeley DB -support necessary to build applications, that is, the C++ API Berkeley DB -library does not require any other Berkeley DB libraries to build and run C++ -applications. -<p>The Berkeley DB distribution uses the Free Software Foundation's -<a href="http://sourceware.cygnus.com/autoconf">autoconf</a> and -<a href="http://www.gnu.org/software/libtool/libtool.html">libtool</a> -tools to build on UNIX platforms. In general, the standard configuration -and installation options for these tools apply to the Berkeley DB distribution. -<p>To perform the default UNIX build of Berkeley DB, first change to the -<b>build_unix</b> directory, and then enter the following two commands: -<p><blockquote><pre>../dist/configure -make</pre></blockquote> -<p>This will build the Berkeley DB library. -<p>To install the Berkeley DB library, enter: -<p><blockquote><pre>make install</pre></blockquote> -<p>To rebuild Berkeley DB, enter: -<p><blockquote><pre>make clean -make</pre></blockquote> -<p>If you change your mind about how Berkeley DB is to be configured, you must start -from scratch by entering: -<p><blockquote><pre>make realclean -../dist/configure -make</pre></blockquote> -<p>To build multiple UNIX versions of Berkeley DB in the same source tree, create a -new directory at the same level as the build_unix directory, and then -configure and build in that directory: -<p><blockquote><pre>mkdir build_bsdos3.0 -cd build_bsdos3.0 -../dist/configure -make</pre></blockquote> -<p>If you have trouble with any of these commands, please send email to the -addresses found in the Sleepycat Software contact information. In that -email, please provide a complete copy of the commands that you entered -and any output, along with a copy of any <b>config.log</b> or -<b>config.cache</b> files created during configuration. -<table><tr><td><br></td><td width="1%"><a href="../../ref/debug/common.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/conf.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/irix.html b/bdb/docs/ref/build_unix/irix.html deleted file mode 100644 index af31b6e6811..00000000000 --- a/bdb/docs/ref/build_unix/irix.html +++ /dev/null @@ -1,30 +0,0 @@ -<!--$Id: irix.so,v 11.4 2000/03/18 21:43:10 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: IRIX</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/hpux.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/linux.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>IRIX</h1> -<p><ol> -<p><li><b>I can't compile and run multi-threaded applications.</b> -<p>Special compile-time flags are required when compiling threaded -applications on IRIX. If you are compiling a threaded application, you -must compile with the _SGI_MP_SOURCE flag: -<p><blockquote><pre>cc -D_SGI_MP_SOURCE ...</pre></blockquote> -<p>The Berkeley DB library will automatically build with the correct options. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/hpux.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/linux.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/linux.html b/bdb/docs/ref/build_unix/linux.html deleted file mode 100644 index b6e2b93fb14..00000000000 --- a/bdb/docs/ref/build_unix/linux.html +++ /dev/null @@ -1,30 +0,0 @@ -<!--$Id: linux.so,v 11.4 2000/03/18 21:43:10 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Linux</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/irix.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/osf1.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Linux</h1> -<p><ol> -<p><li><b>I can't compile and run multi-threaded applications.</b> -<p>Special compile-time flags are required when compiling threaded -applications on Linux. If you are compiling a threaded application, you -must compile with the _REENTRANT flag: -<p><blockquote><pre>cc -D_REENTRANT ...</pre></blockquote> -<p>The Berkeley DB library will automatically build with the correct options. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/irix.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/osf1.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/notes.html b/bdb/docs/ref/build_unix/notes.html deleted file mode 100644 index dcb975e3c9e..00000000000 --- a/bdb/docs/ref/build_unix/notes.html +++ /dev/null @@ -1,138 +0,0 @@ -<!--$Id: notes.so,v 10.42 2001/01/09 18:49:53 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Architecture independent FAQs</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> <a name="3"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/test.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/aix.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Architecture independent FAQs</h1> -<p><ol> -<p><li><b>When compiling with gcc, I get unreferenced symbols, e.g.,: -<p><blockquote><pre>symbol __muldi3: referenced symbol not found -symbol __cmpdi2: referenced symbol not found</pre></blockquote></b> -<p>On systems where they're available (e.g., HP-UX, Solaris), Berkeley DB uses -64-bit integral types. As far as we can tell, some versions of gcc -don't support these types. The simplest workaround is to reconfigure -Berkeley DB using the --disable-bigfile configuration option, and then rebuild. -<hr size=1 noshade> -<p><li><b>My C++ program traps during a failure in a DB call on my -gcc-based system.</b> -<p>We believe there are some severe bugs in the implementation of exceptions -for some gcc compilers. Exceptions require some interaction between -compiler, assembler, runtime libraries, and we're not sure exactly what -is at fault, but one failing combination is gcc 2.7.2.3 running on SuSE -Linux 6.0. The problem on this system can be seen with a rather simple -test case of an exception thrown from a shared library and caught in the -main program. -<p>A variation of this problem seems to occur on AIX, although we believe it -does not necessarily involve shared libraries on that platform. -<p>If you see a trap that occurs when an exception might be thrown by the DB -runtime, we suggest that you use static libraries instead of dynamic -(shared) libraries. See the documentation for configuration. If this -doesn't work, and you have a choice of compilers, try using a more recent -gcc or a non-gcc based compiler to build Berkeley DB. -<p>Finally, you can disable the use of exceptions in the C++ runtime for -Berkeley DB by using the <a href="../../api_c/db_create.html#DB_CXX_NO_EXCEPTIONS">DB_CXX_NO_EXCEPTIONS</a> flag with -<a href="../../api_c/env_create.html">db_env_create</a> or <a href="../../api_c/db_create.html">db_create</a>. When this flag is on, all -C++ methods fail by returning an error code rather than throwing an -exception. -<hr size=1 noshade> -<p><li><b>I get unexpected results and database corruption when running -threaded programs.</b> -<p><b>I get error messages that mutex (e.g., pthread_mutex_XXX or -mutex_XXX) functions are undefined when linking applications with Berkeley DB.</b> -<p>On some architectures, the Berkeley DB library uses the ISO POSIX standard -pthreads and UNIX International (UI) threads interfaces for underlying -mutex support, e.g., Solaris and HP-UX. You can specify compilers, -compiler flags or link with the appropriate thread library when loading -your application, to resolve the undefined references: -<p><blockquote><pre>cc ... -lpthread ... -cc ... -lthread ... -xlc_r ... -cc ... -mt ...</pre></blockquote> -<p>See the appropriate architecture-specific Reference Guide pages for more -information. -<p>On systems where more than one type of mutex is available, it may be -necessary for applications to use the same threads package from which -Berkeley DB draws its mutexes, e.g., if Berkeley DB was built to use the POSIX -pthreads mutex calls for mutex support, the application may need to be -written to use the POSIX pthreads interfaces for its threading model. -While this is only conjecture at this time and we know of no systems that -actually have this requirement, it's not unlikely that some exist. -<p>In a few cases, Berkeley DB can be configured to use specific underlying mutex -interfaces. You can use the <a href="../../ref/build_unix/conf.html#--enable-posixmutexes">--enable-posixmutexes</a> and -<a href="../../ref/build_unix/conf.html#--enable-uimutexes">--enable-uimutexes</a> configuration options to specify the POSIX and Unix -International (UI) threads packages. This should not, however, be -necessary in most cases. -<p>In some cases, it is vitally important to make sure that you load -the correct library. For example, on Solaris systems, there are POSIX -pthread interfaces in the C library, and so applications can link Berkeley DB -using only C library and not see any undefined symbols. However, the C -library POSIX pthread mutex support is insufficient for Berkeley DB and Berkeley DB -cannot detect that fact. Similar errors can arise when applications -(e.g., tclsh) use dlopen to dynamically load Berkeley DB as a library. -<p>If you are seeing problems in this area after you've confirmed that you're -linking with the correct libraries, there are two other things you can -try. First, if your platform supports inter-library dependencies, we -recommend that you change the Berkeley DB Makefile to specify the appropriate -threads library when creating the Berkeley DB dynamic library, as an -inter-library dependency. Second, if your application is using dlopen to -dynamically load Berkeley DB, specify the appropriate thread library on the link -line when you load the application itself. -<hr size=1 noshade> -<p><li><b>I get core dumps when running programs that fork children.</b> -<p>Berkeley DB handles should not be shared across process forks, each forked -child should acquire its own Berkeley DB handles. -<hr size=1 noshade> -<p><li><b>I get reports of uninitialized memory reads and writes when -running software analysis tools (e.g., Rational Software Corp.'s Purify -tool).</b> -<p>For performance reasons, Berkeley DB does not write the unused portions of -database pages or fill in unused structure fields. To turn off these -errors when running software analysis tools, build with the ---enable-umrw configuration option. -<hr size=1 noshade> -<p><li><b>Berkeley DB programs or the test suite fail unexpectedly.</b> -<p>The Berkeley DB architecture does not support placing the shared memory regions -on remote filesystems, e.g., the Network File System (NFS) or the Andrew -File System (AFS). For this reason, the shared memory regions (normally -located in the database home directory) must reside on a local filesystem. -See <a href="../../ref/env/region.html">Shared Memory Regions</a> for more -information. -<p>With respect to running the test suite, always check to make sure that -TESTDIR is not on a remote mounted filesystem. -<hr size=1 noshade> -<p><li><b>The <a href="../../utility/db_dump.html">db_dump185</a> utility fails to build.</b> -<p>The <a href="../../utility/db_dump.html">db_dump185</a> utility is the utility that supports conversion -of Berkeley DB 1.85 and earlier databases to current database formats. If -the errors look something like: -<p><blockquote><pre>cc -o db_dump185 db_dump185.o -ld: -Unresolved: -dbopen</pre></blockquote> -<p>it means that the Berkeley DB 1.85 code was not found in the standard -libraries. To build <a href="../../utility/db_dump.html">db_dump185</a>, the Berkeley DB version 1.85 code -must have already been built and installed on the system. If the Berkeley DB -1.85 header file is not found in a standard place, or the library is -not part of the standard libraries used for loading, you will need to -edit your Makefile, and change the lines: -<p><blockquote><pre>DB185INC= -DB185LIB=</pre></blockquote> -<p>So that the system Berkeley DB 1.85 header file and library are found, e.g., -<p><blockquote><pre>DB185INC=/usr/local/include -DB185LIB=-ldb185</pre></blockquote> -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/test.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/aix.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/osf1.html b/bdb/docs/ref/build_unix/osf1.html deleted file mode 100644 index 42ac8e767ef..00000000000 --- a/bdb/docs/ref/build_unix/osf1.html +++ /dev/null @@ -1,30 +0,0 @@ -<!--$Id: osf1.so,v 11.6 2000/10/30 20:46:06 sue Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: OSF/1</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/linux.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/qnx.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>OSF/1</h1> -<p><ol> -<p><li><b>I can't compile and run multi-threaded applications.</b> -<p>Special compile-time flags are required when compiling threaded -applications on OSF/1. If you are compiling a threaded application, you -must compile with the _REENTRANT flag: -<p><blockquote><pre>cc -D_REENTRANT ...</pre></blockquote> -<p>The Berkeley DB library will automatically build with the correct options. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/linux.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/qnx.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/qnx.html b/bdb/docs/ref/build_unix/qnx.html deleted file mode 100644 index 29c90dc98cb..00000000000 --- a/bdb/docs/ref/build_unix/qnx.html +++ /dev/null @@ -1,58 +0,0 @@ -<!--$Id: qnx.so,v 11.5 2000/11/29 15:03:24 sue Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: QNX</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/osf1.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/sco.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>QNX</h1> -<p><ol> -<p><li><b>To what versions of QNX has DB been ported?</b> -<p>Berkeley DB has been ported to the QNX Neutrino technology which is commonly -referred to as QNX RTP (Real-Time Platform). Berkeley DB has not been -ported to earlier versions of QNX, such as QNX 4.25. -<p><li><b>What is the impact of QNX's use of <b>shm_open</b>(2) for -shared memory regions?</b> -<p>QNX requires the use of the POSIX <b>shm_open</b>(2) and -<b>shm_unlink</b>(2) calls for shared memory regions that will later -be mapped into memory using <b>mmap</b>(2). QNX's implementation -of the shared memory functions requires that the name given must begin -with a slash, and that no other slash may appear in the name. -<p>In order to comply with those requirements and allow relative pathnames -to find the same environment, Berkeley DB uses only the last component of the -home directory path and the name of the shared memory file, separated -by a colon, as the name specified to the shared memory functions. For -example, if an application specifies a home directory of -<b>/home/db/DB_DIR</b>, Berkeley DB will use <b>/DB_DIR:__db.001</b> as -the name for the shared memory area argument to <b>shm_open</b>(2). -<p>The impact of this decision is that the last component of all -environment home directory pathnames on QNX must be unique with respect -to each other. Additionally, Berkeley DB requires that environments use home -directories for QNX in order to generate a reasonable entry in the -shared memory area. -<p><li><b>What are the implications of QNX's requirement to use -<b>shm_open</b>(2) in order to use <b>mmap</b>(2)?</b> -<p>QNX requires that files mapped with <b>mmap</b>(2) be opened using -<b>shm_open</b>(2). There are other places in addition to the -environment shared memory regions, where Berkeley DB tries to memory map files -if it can. -<p>The memory pool subsystem normally attempts to use <b>mmap</b>(2) -even when using private memory, as indicated by the <a href="../../api_c/env_open.html#DB_PRIVATE">DB_PRIVATE</a> -flag to <a href="../../api_c/env_open.html">DBENV->open</a>. In the case of QNX, if an application is -using private memory, Berkeley DB will not attempt to map the memory and will -instead use the local cache. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/osf1.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/sco.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/sco.html b/bdb/docs/ref/build_unix/sco.html deleted file mode 100644 index dda8e6d1d01..00000000000 --- a/bdb/docs/ref/build_unix/sco.html +++ /dev/null @@ -1,29 +0,0 @@ -<!--$Id: sco.so,v 11.7 2000/10/30 20:46:06 sue Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: SCO</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/qnx.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/solaris.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>SCO</h1> -<p><ol> -<p><li><b>If I build with gcc, programs like db_dump, db_stat core dump immediately -when invoked.</b> -<p>We suspect gcc or the runtime loader may have a bug, but we haven't -tracked it down. If you want to use gcc, we suggest building static -libraries. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/qnx.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/solaris.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/shlib.html b/bdb/docs/ref/build_unix/shlib.html deleted file mode 100644 index 2819651cd1d..00000000000 --- a/bdb/docs/ref/build_unix/shlib.html +++ /dev/null @@ -1,94 +0,0 @@ -<!--$Id: shlib.so,v 10.9 2000/03/18 21:43:10 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Dynamic shared libraries</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/install.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/test.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Dynamic shared libraries</h1> -<p><b>Warning</b>: the following information is intended to be generic and -is likely to be correct for most UNIX systems. Unfortunately, dynamic -shared libraries are not standard between UNIX systems, so there may be -information here that is not correct for your system. If you have -problems, consult your compiler and linker manual pages or your system -administrator. -<p>The Berkeley DB dynamic shared libraries are created with the name -libdb-<b>major</b>.<b>minor</b>.so, where <b>major</b> is the major -version number and <b>minor</b> is the minor version number. Other -shared libraries are created if Java and Tcl support are enabled, -specifically libdb_java-<b>major</b>.<b>minor</b>.so and -libdb_tcl-<b>major</b>.<b>minor</b>.so. -<p>On most UNIX systems, when any shared library is created, the linker -stamps it with a "SONAME". In the case of Berkeley DB, the SONAME is -libdb-<b>major</b>.<b>minor</b>.so. It is important to realize that -applications linked against a shared library remember the SONAMEs of the -libraries they use and not the underlying names in the filesystem. -<p>When the Berkeley DB shared library is installed, links are created in the -install lib directory so that libdb-<b>major</b>.<b>minor</b>.so, -libdb-<b>major</b>.so and libdb.so all reference the same library. This -library will have an SONAME of libdb-<b>major</b>.<b>minor</b>.so. -<p>Any previous versions of the Berkeley DB libraries that are present in the -install directory (such as libdb-2.7.so or libdb-2.so) are left unchanged. -(Removing or moving old shared libraries is one drastic way to identify -applications that have been linked against those vintage releases.) -<p>Once you have installed the Berkeley DB libraries, unless they are installed in -a directory where the linker normally looks for shared libraries, you will -need to specify the installation directory as part of compiling and -linking against Berkeley DB. Consult your system manuals or system -administrator for ways to specify a shared library directory when -compiling and linking applications with the Berkeley DB libraries. Many systems -support environment variables (e.g., LD_LIBRARY_PATH, LD_RUN_PATH) ), or -system configuration files (e.g., /etc/ld.so.conf) for this purpose. -<p><b>Warning</b>: some UNIX installations may have an already existing -<b>/usr/lib/libdb.so</b>, and this library may be an incompatible -version of Berkeley DB. -<p>We recommend that applications link against libdb.so (e.g., using -ldb). -Even though the linker uses the file named libdb.so, the executable file -for the application remembers the library's SONAME -(libdb-<b>major</b>.<b>minor</b>.so). This has the effect of marking -the applications with the versions they need at link time. Because -applications locate their needed SONAMEs when they are executed, all -previously linked applications will continue to run using the library they -were linked with, even when a new version of Berkeley DB is installed and the -file <b>libdb.so</b> is replaced with a new version. -<p>Applications that know they are using features specific to a particular -Berkeley DB release can be linked to that release. For example, an application -wanting to link to Berkeley DB major release "3" can link using -ldb-3, and -applications that know about a particular minor release number can specify -both major and minor release numbers, for example, -ldb-3.5. -<p>If you want to link with Berkeley DB before performing library installation, -the "make" command will have created a shared library object in the -<b>.libs</b> subdirectory of the build directory, such as -<b>build_unix/.libs/libdb-major.minor.so</b>. If you want to link a -file against this library, with, for example, a major number of "3" and -a minor number of "5", you should be able to do something like: -<p><blockquote><pre>cc -L BUILD_DIRECTORY/.libs -o testprog testprog.o -ldb-3.5 -env LD_LIBRARY_PATH="BUILD_DIRECTORY/.libs:$LD_LIBRARY_PATH" ./testprog</pre></blockquote> -<p>where <b>BUILD_DIRECTORY</b> is the full directory path to the directory -where you built Berkeley DB. -<p>The libtool program (which is configured in the build_unix directory) can -be used to set the shared library path and run a program. For example, -<p><blockquote><pre>libtool gdb db_dump</pre></blockquote> -<p>runs the gdb debugger on the db_dump utility after setting the appropriate -paths. Libtool may not know what to do with arbitrary commands (it is -hardwired to recognize "gdb" and some other commands). If it complains -the mode argument will usually resolve the problem: -<p><blockquote><pre>libtool --mode=execute my_debugger db_dump</pre></blockquote> -<p>On most systems, using libtool in this way is exactly equivalent to -setting the LD_LIBRARY_PATH environment variable and then executing the -program. On other systems, using libtool has the virtue of knowing about -any other details on systems that don't behave in this typical way. -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/install.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/test.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/solaris.html b/bdb/docs/ref/build_unix/solaris.html deleted file mode 100644 index 8239537a825..00000000000 --- a/bdb/docs/ref/build_unix/solaris.html +++ /dev/null @@ -1,90 +0,0 @@ -<!--$Id: solaris.so,v 11.14 2000/09/13 17:22:20 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Solaris</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/sco.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/sunos.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Solaris</h1> -<p><ol> -<p><li><b>I can't compile and run multi-threaded applications.</b> -<p>Special compile-time flags and additional libraries are required when -compiling threaded applications on Solaris. If you are compiling a -threaded application, you must compile with the D_REENTRANT flag and link -with the libpthread.a or libthread.a libraries: -<p><blockquote><pre>cc -mt ... -cc -D_REENTRANT ... -lthread -cc -D_REENTRANT ... -lpthread</pre></blockquote> -<p>The Berkeley DB library will automatically build with the correct options. -<hr size=1 noshade> -<p><li><b>I've installed gcc on my Solaris system, but configuration -fails because the compiler doesn't work.</b> -<p>On some versions of Solaris, there is a cc executable in the user's path, -but all it does is display an error message and fail: -<p><blockquote><pre>% which cc -/usr/ucb/cc -% cc -/usr/ucb/cc: language optional software package not installed</pre></blockquote> -<p>As Berkeley DB always uses the native compiler in preference to gcc, this is a -fatal error. If the error message you're seeing is: -<p><blockquote><pre>checking whether the C compiler (cc -O ) works... no -configure: error: installation or configuration problem: C compiler cannot create executables.</pre></blockquote> -<p>then this may be the problem you're seeing. The simplest workaround is -to set your CC environment variable to the system compiler, e.g.: -<p><blockquote><pre>env CC=gcc ../dist/configure</pre></blockquote> -<p>and reconfigure. -<p>If you are using the --configure-cxx option, you may also want to specify -a C++ compiler, e.g.: -<p><blockquote><pre>env CC=gcc CCC=g++ ../dist/configure</pre></blockquote> -<hr size=1 noshade> -<p><li><b>I get the error -"libc internal error: _rmutex_unlock: rmutex not held", followed by a core -dump, when running threaded or JAVA programs.</b> -<p>This is a known bug in Solaris 2.5 and it is fixed by Sun patch 103187-25. -<hr size=1 noshade> -<p><li><b>I get error reports of non-existent files, corrupted metadata -pages and core dumps.</b> -<p>Solaris 7 contains a bug in the threading libraries (-lpthread, -lthread) -which causes the wrong version of the pwrite routine to be linked into -the application if the thread library is linked in after the the C -library. The result will be that the pwrite function is called rather -than the pwrite64. To work around the problem, use an explicit link order -when creating your application. -<p>Sun Microsystems is tracking this problem with Bug Id's 4291109 and 4267207, -and patch 106980-09 to Solaris 7 fixes the problem. -<p><blockquote><pre>Bug Id: 4291109 -Duplicate of: 4267207 -Category: library -Subcategory: libthread -State: closed -Synopsis: pwrite64 mapped to pwrite -Description: -When libthread is linked after libc, there is a table of functions in -libthread that gets "wired into" libc via _libc_threads_interface(). -The table in libthread is wrong in both Solaris 7 and on28_35 for the -TI_PWRITE64 row (see near the end).</pre></blockquote> -<hr size=1 noshade> -<p><li><b>During configuration I see a message that large file support has -been turned off.</b> -<p>The Solaris 8 system include files redefine "open" when big-file support (the -HAVE_FILE_OFFSET_BITS and _FILE_OFFSET_BITS #defines) is enabled. This -causes problems when compiling for C++, where "open" is a legal -identifier, used in the Berkeley DB C++ API. For this reason, we automatically -turn off big-file support when Berkeley DB is configured with a C++ API. This -should not be a problem for applications unless there is a need to create -databases larger than 2GB. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/sco.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/sunos.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/sunos.html b/bdb/docs/ref/build_unix/sunos.html deleted file mode 100644 index cecccaefb94..00000000000 --- a/bdb/docs/ref/build_unix/sunos.html +++ /dev/null @@ -1,30 +0,0 @@ -<!--$Id: sunos.so,v 11.4 2000/03/18 21:43:10 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: SunOS</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/solaris.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/ultrix.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>SunOS</h1> -<p><ol> -<p><li><b>I can't specify the <a href="../../api_c/env_open.html#DB_SYSTEM_MEM">DB_SYSTEM_MEM</a> flag to <a href="../../api_c/env_open.html">DBENV->open</a>.</b> -<p>The <b>shmget</b>(2) interfaces are not used on SunOS releases prior -to 5.0, even though they apparently exist, as the distributed include -files did not allow them to be compiled. For this reason, it will not be -possible to specify the <a href="../../api_c/env_open.html#DB_SYSTEM_MEM">DB_SYSTEM_MEM</a> flag those versions of -SunOS. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/solaris.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/ultrix.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/test.html b/bdb/docs/ref/build_unix/test.html deleted file mode 100644 index 9ae398980f6..00000000000 --- a/bdb/docs/ref/build_unix/test.html +++ /dev/null @@ -1,49 +0,0 @@ -<!--$Id: test.so,v 10.19 2000/06/28 14:33:57 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Running the test suite under UNIX</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/shlib.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/notes.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Running the test suite under UNIX</h1> -<p>The Berkeley DB test suite is built if you specify --enable-test as an -argument when configuring Berkeley DB. -<p>Before running the tests for the first time, you may need to edit the -<b>include.tcl</b> file in your build directory. The Berkeley DB -configuration assumes you intend to use the version of the tclsh utility -included in the Tcl installation with which Berkeley DB was configured to run -the test suite, and further assumes that the test suite will be run with -the libraries pre-built in the Berkeley DB build directory. If either of these -assumptions are incorrect, you will need to edit the <b>include.tcl</b> -file and change the line that reads: -<p><blockquote><pre>set tclsh_path ...</pre></blockquote> -<p>to correctly specify the full path to the version of tclsh with which you -are going to run the test suite. You may also need to change the line -that reads: -<p><blockquote><pre>set test_path ...</pre></blockquote> -<p>to correctly specify the path from the directory where you are running -the test suite to the location of the Berkeley DB Tcl API library you built. -It may not be necessary that this be a full path if you have configured -your system's dynamic shared library mechanisms to search the directory -where you built or installed the Tcl library. -<p>All Berkeley DB tests are run from within <b>tclsh</b>. After starting tclsh, -you must source the file <b>test.tcl</b> in the test directory. For -example, if you built in the <b>build_unix</b> directory of the -distribution, this would be done using the command: -<p><blockquote><pre>% source ../test/test.tcl</pre></blockquote> -<p>Once you have executed that command and the "%" prompt has returned -without errors, you are ready to run tests in the test suite. -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/shlib.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/notes.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> diff --git a/bdb/docs/ref/build_unix/ultrix.html b/bdb/docs/ref/build_unix/ultrix.html deleted file mode 100644 index e71946c8825..00000000000 --- a/bdb/docs/ref/build_unix/ultrix.html +++ /dev/null @@ -1,27 +0,0 @@ -<!--$Id: ultrix.so,v 11.4 2000/03/18 21:43:10 bostic Exp $--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB Reference Guide: Ultrix</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td> -<td width="1%"><a href="../../ref/build_unix/sunos.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_win/intro.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p> -<h1 align=center>Ultrix</h1> -<p><ol> -<p><li><b>Configuration complains that mmap(2) interfaces aren't being used.</b> -<p>The <b>mmap</b>(2) interfaces are not used on Ultrix, even though -they exist, as they are known to not work correctly. -</ol> -<table><tr><td><br></td><td width="1%"><a href="../../ref/build_unix/sunos.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../ref/toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_win/intro.html"><img src="../../images/next.gif" alt="Next"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> |