Bruce D. has asked for the wisdom of the Perl Monks concerning the following question:

All,
A coworker gave me two perl scripts that worked fine using Perl v5.6. These scripts use the DBI package. I'm currently using Perl v5.8 and PPM v3.0.1. The readme file indicates that to install the DBI Package type "ppm install DBI.ppd" in the current directory. The following error message is displayed:

C:\Perl\dbi>ppm install DBI.ppd
Error: No valid repositories: Error: 500 Can't connect to ppm.ActiveState.com:80 (connect: Unknown error) at C:/Perl/site/lib/PPM/Repository.pm line 84 Error: 500 Can't connect to ppm-ia.ActiveState.com:80 (connect: Unknown error) at C:/Perl/site/lib/PPM/Repository.pm line 84

C:\Perl\dbi>

The dbi.ppd file and MSWin32-x86-multi-thread-5.8 folder are located at C:\Perl\dbi. Any ideas as to why the local dbi.ppd file is not being installed? Any help is appreciated.

  • Comment on Installation of DBI Module with Perl v5.8.0

Replies are listed 'Best First'.
Re: Installation of DBI Module with Perl v5.8.0
by holli (Abbot) on Mar 16, 2005 at 17:41 UTC
Re: Installation of DBI Module with Perl v5.8.0
by jZed (Prior) on Mar 16, 2005 at 17:47 UTC
    > ppm install DBI.ppd

    That syntax is for installing from a local repository. To install from Activestate, drop the .ppd

Re: Installation of DBI Module with Perl v5.8.0
by shonorio (Hermit) on Mar 16, 2005 at 20:44 UTC
    DBI is found on a standard ActiveState repository, first check (by 'rep') if the 'ActiveState PPM2 Repository' and/or 'ActiveState Package Repository' are configured as repositories on your installation.

    If you need proxy to access the internet, verify the http_proxy variable is configured, or if your proxy require user and password, you nust set this information or configure you proxy to not required authentication for the site 'http://ppm.ActiveState.com'.

    Solli Moreira Honorio
    Sao Paulo - Brazil