[Python-bugs-list] [ python-Bugs-690419 ] can't build bsddb for 2.3a2

SourceForge.net noreply@sourceforge.net
Mon, 24 Feb 2003 09:22:40 -0800


Bugs item #690419, was opened at 2003-02-21 01:12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690419&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul Jarc (prjsf)
Assigned to: Nobody/Anonymous (nobody)
Summary: can't build bsddb for 2.3a2

Initial Comment:
I have db-4.1.25 installed, and I'm trying to install
Python 2.3a2 with
bsddb.  The build fails:
gcc -fPIC  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-I. -I./Include 
-I/package/misc/spf/python-2.3a2/spf/db/include -c
./Modules/bsddbmodule.c -o Modules/bsddbmodule.o
Modules/bsddbmodule.c: In function `newdbhashobject':
Modules/bsddbmodule.c:58: `HASHINFO' undeclared (first
use in this function)
Modules/bsddbmodule.c:58: (Each undeclared identifier
is reported only once
Modules/bsddbmodule.c:58: for each function it appears in.)
Modules/bsddbmodule.c:58: parse error before "info"
Modules/bsddbmodule.c:63: `info' undeclared (first use
in this function)
Modules/bsddbmodule.c:74: warning: implicit declaration
of function `dbopen'
Modules/bsddbmodule.c:74: warning: assignment makes
pointer from integer without a cast
Modules/bsddbmodule.c: In function `newdbbtobject':
Modules/bsddbmodule.c:106: `BTREEINFO' undeclared
(first use in this function)
Modules/bsddbmodule.c:106: parse error before "info"
Modules/bsddbmodule.c:111: `info' undeclared (first use
in this function)
Modules/bsddbmodule.c:124: warning: assignment makes
pointer from integer without a cast
Modules/bsddbmodule.c: In function `newdbrnobject':
Modules/bsddbmodule.c:156: `RECNOINFO' undeclared
(first use in this function)
Modules/bsddbmodule.c:156: parse error before "info"
Modules/bsddbmodule.c:162: `info' undeclared (first use
in this function)
Modules/bsddbmodule.c:182: warning: assignment makes
pointer from integer without a cast
Modules/bsddbmodule.c: In function `bsddb_dealloc':
Modules/bsddbmodule.c:223: too few arguments to function
Modules/bsddbmodule.c: In function `bsddb_length':
Modules/bsddbmodule.c:252: structure has no member
named `seq'
Modules/bsddbmodule.c:253: `R_FIRST' undeclared (first
use in this function)
Modules/bsddbmodule.c:255: structure has no member
named `seq'
Modules/bsddbmodule.c:256: `R_NEXT' undeclared (first
use in this function)
Modules/bsddbmodule.c: In function `bsddb_subscript':
Modules/bsddbmodule.c:276: `recno_t' undeclared (first
use in this function)
Modules/bsddbmodule.c:276: parse error before "recno"
Modules/bsddbmodule.c:279: `recno' undeclared (first
use in this function)
Modules/bsddbmodule.c:299: warning: passing arg 2 of
pointer to function from incompatible pointer type
Modules/bsddbmodule.c:299: too few arguments to function
Modules/bsddbmodule.c: In function `bsddb_ass_sub':
Modules/bsddbmodule.c:327: `recno_t' undeclared (first
use in this function)
Modules/bsddbmodule.c:327: parse error before "recno"
Modules/bsddbmodule.c:330: `recno' undeclared (first
use in this function)
Modules/bsddbmodule.c:351: warning: passing arg 2 of
pointer to function from incompatible pointer type
Modules/bsddbmodule.c:351: too few arguments to function
Modules/bsddbmodule.c:363: warning: passing arg 2 of
pointer to function from incompatible pointer type
Modules/bsddbmodule.c:363: too few arguments to function
Modules/bsddbmodule.c: In function `bsddb_close':
Modules/bsddbmodule.c:388: too few arguments to function
Modules/bsddbmodule.c: In function `bsddb_keys':
Modules/bsddbmodule.c:415: structure has no member
named `seq'
Modules/bsddbmodule.c:415: `R_FIRST' undeclared (first
use in this function)
Modules/bsddbmodule.c:441: structure has no member
named `seq'
Modules/bsddbmodule.c:442: `R_NEXT' undeclared (first
use in this function)
Modules/bsddbmodule.c: In function `bsddb_has_key':
Modules/bsddbmodule.c:470: `recno_t' undeclared (first
use in this function)
Modules/bsddbmodule.c:470: parse error before "recno"
Modules/bsddbmodule.c:474: `recno' undeclared (first
use in this function)
Modules/bsddbmodule.c:491: warning: passing arg 2 of
pointer to function from incompatible pointer type
Modules/bsddbmodule.c:491: too few arguments to function
Modules/bsddbmodule.c: In function `bsddb_set_location':
Modules/bsddbmodule.c:509: `recno_t' undeclared (first
use in this function)
Modules/bsddbmodule.c:509: parse error before "recno"
Modules/bsddbmodule.c:513: `recno' undeclared (first
use in this function)
Modules/bsddbmodule.c:530: structure has no member
named `seq'
Modules/bsddbmodule.c:530: `R_CURSOR' undeclared (first
use in this function)
Modules/bsddbmodule.c: In function `bsddb_seq':
Modules/bsddbmodule.c:570: structure has no member
named `seq'
Modules/bsddbmodule.c: In function `bsddb_next':
Modules/bsddbmodule.c:608: `R_NEXT' undeclared (first
use in this function)
Modules/bsddbmodule.c: In function `bsddb_previous':
Modules/bsddbmodule.c:613: `R_PREV' undeclared (first
use in this function)
Modules/bsddbmodule.c: In function `bsddb_first':
Modules/bsddbmodule.c:618: `R_FIRST' undeclared (first
use in this function)
Modules/bsddbmodule.c: In function `bsddb_last':
Modules/bsddbmodule.c:623: `R_LAST' undeclared (first
use in this function)
make: *** [Modules/bsddbmodule.o] Error 1


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

>Comment By: Paul Jarc (prjsf)
Date: 2003-02-24 17:22

Message:
Logged In: YES 
user_id=412110

Ok, here it is as an attachment.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2003-02-23 14:12

Message:
Logged In: YES 
user_id=6380

Please don't include long listings in the bug report. Attach
then separately.

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

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