Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Connect to DB2 Database with Perl DBI in Windows 7

by 1nickt (Canon)
on Aug 17, 2015 at 20:04 UTC ( [id://1138926]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Connect to DB2 Database with Perl DBI in Windows 7
in thread Connect to DB2 Database with Perl DBI in Windows 7

See this issue report, which suggests that the problem is because the code doesn't compile with the gcc bundled with Strawberry Perl.

I believe that the core issue is gcc compiler support under Windows. T +here is a history here... that shows that in 2010, a patch was contributed +for DBD::DB2 1.78 for gcc on Windows. DBD::DB2 1.85, the current versio +n on CPAN, doesn't include this patch (or it no longer works).
The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^4: Connect to DB2 Database with Perl DBI in Windows 7
by afoken (Chancellor) on Aug 18, 2015 at 18:05 UTC
    See this issue report, which suggests that the problem is because the code doesn't compile with the gcc bundled with Strawberry Perl.

    Should all attempts to compile DBD::DB2 fail, consider installing an ODBC driver for DB2 and use DBD::ODBC instead.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re^4: Connect to DB2 Database with Perl DBI in Windows 7
by concerto5 (Novice) on Aug 17, 2015 at 20:29 UTC
    Thanks for all the help everyone. Will research what you've given me thus far and report back with any additional info.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1138926]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found