By default, ActiveState does not include a compiler and compiler tools with their ActivePerl installation. As such, you can only install pure Perl modules from CPAN and not those modules that need to be compiled (such as XS modules).

I'm going to assume that you're using a 32-bit version of ActiveState's ActivePerl. Here's what I would recommend trying. Use the PPM utility to install MinGW and dmake from ActiveState's default repository for your Perl installation. Once you have those installed, you can then install modules from CPAN that need to be compiled. In your case, you should be able to open a command prompt and type cpan install DBD::JDBC to install the DBD::JDBC module.

If you're using a 64-bit version of ActivePerl, that's a bit more complicated and I'm not sure I can really guide you through that process. If you are on a 64-bit Windows XP and really need 64-bit Perl, my personal recommendation would be to move to Strawberry Perl, which comes with a compiler and compiler tools.

UPDATE: Corrected the module name. (s/DBD::ODBC/DBD::JDBC/g)


In reply to Re: Installing modules by dasgar
in thread Installing modules by slugger415

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.