Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Installing modules

by frozenwithjoy (Curate)
on Jun 17, 2013 at 23:40 UTC ( #1039487=note: print w/ replies, xml ) Need Help??


in reply to Installing modules

I don't use windows, but on OS X or Linux, I'd write DBD::JDBC, not DBD-JDBC. Does Windows really require you to use a hyphen instead of double colons when installing modules?


Comment on Re: Installing modules
Select or Download Code
Re^2: Installing modules
by dasgar (Deacon) on Jun 18, 2013 at 01:37 UTC

    The PPM utility is trying install from .ppd files. In this case, the DBD::JDBC would have a file name of DBD-JDBC.ppd and the PPM utility would be referring to the module as DBD-JDBC (if I remember correctly). In Windows, you can't use the colon as part of a file or folder name.

Re^2: Installing modules
by zork42 (Monk) on Jun 18, 2013 at 02:13 UTC
    My understanding is that ActiveState's Active Perl 'ppm' installs CPAN modules that have been built/compiled by ActiveState. These compiled modules are stored in a special format in "repositories" which only work with Active Perl. This makes installing modules in Active Perl very easy. However not all CPAN modules are available.

    See:
    http://www.activestate.com/activeperl/ppm-perl-modules - some info about PPM & PPM Index
    http://code.activestate.com/ppm/ - PPM Index: lets you search to see if a specific CPAN module is available via ppm
    http://code.activestate.com/ppm/DBD-JDBC/ - indicates that "DBD-JDBC is unavailable in PPM, because there aren't any builds for it in the package repositories." ie all builds failed as indicated by the red icons.

    I don't see it in the list when running ppm, and "ppm install DBD-JDBC" doesn't find it.

    Explained by 3rd link above.

    I tried adding cpan to the repository list in ppm (http://www.cpan.org) but zero modules are added.

    Thats because CPAN does not provide a repository. CPAN provides modules in the form of source code for all platforms (but you have to build them), while repositories are provide a subset of CPAN's modules pre-built/compiled by ActiveState specifically for Active Perl.

    I'm afraid I don't know about the "authorization required" error.

    See this for some links that might be useful: Perl upgrade JComboBox alternative

    UPDATE: s/are/provide/
      (post moved down to end of comments. I clicked the wrong 'reply' link. Oops!)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (17)
As of 2014-07-24 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls