Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Installing modules

by frozenwithjoy (Priest)
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?

Replies are listed 'Best First'.
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: - some info about PPM & PPM Index - PPM Index: lets you search to see if a specific CPAN module is available via ppm - 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 ( 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!)
Re^2: Installing modules
by dasgar (Priest) 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039487]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-05-25 05:51 GMT
Find Nodes?
    Voting Booth?