with active state, would it be as simple as double clicking on the PPM batch, doing a search on the DBD JDBC module, clicking on install, and installing the module?
No - they don't use PPM any more.
I gather you follow some procedure whereby you request of ActiveState that they provide you with the module you want, and they oblige if they can.
Update: see
https://www.perlmonks.org/?node_id=11145868
With StrawberryPerl you would just run:
cpan -I DBD::JDBC
On my StrawberryPerl-5.32.1 that firstly installs the prerequisite Convert::BER.
But DBD::JDBC fails some tests, so the install is aborted.
Those tests apparently fail because java.exe cannot be found:
t/00-load.t ..... 1/? # Testing DBD::JDBC 0.72, Perl 5.032001, C:\_64\
+strawberry
-5.32.1-PDL\perl\bin\perl.exe
t/00-load.t ..... ok
t/01_env.t ...... ok
t/02_connect.t .. 1/5 Cannot find java.exe in the following directorie
+s:
C:\_64\strawberry-5.32.1-PDL\perl\site\bin
C:\_64\strawberry-5.32.1-PDL\perl\bin
C:\_64\strawberry-5.32.1-PDL\c\bin
C:\Program Files\Common Files\Microsoft Shared\Windows Live
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files (x86)\Intel\iCLS Client\
C:\Program Files\Intel\iCLS Client\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components
+\DAL
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components
+\IPT
C:\batch
C:\Program Files (x86)\Windows Live\Shared
C:\Program Files\dotnet\
Terminating.
# Failed test 'server started'
# at t/02_connect.t line 25.
# Server failed to start; remaining tests will fail
# Looks like you failed 1 test of 5.
t/02_connect.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
(less 3 skipped subtests: 1 okay)
t/03_hsqldb.t ... Cannot find java.exe in the following directories:
C:\_64\strawberry-5.32.1-PDL\perl\site\bin
C:\_64\strawberry-5.32.1-PDL\perl\bin
C:\_64\strawberry-5.32.1-PDL\c\bin
C:\Program Files\Common Files\Microsoft Shared\Windows Live
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files (x86)\Intel\iCLS Client\
C:\Program Files\Intel\iCLS Client\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components
+\DAL
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components
+\IPT
C:\batch
C:\Program Files (x86)\Windows Live\Shared
C:\Program Files\dotnet\
Terminating.
t/03_hsqldb.t ... 1/22
# Failed test 'server started'
# at t/03_hsqldb.t line 24.
# Looks like you failed 1 test of 22.
t/03_hsqldb.t ... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests
(less 21 skipped subtests: 0 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: 2
Non-zero exit status: 1
t/03_hsqldb.t (Wstat: 256 Tests: 22 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=6, Tests=33, 1 wallclock secs ( 0.00 usr + 0.01 sys = 0.01 CP
+U)
Result: FAIL
Failed 2/6 test programs. 2/33 subtests failed.
make.EXE: *** [Makefile:855: test_dynamic] Error 255
VIZDOM/DBD-JDBC-0.72.tar.gz
C:\_32\make\bin\make.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, t
+ry:
reports VIZDOM/DBD-JDBC-0.72.tar.gz
However, if I decide that I'm not concerned about those failures I can install DBD::JDBC by instead running:
cpan -fi DBD::JDBC
The tests still fail, of course, but the module is installed anyway.
I expect that ActiveState would experience the very same test failures with their building of DBD::JDBC - unless, of course, they have a java.exe in one of the locations that is searched.
I don't know how they would respond to that.
Cheers,
Rob
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.