make test failing on Berkeley DB 4.5/perl 5.8 (and 5.6) on BSD6/AMD64

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

On Make:

BerkeleyDB.xs: In function `XS_BerkeleyDB__Txn__DESTROY':
BerkeleyDB.xs:4067: warning: cast from pointer to integer of different

On Make test example:

t/btree........Can't load
for module BerkeleyDB:
unsupported file layout at
lib/perl5/5.8.5/i386-freebsd-thread-multi/ line 230.
 at t/btree.t line 6
Compilation failed in require at t/btree.t line 6.

It works OK on Perl 5.005 on BSD4 / 32 bit Intel box

Any suggestions appreciated.

Site Timeline