views:

395

answers:

4

I'm trying to find out where a BerkeleyDB PPM is for ActivePerl 5.10. Anyone have a clue where to find this, or how to build it?

I had found a lead here. They claim BerkeleyDB 0.33 had built ok for Perl 5.10. They provide a link to the PPM, but not to the supporting zip file. So I got around it, manually getting the ppm and the zip and running ppm install on the ppm file. That didn't work because the dll provided in the zip can't be loaded.

It seems like the only thing to do is to get the BerkeleyDB code from Oracle, compile it for Win32 with visual studio (the provided MSI uses Cygwin tools), modify the tarball from CPAN and build the ppm myself.

A: 

Doesn't DBD::DBM support BerkelyDB?

Joe Casadonte
A: 

Have you looked into getting Strawberry Perl? It may not be appropriate for your purposes, but a large part of the reason for its creation is the much better (although not perfect) support for CPAN modules, as opposed to requiring the PPM repositories to be kept up to date.

Cebjyre
For the rectord, ActivePerl has always had the same CPAN shell, and now fetches the auxiliary build tools as needed (MinGW). Building BerkeleyDB-0.42 with Strawberry Perl fails at the same place as it does with ActivePerl.
troyt
+2  A: 

The short answer: Use Sqlite. The long answer, compile it and debug it yourself, contribute it to the community.

Mike Caron
+2  A: 

Start ppm, go to Edit -> Preferences -> repositories and add the "trouchelle" repository. They have a BerkelyDB package for ActiveState Perl 5.10.

leyrer
I think I tried that a good while ago. I just noticed that v .33 is the only version that did not fail during compile. I'll have to see if that's a version that's compatible with my app.
Mike Caron