Mike Caron
Mike Caron

Reputation: 5784

How can I get BerkeleyDB for ActivePerl 5.10?

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.

Upvotes: 2

Views: 1305

Answers (4)

leyrer
leyrer

Reputation: 1492

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

Upvotes: 2

Mike Caron
Mike Caron

Reputation: 5784

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

Upvotes: 2

Cebjyre
Cebjyre

Reputation: 6622

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.

Upvotes: 0

Joe Casadonte
Joe Casadonte

Reputation: 16859

Doesn't DBD::DBM support BerkelyDB?

Upvotes: -2

Related Questions