I'm attempting an install of the DBD-mysql module off of CPAN. I'm using perl 5.8 (thanks to another unintentional CPAN upgrade). I've loaded DBI successfully and installed mysql successfully. My OS is RH 7.3 If you're so inclined, please take a look at the error listing below.

CPAN.pm: Going to build J/JW/JWIED/DBD-mysql-2.1017.tar.gz Can't exec "mysql_config": No such file or directory at Makefile.PL li +ne 169. readline() on closed filehandle main::PIPE at Makefile.PL line 171. Can't exec "mysql_config": No such file or directory at Makefile.PL li +ne 169. readline() on closed filehandle main::PIPE at Makefile.PL line 171. Can't exec "mysql_config": No such file or directory at Makefile.PL li +ne 169. readline() on closed filehandle main::PIPE at Makefile.PL line 171. Can't exec "mysql_config": No such file or directory at Makefile.PL li +ne 169. readline() on closed filehandle main::PIPE at Makefile.PL line 171. Can't exec "mysql_config": No such file or directory at Makefile.PL li +ne 169. readline() on closed filehandle main::PIPE at Makefile.PL line 171. Failed to determine directory of mysql.h. Use perl Makefile.PL --cflags=-I<dir> to set this directory. For details see the INSTALL.html file, section "C Compiler flags" or type perl Makefile.PL --help Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install
Thanks in Advance!
Dave
Code On!

In reply to Problems installing DBD::mysql by dthacker

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.