Hi Robert,

On Wed, Sep 25, 2013 at 2:30 AM, Robert Dodier <robert.dod...@gmail.com>wrote:

> Hi, thanks for the announcement about DBD::mysql 4.024.
> I tried to install it via cpan -i DBD::mysql, which apparently failed due
> to
> failed tests, so I tried it again as cpan -f -i DBD::mysql.
> I get the same messages about failed tests,  and the last
> output message is "install failed". But when I inspect
> perl/site/lib/DBD/mysql.pm, I see that it says $VERSION = '4.024'.
>
> I'm not sure what to think. Was the new version actually
> installed? (Previous was 4.022.) Or is the installation
> mixed up in some way? How can I tell for sure?
>

The reason the tests fail is that for testing DBD::mysql would want to
connect to an actual MySQL server.

You can specify the options on the command line if you'd run 'perl
Makefile.PL'  manually. You can also put the options in a distropref file
and put it in your cpan/prefs directory --> use this as a template:
https://github.com/andk/cpanpm/blob/master/distroprefs/CAPTTOFU.DBD-mysql.yml?source=cc-
that would allow you to install via CPAN directly.

The test failed, but you still installed the driver. DBD::mysql links to
the mysql libraries, but these are shipped with Strawberry (at least since
5.12 or so) so you *should* be fine.

I'm not sure why the cpan client reports that it did not install, if the
file in your site/ directory says 4.024 than it HAS been installed. Can you
repeat that with the latest CPAN?

Hope this helps.
--
Mike

Reply via email to