earlati2 has asked for the wisdom of the Perl Monks concerning the following question:

I have update my perl on windows with the latest revision of  ActivePerl. 

Now I get v5.8.8 built for MSWin32-x86-multi-thread

I tried to load additional module using ppm or ppm3 but I got the following errors:

E:\ENZO\perl\copiaFtp>ppm3
PPM - Programmer's Package Manager version 3.4.
Copyright (c) 2001 ActiveState Software Inc. All Rights Reserved.

Entering interactive shell. Using Term::ReadLine::Perl as readline library.

Type 'help' to get started.

ppm> search FTP;
Searching in Active Repositories
Error: connect: Unknown error

 

My current repositories are these:

E:\ENZO\perl\copiaFtp>ppm3 repository
Repositories:
1 ActiveState Package Repository
2 BdP

 

E:\ENZO\perl\copiaFtp>ppm3 repository describe 1
Warning: 500 Can't connect to ppm.ActiveState.com:80 (Bad hostname
'ppm.ActiveState.com')
Describing Active Repository 1:
Name: ActiveState Package Repository
Location:
http://ppm.ActiveState.com/PPM/ppmserver-5.8-windows.plex?urn:/PPM/Server/SQL
Type: unsupported

 

E:\ENZO\perl\copiaFtp>ppm3 repository describe 2
Describing Active Repository 2:
Name: BdP
Location: http://www.bribes.org/perl/ppm
Type: Webpage

 

 

With the browser I can read and download the context of http://www.bribes.org/perl/ppm/

What I'm missing ?

  Regards, Enzo Arlati

 

2006-03-28 Retitled by planetscape, as per Monastery guidelines
Original title: 'Load module using ppm'

  • Comment on How to install a new module with ppm3 on perl 5.8 for windows

Replies are listed 'Best First'.
Re: How to install a new module with ppm3 on perl 5.8 for windows
by NetWallah (Canon) on Mar 27, 2006 at 17:02 UTC
    Your first ppm repository, "Activestate Package Repository" appears to be corrupted.

    You can delete and recreate it by

    ppm> rep del 1 ..... ppm> rep add "ActiveState Package Repository" http://ppm.ActiveState +.com/PPM/ppmserver-5.8-windows.plex?urn:/PPM/Server/SQL .. ppm> rep desc 1 Describing Active Repository 1: Name: ActiveState Package Repository Location: http://ppm.ActiveState.com/PPM/ppmserver-5.8-windows.plex?ur +n:/PPM/Server/SQL Type: PPMServer 3.0 ppm>
    If you are running 5.8, the command "ppm" launches ppm3, so they are effectively identical, so you can type one character less for the command.

         "For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken

Re: How to install a new module with ppm3 on perl 5.8 for windows
by hawtin (Prior) on Mar 27, 2006 at 20:28 UTC

    Don't know if this helps but late last year I visited a new location (in a part of the world I don't normally frequent) and had similar messages from PPM.

    It turned out that my hosts had installed some kind of malconfigured proxying firewall which automagically inserted JavaScript blocking code into any HTML it saw. Unfortunately it couldn't tell XML from HTML and hence all communication with PPM was hosed.

    The messages I got were something like what you are seeing. I was only there for a short time, so I never needed to fix it, once I had got home a clean connection allowed me to grab what I needed.

    I proved that the rewrites were happening by tracking the PPM modules and then explictly grabing the XML file. YMMV

      
      I didn't known were the problem really was, also I think some corruptions somewhere.
      At last I removed and then reinstall perl, and now is ok.
      I didn't try the NetWallah suggestion about delete and recreate the repository,
      because I read that suggestion too late, 
      so I didn't know if it it would be enough to solve the problem.
      I'll remember that for the future.
      Thanks anyway.