Agreed, the DBIXS.h missing line is the key portent of doom. You are correct that correct installation of DB2 Client Instance is a key prerequisite; DBI is the other. Did you already install DBI? from source kit? Is DBI source's Include dir on your INCLUDE path? Did DBI pass it's "make test"? What platform and compiler?
You have to use the same compiler Perl itself was built with to build DBI and DBD::* -- they're C-source extensions. Remember that since the DBI and DBD::whatever are extension modules, they need to be built with the exact same C compiler & settings & library as your Perl was built. (For DBD modules the precise match is more critical than for many source modules.) This often requires building all of Perl to be sure, and using the Perl you built to make-make the DBI and DBD. Sometimes dumping the config settings can sometimes be sufficient, but general advice from Tim Bunce's website on DBI is to build your own perl from sources before building DBI from sources before building your DBD::whichever from sources.
-- Bill_N1VUX
as Anonymous Monk because work browser won't hold cookies, or the firewall is messing with me again.
Resources
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.