rks has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks!

When installing DBD::mysql package in cpan, am getting the below error. Could anyone help why this is happening and how can I overcome this.

Running make install
make test had returned bad status, won't install without force
Failed during this command:
CAPTTOFU/DBD-mysql-4.021.tar.gz : make_test NO

Thans in advance.
rks

Replies are listed 'Best First'.
Re: Error during DBD::mysql installation
by moritz (Cardinal) on Jul 04, 2012 at 13:44 UTC
      Hi.. thanks for the reply. the error is fixed.. actually i need to export the lib directory..
Re: Error during DBD::mysql installation
by locked_user sundialsvc4 (Abbot) on Jul 05, 2012 at 14:38 UTC

    Nevertheless, please take a moment to bring this thread to closure ... for the benefit of the next person who encounters it.   What was the complete error message (that turned out to be “the needle in the haystack”), and, briefly, how did you recognize the nature of the problem, how did you solve it, and how did you know that the problem was gone?

    Forum threads are an information resource that will be consulted for years to come, by people who are, like you, in a hurry to remove a boulder from their path.   We all rely upon each other.

      I had the same error. It's because the mysql lib version is older. To install updates, do a "yum install mysql-devel" and it fixes the problem. (Tested on CentOS.) Hope that helps..