<p>I'm trying to install <a href="http://www.maatkit.org/" rel="nofollow noreferrer">Maatkit</a> following <a href="http://maatkit.sourceforge.net/doc/maatkit.html#installation" rel="nofollow noreferrer">the maatkit  instructions</a>. I can't get past having to install DBD::mysql. "Warning: prerequisite DBD::mysql 1 not found."
When I try to install DBD::mysql from cpan, I get very helpful "make had returned bad status, install seems impossible".</p>

<p>Perl is "v5.8.8 built for darwin-thread-multi-2level", the one that came with OS X. I also tried <a href="http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm#INSTALLATION" rel="nofollow noreferrer">building</a> from source with same result.</p>

We need more of the error message. Most likely, you are missing the MySQL client development files. I don't know how to install these on OSX. Also see
this older post on OSX 10.5.2
, in which some other failures with the mysql client libraries are found.
Possibly post this question with more parts of your error message at
perlmonks.org
, if stackoverflow doesn't allow for convenient pasting of your
```
make
```
session or rather the last 20 or 10 lines of it.
Some more Googling with
```
site:perlmonks.org
```
also finds
this post
which has some more details on things to watch out for when installing DBD::MySQL. Depending on how comfortable you feel with the installation, you might want to manually run the tests, supplying a test database and test user or even skip testing the module.