Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

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

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


noreply at sourceforge

Nov 22, 2006, 11:15 AM

Post #1 of 1 (142 views)
Permalink
[ python-Bugs-1571754 ] Building using Sleepycat db 4.5.20 is broken

Bugs item #1571754, was opened at 2006-10-05 21:31
Message generated for change (Comment added) made by juedau
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
Private: No
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: sdkfsdf (juedau)
Date: 2006-11-22 19:15

Message:
Logged In: YES
user_id=1627035
Originator: NO

Didn't work for me. Sure, _bsddb.so can be linked against db 4.5.20 with
your patch, but some of the tests from bsddb/test are crashing. Seems that
we have to wait for official support. Tested with Python 2.5.

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

Comment By: Robert Scheck (robert-scheck)
Date: 2006-10-07 19:11

Message:
Logged In: YES
user_id=203809

The attached patches are solving the problems for me and
should be the correct fix when reading Sleepycat's upgrade
documentation...

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

Comment By: Robert Scheck (robert-scheck)
Date: 2006-10-05 21: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
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.