Subject: p5-BerkeleyDB-0.26 broken against db4 4.4.x
To: None <tech-pkg@netbsd.org>
From: Matt Dainty <matt@bodgit-n-scarper.com>
List: tech-pkg
Date: 01/08/2006 23:17:11
--=-1MW5+TCs1jdNypevtrPf
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

p5-BerkeleyDB 0.26 won't compile against db4 4.4.x:

/usr/pkg/bin/perl /usr/pkg/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes
-typemap /usr/pkg/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap
BerkeleyDB.xs > BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c
cc -c  -I/usr/pkg/include/db4  -fno-strict-aliasing -pipe
-I/usr/pkg/include -O2 -I/usr/pkg/include/db4 -I/usr/pkg/include
-I/usr/pkg/include/db4 -I/usr/pkg/include    -DVERSION=3D\"0.26\"
-DXS_VERSION=3D\"0.26\" -DPIC -fPIC
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"
BerkeleyDB.c
BerkeleyDB.xs: In function `XS_BerkeleyDB__Btree_db_stat':
BerkeleyDB.xs:2609: error: structure has no member named `bt_maxkey'
*** Error code 1

Upping to 0.27 fixes this, the ChangeLog for the module explicitly
mentions adding 4.4.x support in this version.

Matt

--=-1MW5+TCs1jdNypevtrPf
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDwZ13KP58eR+X2TMRAnD9AJ97yZy/3nNUYzYN5iR7Nigppdpk3gCfRkhh
kIG3r310md5cZkSFBlEj8nY=
=yrQ+
-----END PGP SIGNATURE-----

--=-1MW5+TCs1jdNypevtrPf--