]> git.sur5r.net Git - openldap/blob - build/db.2.x.README
Add OpenLDAP RCSid
[openldap] / build / db.2.x.README
1 Berkeley DB version 2.x and OpenLDAP running threads
2 ====================================================
3
4 Special care has to be taken when building Berkeley DB 2.x
5 for use with OpenLDAP as an slapd backend.  If OpenLDAP is used
6 with threads, so must Berkeley DB.   If OpenLDAP is built without
7 threads, so must Berkeley DB.  In general, you should use
8 the latest Sleepycat version.
9
10 The configuration tool of Sleepycat's Berkeley DB will automatically
11 set appropriate options on IRIX, OSF/1, and SUN Solaris platforms
12 (version 2.3.16), as well as FreeBSD (version 2.7.5).  The options
13 must be manually defined on other plaforms, e.g. on LINUX.
14
15 On PC-LINUX (kernel version 2.0.35, linux kernel threads as imple-
16 mented by libpthreads.so.1.60.4) with gcc as the standard compiler
17 the environment variable CPPFLAGS must define -D_REENTRANT, while
18 building the Berkeley DB package.
19
20 DO NOT USE THE -ansi CFLAG, SINCE THEN THE DB PACKAGE'S CONFIGURE
21 CANNOT FIND THE X86/GCC SPINLOCKS, WHICH ARE NEEDED FOR THREAD-
22 SUPPORT WITH THE BERKELEY DB.
23
24 Please check carefully if your platform is not mentioned above.
25
26 The OpenLDAP configure tool will most probably find the correct
27 configuration itself.   No special action has to be taken
28 while building the OpenLDAP package.
29