Issue 27 - Fix for Berkeley DB 2.6.4(beta)
Summary: Fix for Berkeley DB 2.6.4(beta)
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-12-29 16:29 UTC by Kurt Spanier
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kurt Spanier 1998-12-29 16:29:46 UTC
Hi Folks,

the error (see below) was caused by a change in the function call to
(DB)->cursor, Sleepycat introduced with the new Berkeley DB version 2.6.4
(BETA). The code now supports both DB versions prior to 2.6.4 as well as 
2.6.4 and up ( hopefully :-).

Additionally, I have introduced ldbm_datum_init() to initialize Datum
structures before first use. DB 2.x needs initialization to zero of the
flag element, which is not done automatically on e.g. Linux.


Regards,

Kurt Spanier


> Platform Redhat Linux 5.2 with kernel 2.0.36
> Berkeley DB 2.6.4 (http://www.sleepycat.com)
> 
> Configure command

> CPPFLAGS="-I/usr/local/site/BerkeleyDB/include/"
>  LDFLAGS="-L/usr/local/site/BerkeleyDB/lib -ldb" ./configure
>  --enable-wrappers
>  --prefix=/usr/local/site/prefix
>
> make depend
> make
> 
> Error seen

...

> ldbm.c: In function `ldbm_firstkey':
> ldbm.c:202: too few arguments to function
> make[2]: *** [ldbm.o] Error 1
> make[4]: *** No rule to make target `../../libraries/libldbm.a', needed
>   by `version.c'.  Stop.
> make[3]: *** [all-local-srv] Error 2
> make[2]: *** [all-common] Error 2



----------==========#########>>>>>ZDV<<<<<#########==========----------

X.500:                                              Tel.:
   Kurt Spanier, Zentrum fuer Datenverarbeitung,      +49 7071 29-70334
   Universitaet Tuebingen, DE
SMTP-Mail:                                          FAX.:
   kurt.spanier@zdv.uni-tuebingen.de                   +49 7071 29-5912
Snail-Mail:
   Dr. Kurt Spanier, Zentrum fuer Datenverarbeitung,
   Universitaet Tuebingen, Waechterstrasse 76, D-72074 Tuebingen
PGP-Public-Key:
   finger "Kurt Spanier"@x500.uni-tuebingen.de

----------==========##########>>>>>@<<<<<##########==========----------







Comment 1 Kurt Zeilenga 1998-12-29 16:55:55 UTC
moved from Incoming to Software
Comment 2 Kurt Zeilenga 1998-12-29 17:02:59 UTC
changed notes
changed state Open to Feedback
Comment 3 Kurt Zeilenga 1998-12-30 19:17:31 UTC
changed notes
changed state Feedback to Test
Comment 4 Kurt Zeilenga 1998-12-31 20:21:00 UTC
changed state Test to Release
Comment 5 Kurt Zeilenga 1998-12-31 20:28:26 UTC
changed notes
Comment 6 Kurt Zeilenga 1998-12-31 20:28:39 UTC
changed state Release to Closed
Comment 7 Kurt Zeilenga 1999-01-13 17:55:10 UTC
moved from Software to Software Bugs
Comment 8 OpenLDAP project 2014-08-01 21:06:51 UTC
Released with 1.1.2.