in reply to Re: DBD::DB2 with ActiveState Perl 5.12 on Windows
in thread DBD::DB2 with ActiveState Perl 5.12 on Windows

http://kobesearch.cpan.org/dist/DBD-DB2 lists http://cpan.uwinnipeg.ca/PPMPackages/10xx/ and http://theoryx5.uwinnipeg.ca/ppms
  • Comment on Re^2: DBD::DB2 with ActiveState Perl 5.12 on Windows

Replies are listed 'Best First'.
Re^3: DBD::DB2 with ActiveState Perl 5.12 on Windows
by syphilis (Archbishop) on Feb 04, 2011 at 08:56 UTC
    Hmmm ... I did check the kobes repo ... perhaps the 5.6 repo by mistake.

    Anyway, seems that DBD-DB2-1.79 is available for both 5.8 and 5.10 ... and there would no doubt very soon be a DBD-DB2 ppm package for 5.12 at http://cpan.uwinnipeg.ca/PPMPackages/12xx/ had not Randy passed away in the latter part of last year.

    It should, of course, still be possible to build (for perl 5.12) that version of DBD::DB2 against whichever version of DB2 it was that Randy had.

    Unfortunately, it seems to me that they want money for their oh-so-precious library ... and I'm certainly not prepared to fork out for a copy.
    However, if the OP has a copy of that library, then I'm sure I/we can help out as regards getting DBD::DB2 built. We just need more information on the OP's problem.
    What did 'perl Makefile.PL' output ?

    Also, since we know that 1.79 builds on Windows, it's probably best to concentrate on getting that version built

    Cheers,
    Rob

      There appears to be a "truly free" version available. You can even bypass the signin (though you still have to provide minimal details).

      I successfully started a (html) download, though it was coming through in fits and starts, variously telling me that it would take 35 minutes or 11 days, so I cancelled it. I was going to check inside to make sure it had the required libs and dlls, but I'm not going to wait 11 days to find out :)

      Maybe the DB2 addins for Visual Studio (32MB) are all that would be needed?


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        variously telling me that it would take 35 minutes or 11 days ... [snip] ... but I'm not going to wait 11 days to find out

        Aaah ... ever the pessimist.

        Maybe the DB2 addins for Visual Studio (32MB) are all that would be needed?

        Aaah ... ever the optimist.
        ;-)

        I'll start with the 32MB download and see how it goes.

        Cheers,
        Rob

      Here is the Makefile.PL output with Perl 5.8 but the same unsatisfiing results:

      C:\TEMP\DBD-DB2-1.79>perl Makefile.PL Configuring DBD::DB2... Remember to actually read the README and CAVEATS files! Using DB2 in "C:/PROGRA~1/IBM/SQLLIB" System: perl5.008008 DBI1.609 MSWin32-x86-multi-thread dl_win32.xs Compiler: cl -MD -Zi -DNDEBUG -O1 -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 + -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUS +E_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PER +LIO -DPERL_MSVCRT_READFIX Includes: -I"C:/PROGRA~1/IBM/SQLLIB/include" -I"C:\Perl\site\lib/auto +/DBI" -I"C:\Perl\lib/auto/DBI" -I"C:\Perl\site\lib/auto/DBI" Libraries: -L"C:/PROGRA~1/IBM/SQLLIB/lib" db2cli.lib db2api.lib -L"C:/ +Programme/Microsoft Visual Studio 8/VC/LIB" -L"C:/Programme/Microsoft + Visual Studio 8/VC/PlatformSDK/lib" -L"C:/Programme/Microsoft Visual + Studio 8/SDK/v2.0/lib" -L"R:/Online-Entwicklung/SW-Architektur/Laufw +erk-i/C_LBSDB5/libnt" Checking if your kit is complete... Looks good Checking if your kit is complete... Looks good Writing Makefile for DBD::DB2::Constants Writing Makefile for DBD::DB2 C:\TEMP\DBD-DB2-1.79>

      That looks fine for me, all paths are correct and the DB2 libs and incs are found.

      And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
      (Terry Pratchett, Small Gods)

Re^3: DBD::DB2 with ActiveState Perl 5.12 on Windows
by Anonymous Monk on Jul 12, 2011 at 16:52 UTC
    for ActiveState perl 5.12 - ppm install http://www.bribes.org/perl/ppm/DBD-DB2.ppd