[ZODB-Dev] [ zodb-Bugs-734759 ] BerkeleyDB Docs say Python2.1,
but Build requires Python2.2
SourceForge.net
noreply at sourceforge.net
Thu May 8 13:52:46 EDT 2003
Bugs item #734759, was opened at 2003-05-08 13:05
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=734759&group_id=15628
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Forest Zachman (fzachman)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: BerkeleyDB Docs say Python2.1, but Build requires Python2.2
Initial Comment:
>From the readme:
As of this writing (09-Nov-2002) it is recommended that
at least
Python 2.1.3 or Python 2.2.2 be used with these
storages. Full and
Minimal storages should also work with Python 2.3 (as
yet unreleased).
Yet, when I try to build:
python2.1 setup.py build
It dies:
building '_helper' extension
gcc -g -O2 -D_FILE_OFFSET_BITS=64
-DHAVE_LARGEFILE_SUPPORT -fPIC -I/usr/include/python2.1
-c bsddb3Storage/_helper.c -o
build/temp.linux-i686-2.1/_helper.o
bsddb3Storage/_helper.c:23:2: #error "Must be using at
least Python 2.2"
bsddb3Storage/_helper.c: In function `helper_incr':
bsddb3Storage/_helper.c:44: warning: assignment makes
pointer from integer without a cast
error: command 'gcc' failed with exit status 1
Note the #error "Must be using at least Python 2.2".
Not sure if this is an error in the docs or just a bad
dependency check. I'd really like to know if this
package is still compatible with python2.1
----------------------------------------------------------------------
>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-05-08 15:52
Message:
Logged In: YES
user_id=12800
Getting the #error was intentional, but the build process
wasn't supposed to stop there. Because BDBStorage comes
with a pure-Python (but slower) implementation of the helper
incr() function, what should happen is that the import of
_helper fails in Python 2.1.3 and the Python version of the
function would get used instead.
I tested all this out once and it worked the way I
described, but obviously something's changed since then.
I'm assigning this to me although I don't know when I'll
have time to repair it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=734759&group_id=15628
More information about the ZODB-Dev
mailing list