in reply to PPM/CPAN connection issues

I am using ActiveState Perl 5.12.4
If you working with an ActiveState installation, I would not use the cpan shell unless you have to.

Depending upon the module, ActiveState may have done a lot of work past what you would get with cpan (that is definitely true on Windows!). If they have a pre-built installation (which may include binary code .so's, .dll's), use it!

It appears that there is a proxy issue here and they can be hard to resolve. The easy thing to do for a module in the Active State repository is to download the .ppd file. Then use the command line version of ppm (perl package manager) to install it. Type ppm ? at the command prompt to learn how.

Also note that there are multiple .ppd repositories. Active State has a big one, but it is just one of many. Not everything that is available as a .ppd is available as a .ppd on the Active State repository. There is a package on the Active State site that their ppm program uses which will tell you these other "well known" sites - mainly Canadian.

Replies are listed 'Best First'.
Re^2: PPM/CPAN connection issues
by technojosh (Priest) on Aug 19, 2011 at 14:24 UTC
    I tried the CPAN shell after PPM gave me the issue. I just thought the errors from CPAN were more helpful to post here...

    I will try the .ppd idea. I downloaded the .ppd I want, along with the corresponding .gz file.

    Update: This solution worked! Many thanks! (I ended up in a wormhole of dependency installations, but after 7 or so were fixed using the .ppd install method...) I got the module I wanted installed and a simple test works!

      The below link worked. Thanks http://docs.activestate.com/activeperl/5.6/faq/ActivePerl-faq2.html#ppm_and_proxies
      Hi, I have exactly the same problem with the same libraries (File::Slurp & JSON:XS to install) I tried by ppm first then cpan with the same errors I've download the .ppd file on "www.cpan.org" Could you describe what you've done for the installation? Command lines and dependencies to install?