There is no doubt about it, you downloaded the wrong ppm binary.
Look for ppm.xml in `perl -V:archlib'.
Open it.
Read it.
Look for "mysql".
On my perl5.6 it looks something like
<PACKAGE NAME="DBD-Mysql">
<LOCATION>http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/
+PPMServer</LOCATION>
<INSTPACKLIST>C:\Perl\site\lib\auto\DBD\Mysql\.packlist</INSTPACKL
+IST>
<INSTROOT>C:\Perl</INSTROOT>
<INSTDATE>Fri Sep 6 03:20:14 2002</INSTDATE>
<INSTPPD>
<SOFTPKG NAME="DBD-Mysql" VERSION="1,2200,0,0">
<IMPLEMENTATION>
<CODEBASE HREF="http://ppm.ActiveState.com/PPMPackages/5.6plus/MSW
+in32-x86-multi-thread/DBD-Mysql.tar.gz" />
<DEPENDENCY NAME="DBI" VERSION="1,08,0,0" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
<OS NAME="MSWin32" />
</IMPLEMENTATION>
<ABSTRACT>DBI driver for Mysql datasources</ABSTRACT>
<TITLE>DBD-Mysql</TITLE>
<AUTHOR>Jochen Wiedmann (joe@ispsoft.de)</AUTHOR>
</SOFTPKG>
</INSTPPD>
</PACKAGE>
on my 5.8 activeperl it looks like
<PACKAGE NAME="DBD-mysql">
<LOCATION>http://crazyinsomniac.perlmonk.org/perl/ppm/5.8</LOCATIO
+N>
<INSTPACKLIST>G:\Perl\site\lib\auto\DBD\mysql\.packlist</INSTPACKL
+IST>
<INSTROOT>G:\Perl</INSTROOT>
<INSTDATE>Mon Mar 3 05:58:52 2003</INSTDATE>
<INSTPPD>
<SOFTPKG NAME="DBD-mysql" VERSION="2,1022,0,0">
<TITLE>DBD-mysql</TITLE>
<ABSTRACT>A MySQL driver for the Perl5 Database Interface (DBI)</A
+BSTRACT>
<AUTHOR>Jochen Wiedmann <joe@ispsoft.de></AUTHOR>
<IMPLEMENTATION>
<DEPENDENCY NAME="DBI" VERSION="1,08,0,0" />
<DEPENDENCY NAME="Data-Dumper" VERSION="0,0,0,0" />
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
<CODEBASE HREF="DBD-mysql-2.1022.tar.gz" />
</IMPLEMENTATION>
</SOFTPKG>
Here's another useful tidbit (you should really learn more about ppm)
ppm> s mysql
Searching in Active Repositories
could not find ParserDetails.ini in G:/Perl/site/lib/XML/SAX
1. DBD-mysql [2.1026] A MySQL driver for the Perl5 Database Interfac
+e (DBI)
ppm> desc 1
====================
Package 1:
Name: DBD-mysql
Version: 2.1026
Author: Jochen Wiedmann <joe@ispsoft.de>
Title: DBD-mysql
Abstract: A MySQL driver for the Perl5 Database Interface (DBI)
Location: crazy
Prerequisites:
1. DBI 1.08
2. Data-Dumper 0.0
Available Platforms:
1. MSWin32-x86-multi-thread
====================
ppm> desc --dump 1
====================
Package 1:
<SOFTPKG NAME="DBD-mysql" VERSION="2,1026,0,0">
<TITLE>DBD-mysql</TITLE>
<ABSTRACT>A MySQL driver for the Perl5 Database Interface (DBI
+)</ABSTRACT>
<AUTHOR>Jochen Wiedmann <joe@ispsoft.de></AUTHOR>
<IMPLEMENTATION>
<DEPENDENCY NAME="DBI" VERSION="1,08,0,0" />
<DEPENDENCY NAME="Data-Dumper" VERSION="0,0,0,0" />
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
<CODEBASE HREF="DBD-mysql-2.1026.tar.gz" />
</IMPLEMENTATION>
</SOFTPKG>
====================
ppm> q
So uninstall DBD-mysql, and then reinstall it, but make sure you're installing the appropriate one (I seriously doubt ActiveState would put up the wrong ppm -- maybe it was my repository that messed you up? I doubt that as well).
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.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.
|
|