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
| [reply] |