in reply to Can't install DBD::DB2 module

I highly suspect that IBM only tested that with the Sun-provided compiler and not with gcc. (IBM writes/maintains that driver with a developer who is paid to do so as one of his regular duties. So of course, he uses exactly what IBM uses for compiling DB2 for all his testing.)

You may actually be best off, if possible, with using the Sun compiler. If that is not possible, you may want to try to contact IBM with your question (assuming you have a support contract with them) - you might be able to get them to officially support gcc on Solaris.

Replies are listed 'Best First'.
Re^2: Can't install DBD::DB2 module
by dazzle (Sexton) on Jan 29, 2005 at 00:25 UTC
    Mmm, it's unlikely that IBM will up and support a compiler for a single customer (unless you have a whole lot of money). The likely response you would get is "gcc is not supported on Sun; please use one of the supported compilers." (Both the Forte and Sun ONE Studio compilers are supported: DB2 supported development software, but Tanktalus is probably correct in that only the default Sun compiler is probably tested with DBD::DB2.)

    Given the results of Makefile.PL, I'm guessing you built your own version of Perl rather than using the binary version that is supplied with Solaris. Veering away from the standard binary version makes it almost impossible for IBM to offer support, given the vast number of combinations they would have to be able to reproduce.

    So my suggestion would be to revert to the version of Perl that comes with Solaris and try rebuilding DBI and DBD::DB2.

    Failing that, you may have to rebuild Perl itself--but this time, try using the Sun compiler.

    (Another resource to consider is the dbi-users mailing list at dbi-users@perl.org -- there are sure to be other people who have run into the same situation as you.)