in reply to Disappointed with latest Strawberry Perl

Today I noticed the absence of the DB_File CORE module, that I think should be available, as building it with cpan.bat is impossible.

The development environment is not available in /C/strawberry/c, and many of my programs/scripts depend on having DB_File available.

Does it hit the same problems as the devel env for expat?


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: Disappointed with latest Strawberry Perl
by syphilis (Archbishop) on Jan 19, 2008 at 13:03 UTC
    Does it hit the same problems as the devel env for expat?

    Biggest problem I can see with Berkeley DB is how to get hold of the source. I just wasted an hour of my life going around in circles trying to register on some maggot of a website so I could get hold of it ... to no avail. This is a totally different problem to the expat problem. (Never had any problem getting hold of the libexpat source.) The expat library builds straight out of the box on Windows in the MSYS shell using MinGW. Once libexpat is built and installed, XML::Parser builds and installs out of the box (as per the instructions in the README).

    My hunch is that Berkeley DB is somewhat less trivial to build than libexpat - but if I can't get hold of the Berkeley DB source, I can't really find out. (There seems to be a Windows msi installer as well. Again you have to work out how to register before you can download it.)

    Cheers,
    Rob

      BerkeleyDB - was SleepyCat - is now owned by Oracle. If you search on "SleepyCat", it's the first hits with Google. Download here, where I see no need to register. Found in a minute, posting this reply took much longer.


      Enjoy, Have FUN! H.Merijn
        Download here, where I see no need to register

        If you try to download any of the items on that page you *will* see a need to register :-)

        At least, it still does for me. However, part of the problem turns out to be some tricks that IE7 was playing on me, and I've now managed to grab the source.

        No matter whether I try to build it in the MSYS shell or as a cross-compilation for native windows in Cygwin, ../dist/configure terminates with the error:
        checking for socklen_t equivalent... configure: error: Cannot find a t +ype to use in place of socklen_t
        I haven't yet looked very hard for a solution to that.

        Do you already have the Berkeley DB library ? If so, then I would have thought it would not be too difficult to build DB_File using that library and Strawberry Perl. (What errors do you get ?)

        Cheers,
        Rob