Hi, I have installed Strawberry Perl on Win7 and still have not been able to install DBD::JDBC.

Has anyone successfully installed this on Windows XP or Win7? I even tried installing 'make' for Windows and got some other weird errors when trying to install the module manually.

Checking if your kit is complete... Looks good Using DBI 1.622 (for perl 5.016002 on MSWin32-x86-multi-thread) instal +led in C:/ strawberry/perl/vendor/lib/auto/DBI/ Writing Makefile for DBD::JDBC Writing MYMETA.yml and MYMETA.json cp JDBC.pod blib\lib\DBD\JDBC.pod cp JDBC.pm blib\lib\DBD\JDBC.pm cp lib/Bundle/DBD/JDBC.pm blib\lib\Bundle\DBD\JDBC.pm VIZDOM/DBD-JDBC-0.71.tar.gz C:\strawberry\c\bin\dmake.exe -- OK Running make test set CLASSPATH=dbd_jdbc.jar;t/hsqldb/hsqldb-1.8.0.2.jar;t/hsqldb/log4j- +1.2.13.jar ; C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib\lib', 'blib\arch')" t/*.t t/01_env.t ...... ok t/02_connect.t .. 1/5 Exception in thread "main" java.lang.NoClassDefF +oundError: com.vizdom.dbd.jdbc.Server Caused by: java.lang.ClassNotFoundException: com.vizdom.dbd.jdbc.Serve +r at java.net.URLClassLoader.findClass(URLClassLoader.java:434) at java.lang.ClassLoader.loadClass(ClassLoader.java:660) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:35 +8) at java.lang.ClassLoader.loadClass(ClassLoader.java:626) Could not find the main class: com.vizdom.dbd.jdbc.Server. Program wi +ll exit. t/02_connect.t .. 3/5 # Failed test 'connected' # at t/02_connect.t line 40. # Connection error: Failed to open socket to server: IO::Socket::INET: + connect: No connection could be made because the target machine actively refuse +d it. # Looks like you failed 1 test of 5. t/02_connect.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests (less 2 skipped subtests: 2 okay) t/03_hsqldb.t ... 1/22 Exception in thread "main" java.lang.NoClassDef +FoundError : com.vizdom.dbd.jdbc.Server Caused by: java.lang.ClassNotFoundException: com.vizdom.dbd.jdbc.Serve +r at java.net.URLClassLoader.findClass(URLClassLoader.java:434) at java.lang.ClassLoader.loadClass(ClassLoader.java:660) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:35 +8) at java.lang.ClassLoader.loadClass(ClassLoader.java:626) Could not find the main class: com.vizdom.dbd.jdbc.Server. Program wi +ll exit. t/03_hsqldb.t ... 2/22 # Failed test 'connected' # at t/03_hsqldb.t line 34. # Connection error: Failed to open socket to server: IO::Socket::INET: + connect: No connection could be made because the target machine actively refuse +d it. # Looks like you failed 1 test of 22. # Looks like your test exited with 1 just after 22. t/03_hsqldb.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/22 subtests (less 20 skipped subtests: 1 okay) t/basis.t ....... skipped: BASIS URL not defined t/oracle.t ...... skipped: Oracle URL not defined Test Summary Report ------------------- t/02_connect.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 3 Non-zero exit status: 1 t/03_hsqldb.t (Wstat: 256 Tests: 22 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=5, Tests=32, 9 wallclock secs ( 0.06 usr + 0.01 sys = 0.08 CP +U) Result: FAIL Failed 2/5 test programs. 2/32 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' VIZDOM/DBD-JDBC-0.71.tar.gz C:\strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports VIZDOM/DBD-JDBC-0.71.tar.gz Running make install make test had returned bad status, won't install without force Stopping: 'install' failed for 'DBD::JDBC'. Failed during this command: VIZDOM/DBD-JDBC-0.71.tar.gz : make_test NO

In reply to Re^2: Installing modules by slugger415
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.