PDA

View Full Version : Problem in installing DBI?


johny
07-10-2003, 07:45 AM
Hi, all:

Now I want to install Perl DBI support for MySQL.

I first typed "ppm" in the command prompt, and thereafter typed "install DBI" at the PPM prompt, but got the following response:

Error installing package 'DBI': Could not locate a PPD file for package DBI.

what does the error mean?

anyone has had the same experience?

any solution?

(my OS is WinNT4.0, my perl version is ActivePerl 5.6.1, build 628)

thanks,

johny
07-10-2003, 11:43 AM
Probably this is due to the firewall or http proxy setting.
We can set the http proxy to let PPM search the PPM package server, or
alternatively, we can dl the package to local disk, and install them manually:

1. URL to get these packages:
http://www.activestate.com/PPMPackages/zips/6xx-builds-only/

2. install method:
extract the zip file to a specific folder, say "d:\tmp\". then in this folder,
run the command "ppm install XXX.ppd", where "XXX" stands for a specific PPM package name.
for example, after extract DBI.zip to the folder "d:\tmp\", open a dos box,
Your_Current_Path> cd d:\tmp\
d:\tmp> ppm install DBI.ppd

Btw, another package to support MySQL is DBD-mysql.