I ran your command and it is using DBI. Now I am getting this error after setting the DB2_HOME env.

export DB2_HOME=/opt/IBM/db2/V9.7

perl Makefile.PL

hello1hello1 (echo commands added)

Configuring DBD::DB2... Remember to actually read the README and CAVEATS files!

Using DB2 in "/opt/IBM/db2/V9.7" System: perl5.008008 DBI1.616 aix akash79 3 5 00011a85d600 aix-thread-multi dl_aix.xs Compiler: cc_r -O -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong Includes: -I"/opt/IBM/db2/V9.7/include" -I"/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi/auto/DBI" -I"/usr/opt/perl5/lib/5.8.8/aix-thread-multi/auto/DBI" -I"/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi/auto/DBI" Libraries: -L/opt/IBM/db2/V9.7/lib64 -ldb2

Undefined subroutine &main::WriteMakefile called at Makefile.PL line 164.

So here is line 164 in Makefile.pl

WriteMakefile(%opts);

So what do I do?


In reply to Re^2: dbd:db2 module by perljohnsmith
in thread dbd:db2 module by perljohnsmith

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.