Mark Summerfield added the comment:

On 2008-03-03, Martin v. Löwis wrote:
> Martin v. Löwis added the comment:
>
> Modules/Setup is out of date; _bsddb supports anything between 3.3 and 4.5.
>

FYI, only now I've just realised that Fedora 8's db version is 4.6.21,
but I thought I'd try it anyway.

% locate db-4.6
/lib/libdb-4.6.so
/usr/lib/libdb-4.6.a
/usr/lib/libdb-4.6.la
/usr/lib/libdb-4.6.so
% ls -l /usr/include/db.h
lrwxrwxrwx 1 root root 8 2008-01-10 14:57 /usr/include/db.h -> db4/db.h

I edited Modules/Setup as follows:

DB=/usr
DBLIBVER=4.6
DBINC=$(DB)/include
DBLIB=$(DB)/lib
_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)

The last gcc call is this:

gcc -pthread  -Xlinker -export-dynamic -o python \
                        Modules/python.o \

libpython3.0.a -lpthread -ldl  -lutil -L/usr/lib -ldb-4.6   -lm
running build
running build_ext
Failed to find the necessary bits to build these modules:
_bsddb

I can't see the DB -I or -L lines but I'm no makefile expert so maybe
they come from somewhere else.

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2219>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to