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

Hi,
I have tried using ppm to install modules, but get this error:

HTTP POST failed: 500 (Can't connect to www.activestate.com:80 (Ba +d hostname 'www.activestate.com') at C:/Program Files/ejd/perl/si +te/lib/LWP/Protocol/http.pm line 33, <> line 1.), in SOAP method call +. Content of response: at C:/Program Files/ejd/perl/site/lib/PPM +/SOAPClient.pm line 222

It was suggested I try set an Environment Variable to a proxy server, I did this, but get the same error or it times out. So I went to http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/ and downloaded DBI-1.39.zip, unzipped it in a directory called perl/install and followed the instructions in the readme file (ppm install dbi.ppd), whch resulted in the following error:

C:\PROGRA~1\ejd\perl\bin>ppm install dbi.ppd Retrieving package 'dbi.ppd'... Error installing package 'dbi.ppd': Could not locate a PPM binary +of 'dbi.ppd' for this platform

I tried dbi.ppm, moved all the files to per\bin, copied them to the lib and site\lib directories... all to no avail.

What am I doing wrong here?

20031222 Edit by Corion: Added formatting

Replies are listed 'Best First'.
Re: Installing DBI Module
by PodMaster (Abbot) on Dec 23, 2003 at 14:25 UTC
    Error installing package 'dbi.ppd': Could not locate a PPM binary of 'dbi.ppd' for this platform
    That's telling you that you downloaded the wrong zip. Try again.
    I tried dbi.ppm, moved all the files to per\bin, copied them to the lib and site\lib directories... all to no avail.
    Please don't do that. See A guide to installing modules (I don't have PPM, how can I install a package?).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      Thanks - I am definately on the right track with this.
Re: Installing DBI Module
by davido (Cardinal) on Dec 24, 2003 at 00:13 UTC
    I was successful five minutes ago with the following:

    c:\>ppm ppm>install DBI
    ppm>install DBM-SQLite
    ppm>install DBD-SQLite ppm>exit c:\>perl -MDBI -e "1;"

    There were a lot of progress info and success messages in response to each 'install' command. And the 'perl -MDBI...' line is only there to check that the DBI module installed. Basically it was that easy.

    Update: Corrected typo: s/DBM/DBD/. Thanks Anon.


    Dave

      I only get errors when running ppm install...
      DBM-SQLite does not exist ;)
        ... good thing I wasn't trying to install DBM-SQLite ... :-)