http://www.perlmonks.org?node_id=189363

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

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!