DBD::mysqll在XP下怎么安装?

DBD::mysqll在XP下怎么安装?

DBD::mysqll在XP下怎么安装?
我用PPM安装了,但是测试的时候就是不行,而且写了个脚本测试DBI的driver时,没有mysql,有CSV,DBM,EXAMPLEP,file,gofer等,就是没有mysql,是怎么回事呢??
帖代码...
同时把错误信息也帖出来...
是这样的,
ppm>intall DBI
no missing package to install
ppm>install DBD::mysql
no missing packges to install

然后我就运行一个程序,他给我的报错是:
install_driver(mysql) failed:can't locate DBD/mysql.pm in @ING(@ING contains: c:/perl/site/lib c:/perl/lib .) at (eval 4) line 3.
perhaps the DBD::mysql perl module has not been fully installed, or perhaps the capitalisation of 'mysql' is not right.
available drivers: CSV ,DBM,ExampleP,File,Gofer,Proxy,RAM,SQLite,Sponge.
at E:\perl_dbi_test_code\queries.pl line 10
我不知道怎么查那个东西到底算怎么安上了?为什么ppm的时候没有报错。
说明:我的perl 是activeperl 10, DBI-1.602,mysql-5.0.45-win-src.tar,DBD-mysql-4.006.tar


QUOTE:
原帖由 huangruir 于 2008-3-7 00:18 发表
是这样的,
ppm>intall DBI
no missing package to install
ppm>install DBD::mysql
no missing packges to install

然后我就运行一个程序,他给我的报错是:
install_driver(mysql) failed:can't loca ...

很明显,ppm不是提示了吗,你没有安装上去。


http://theoryx5.uwinnipeg.ca/ppms/

Packages in this directory may be installed by giving the following command at a DOS prompt:

C:\>ppm install http://theoryx5.uwinnipeg.ca/ppms/package.ppd

where package.ppd is the name of the package listed below (with a .ppd extension added). Alternatively, you can add repositories to the ppm utility (see the help facility within the ppm shell for the syntax of how to do so); doing this allows you to search for and install packages within the ppm shell using the syntax:

  ppm> search something
  ppm> install Some-Package
谢谢你的帮助。由于我的是perl10,我运行了DOS命令:
C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/package.ppd
结果是:
ppm.bat install failed: no ppd found at http://cpan.uwinnipeg.ca/ppmpackage/10xx/package.ppd
这是怎么回事呢??


QUOTE:
原帖由 huangruir 于 2008-3-7 18:17 发表
谢谢你的帮助。由于我的是perl10,我运行了DOS命令:
C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/package.ppd
结果是:
ppm.bat install failed: no ppd found at http://cpan.uwinnipeg.ca ...

C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/DBD-mysql.ppd

谢谢仁兄咯,我现在装上了dbd:mysql。
那要是安装DBI怎么写命令啊?
不好意思,我刚入门,dos命令还不是很清楚。
谢谢
用5.6
good
收益飞溅