Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 42167
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: ambs [...] cpan.org
Cc:
AdminCc: kmx [...] cpan.org

Bug Information
Severity: (no value)
Broken in: 1.00
Fixed in: (no value)



Subject: Berkeley DB (DB_File and the like)
Hello Sorry if this is already fixed in the manwhile. But it would be great if Berkeley DB was included in Strawberry Perl, so that DB_File and MLDBM can be used. Cheers ;) Alberto
Subject: Re: [rt.cpan.org #42167] Berkeley DB (DB_File and the like)
Date: Tue, 6 Jan 2009 13:13:51 +1100
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
Currently, there's no good package to bundle. The only installer I've managed to find would bloat the distribution out by around 50 meg (or something equally horrible). Adam K 2009/1/6 Alberto Simões via RT <bug-Perl-Dist-Strawberry@rt.cpan.org>: Show quoted text
> Mon Jan 05 15:46:23 2009: Request 42167 was acted upon. > Transaction: Ticket created by AMBS > Queue: Perl-Dist-Strawberry > Subject: Berkeley DB (DB_File and the like) > Broken in: 1.00 > Severity: (no value) > Owner: Nobody > Requestors: ambs@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=42167 > > > > Hello > > Sorry if this is already fixed in the manwhile. But it would be great if > Berkeley DB was included in Strawberry Perl, so that DB_File and MLDBM > can be used. > > Cheers ;) > Alberto >
Subject: Re: [rt.cpan.org #42167] Berkeley DB (DB_File and the like)
Date: Mon, 5 Jan 2009 22:07:08 -0500
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: "David Golden" <dagolden [...] cpan.org>
On Mon, Jan 5, 2009 at 9:14 PM, Adam Kennedy via RT Show quoted text
> > Currently, there's no good package to bundle. > > The only installer I've managed to find would bloat the distribution > out by around 50 meg (or something equally horrible). >
Based on what I figured out here: http://win32.perl.org/wiki/index.php?title=Install_DB_File_on_Strawberry_PerlI think we just need some include files and a library file and those are pretty small. I think all we need is a Perl::Dist::Asset::* class to grab that installer and raid it for the necessary files. It's an MSI so there must be some sort of MSI extraction tool that could do it. -- David
Subject: Re: [rt.cpan.org #42167] Berkeley DB (DB_File and the like)
Date: Wed, 7 Jan 2009 12:17:38 +1100
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
If you can find a way to do that, and can produce me a zip file with all the needed files, and where they need to go, I'll add it. Adam K 2009/1/6 David Golden via RT <bug-Perl-Dist-Strawberry@rt.cpan.org>: Show quoted text
> Queue: Perl-Dist-Strawberry > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=42167 > > > On Mon, Jan 5, 2009 at 9:14 PM, Adam Kennedy via RT
>> >> Currently, there's no good package to bundle. >> >> The only installer I've managed to find would bloat the distribution >> out by around 50 meg (or something equally horrible). >>
> > Based on what I figured out here: > http://win32.perl.org/wiki/index.php?title=Install_DB_File_on_Strawberry_PerlI > think we just need some include files and a library file and those are > pretty small. > > I think all we need is a Perl::Dist::Asset::* class to grab that installer > and raid it for the necessary files. It's an MSI so there must be some sort > of MSI extraction tool that could do it. > > -- David > > > On Mon, Jan 5, 2009 at 9:14 PM, Adam Kennedy via RT
>> >> Currently, there's no good package to bundle. >> >> The only installer I've managed to find would bloat the distribution >> out by around 50 meg (or something equally horrible).
> > Based on what I figured out here: http://win32.perl.org/wiki/index.php?title=Install_DB_File_on_Strawberry_Perl I think we just need some include files and a library file and those are pretty small. > > I think all we need is a Perl::Dist::Asset::* class to grab that installer and raid it for the necessary files. It's an MSI so there must be some sort of MSI extraction tool that could do it. > > -- David > > >
Hi, if you are still interested in DB_File under strawberry perl you can try this: 1) unzip enclosed libdb-4.7.25-bin_20090812.zip into your c:\strawberry 2) run: cpan DB_File (on my 5.10.0.6 build is ok and all tests pass) It is db-4.7.25 - just static library (*.a), no DLLs. Compiled by me (I should probably rebuild it again; but the enclosed version seems to be ready to use enough). Any feedback welcome - post it here, please. -- kmx
Download libdb-4.7.25-bin_20090812.zip
application/x-zip-compressed 687.6k

Message body not shown because it is not plain text.

Just a note: BTW: Berkley DB support is crucial for installing BioPerl module that is mentioned by Curtis on his maybe-in-Oct09-release list: http://csjewell.dreamwidth.org/1079.html So, you should consider including Berkley DB dev-libraries directly into strawberry release (I guess that Oracle license for Berkley DB allows that). As usual I am ready to help with this. -- kmx
Subject: Re: [rt.cpan.org #42167] Berkeley DB (DB_File and the like)
Date: Fri, 14 Aug 2009 00:47:35 +1000
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
I tested your package, it works great. Adam K 2009/8/13 kmx via RT <bug-Perl-Dist-Strawberry@rt.cpan.org>: Show quoted text
>       Queue: Perl-Dist-Strawberry >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=42167 > > > Just a note: > > BTW: Berkley DB support is crucial for installing BioPerl module that is > mentioned by Curtis on his maybe-in-Oct09-release list: > http://csjewell.dreamwidth.org/1079.html > > So, you should consider including Berkley DB dev-libraries directly into > strawberry release (I guess that Oracle license for Berkley DB allows that). > > As usual I am ready to help with this. > > -- > kmx > >
Hi, I have prepared a clean build of db-4.7.25 (from "clean" sources; with "clean" mingw). Build environment: - mingw compiler (from latest strawberry 5.10.0.6) - msys environment (msysCORE-1.0.11) - build options: db-4.7.25/build_windows$ ../dist/configure --enable-mingw The enclosed libdb-4.7.25-bin_20090817.zip contains: - static library (*.a) + necessary headers - I have added also Oracle license + URL to source codes required in this license (both in "licenses" subdir) So libdb-4.7.25-bin_20090817.zip is more or less ready for integrating into strawberry release. Of course if you decide so. -- kmx
Download libdb-4.7.25-bin_20090817.zip
application/binary 699.1k

Message body not shown because it is not plain text.

After r8907, DB_File worls, so MLDBM works. However, BerkeleyDB does NOT build, I've reported it to PMQS as ticket 49474. I won't take the library out, but just so you know.
Subject: Re: [rt.cpan.org #42167] Berkeley DB (DB_File and the like)
Date: Mon, 07 Sep 2009 08:21:03 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Show quoted text
> However, BerkeleyDB does NOT build, I've reported it to PMQS as ticket > 49474.
I have posted a patch to BerkeleyDB that solves it (see RT49474) - module now compiles OK, but still some tests failing. -- kmx
Subject: [SPAM] Re: [rt.cpan.org #42167] Berkeley DB (DB_File and the like)
Date: Mon, 07 Sep 2009 11:41:39 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Another question: Providing that Berkeley DB library is used by more modules would not it be better to include a dynamic library instead of static one? - using "alternative-DLL-name" trick: libdb-4.7_.dll instead of standard one libdb-4.7.dll Static way means: 1,6MB - libdb-4.7.a Dynamic way means: 0,8MB - libdb-4.7.dll.a 1,3MB - libdb-4.7.dll -- kmx
On Mon Sep 07 05:42:02 2009, kmx@volny.cz wrote: Show quoted text
> Another question: > > Providing that Berkeley DB library is used by more modules would not it > be better to include a dynamic library instead of static one? > - using "alternative-DLL-name" trick: libdb-4.7_.dll instead of standard > one libdb-4.7.dll > > Static way means: > 1,6MB - libdb-4.7.a > > Dynamic way means: > 0,8MB - libdb-4.7.dll.a > 1,3MB - libdb-4.7.dll
In this case, it's only a pair of modules that use the library directly - DB_File for Berkeley DB version 1 level calls and BerkeleyDB for version 2-4 level calls. I'm not so worried about it. If it were more, like the graphics libraries, then I'd tell you to worry.
I have solved this RT - http://rt.cpan.org/Ticket/Display.html?id=49474 - concerning building BerkeleyDB module under strawberry with new Berkeley DB library support. I have to rebuild the libdb.a with a little patch to one configure macro, the result is here: http://svn.ali.as/cpan/users/kmx/strawberry_packs/libdb-4.8.24-bin_20091019.zip Unfortunately too late for October2009 release - sorry. -- kmx
Resolving since October release happened.
[New bug needs created for anything we need to happen in January, sorry. The main implementation is there, and that's why this bug is resolved.]
Okay. Resolving is really happening.