Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Installing modules

by slugger415 (Beadle)
on Jun 20, 2013 at 20:15 UTC ( #1040023=note: print w/ replies, xml ) Need Help??


in reply to Re: Installing modules
in thread Installing modules

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


Comment on Re^2: Installing modules
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1040023]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-07-24 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls