[ python-Bugs-1571754 ] Building using Sleepycat db 4.5.20 is broken

SourceForge.net noreply at sourceforge.net
Thu Oct 5 23:34:27 CEST 2006


Bugs item #1571754, was opened at 2006-10-05 23:31
Message generated for change (Comment added) made by robert-scheck
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1571754&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Scheck (robert-scheck)
Assigned to: Nobody/Anonymous (nobody)
Summary: Building using Sleepycat db 4.5.20 is broken

Initial Comment:
Using latest Sleepycat db 4.5.20, I'm getting the 
following result during make of python 2.5:

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes  -I. -I./Include  -fPIC -
DPy_BUILD_CORE  -I/usr/include/db4 -c ./Modules/_bsddb.
c -o Modules/_bsddb.o
./Modules/_bsddb.c: In function 'DBEnv_set_lk_max':
./Modules/_bsddb.c:4142: error: 'DB_ENV' has no member 
named 'set_lk_max'
./Modules/_bsddb.c: In function 'init_bsddb':
./Modules/_bsddb.c:5838: error: 'DB_CACHED_COUNTS' 
undeclared (first use in this function)
./Modules/_bsddb.c:5838: error: (Each undeclared 
identifier is reported only once
./Modules/_bsddb.c:5838: error: for each function it 
appears in.)
./Modules/_bsddb.c:5873: error: 'DB_RECORDCOUNT' 
undeclared (first use in this function)
make: *** [Modules/_bsddb.o] Error 1

----------------------------------------------------------------------

>Comment By: Robert Scheck (robert-scheck)
Date: 2006-10-05 23:34

Message:
Logged In: YES 
user_id=203809

Ah, python 2.4.3 has the same problem plus further errors:

./Modules/_bsddb.c: In function 'DB_length':
./Modules/_bsddb.c:2453: error: 'DB_CACHED_COUNTS' 
undeclared (first use in this function)
./Modules/_bsddb.c:2453: error: (Each undeclared identifier 
is reported only once
./Modules/_bsddb.c:2453: error: for each function it appears 
in.)
./Modules/_bsddb.c: In function 'DBEnv_set_lk_max':
./Modules/_bsddb.c:3811: error: 'DB_ENV' has no member named 
'set_lk_max'
./Modules/_bsddb.c: In function 'init_bsddb':
./Modules/_bsddb.c:5004: error: 'DB_CACHED_COUNTS' 
undeclared (first use in this function)
./Modules/_bsddb.c:5039: error: 'DB_RECORDCOUNT' undeclared 
(first use in this function)
make: *** [Modules/_bsddb.o] Error 1

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1571754&group_id=5470


More information about the Python-bugs-list mailing list