[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: OpenLDAP 2.0.11 & Sleepycat db-3.3.11 compile failure
Hey,
SleeplyCat have changed their API.Here is a part of DB 3.3.11 ChangeLog :
...
Replace the DB->set_malloc and DB->set_realloc functions, and the malloc
arguments to DB->stat, lock_stat, log_archive, log_stat, memp_stat and
txn_stat, with the new DB_ENV->set_alloc and DB->set_alloc interfaces.
[#3329]
...
Here is the link to the page
http://www.sleepycat.com/update/3.3.11/if.3.3.11.html.
I suppose we may have to wait for an OpenLDAP patch, or you can update
yourself the source tree ;-) !
Thierry
> -----Original Message-----
> From: Nick Stevenson [SMTP:nstevens@arm.com]
> Sent: Thursday, July 26, 2001 4:57 AM
> To: openldap-software@OpenLDAP.org
> Cc: nstevens@arm.com
> Subject: OpenLDAP 2.0.11 & Sleepycat db-3.3.11 compile failure
>
> Anyone tried building with Sleepycat DB v3.3.11 yet?
>
> I'm unable to build OpenLDAP 2.0.11 using it but db-3.2.9 builds OK. The
> environment is Solaris 8, UltraSPARC with gcc 2.95.3.
>
>
> ------------------------8<------------------------
> gcc -g -O2 -I../../include -I../../include -I/usr/local/ssl/include
> -I/usr/local/include -L/usr/local/src/openldap-2.0.11/libraries
> -L/usr/local/ssl/lib -L/usr/local/lib -o testavl testavl.o -lavl -lresolv
> -lgen -lnsl -lsocket -ldl -R/usr/local/ssl/lib:/usr/local/lib
> -R/usr/local/ssl/lib:/usr/local/lib
>
> Entering subdirectory libldbm
> gcc -g -O2 -I../../include -I../../include -I/usr/local/ssl/include
> -I/usr/local/include -c ldbm.c
> ldbm.c: In function `ldbm_open':
> ldbm.c:249: structure has no member named `set_malloc'
> *** Error code 1
> make: Fatal error: Command failed for target `ldbm.o'
> Current working directory /usr/local/src/openldap-2.0.11/libraries/libldbm
> *** Error code 1
> make: Fatal error: Command failed for target `all-common'
> Current working directory /usr/local/src/openldap-2.0.11/libraries
> *** Error code 1
> make: Fatal error: Command failed for target `all-common'
> root@frank 1 ../openldap-2.0.11 >
> -----------------------8<-------------------------
> --
> Nick
>
>
>