[ python-Bugs-1077040 ] Error building _bsddb extension

SourceForge.net noreply at sourceforge.net
Sun Dec 12 10:23:47 CET 2004


Bugs item #1077040, was opened at 2004-12-02 07:19
Message generated for change (Comment added) made by aimacintyre
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1077040&group_id=5470

Category: Build
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Oleg Broytmann (phd)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error building _bsddb extension

Initial Comment:
Trying to build Python 2.4 on Debian GNU/Linux 3.0
using gcc  3.3.4. BerkeleyDB version is 3.2, header is
/usr/include/db.h, library in /usr/lib.

Error:

gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fPIC
-I. -I/usr/local/src/Python/Python-2.4/./Include
-I/usr/local/include
-I/usr/local/src/Python/Python-2.4/Include
-I/usr/local/src/Python/Python-2.4 -c
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c -o
build/temp.linux-i686-2.4/_bsddb.o
running build_scripts
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c: In
function `DB_pget':
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c:1464:
error: structure has no member named `pget'
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c:1482:
error: structure has no member named `primaryDBType'
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c:1483:
error: structure has no member named `primaryDBType'
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c: In
function `DBC_pget':
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c:2928:
error: structure has no member named `c_pget'
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c:2943:
error: structure has no member named `primaryDBType'
/usr/local/src/Python/Python-2.4/Modules/_bsddb.c:2944:
error: structure has no member named `primaryDBType'

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

>Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2004-12-12 20:23

Message:
Logged In: YES 
user_id=250749

What are the DB_VERSION_MAJOR and DB_VERSION_MINOR macros
defined to in your /usr/include/db.h?

The primaryDBType symbol is only referenced in code compiled
for DB versions 3.3 and higher, and the pget symbol is
referenced in code compiled for DB 3.2 and higher.

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

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


More information about the Python-bugs-list mailing list