Subject: | DBD::mysql make fails to install on Mandrake 9.2 |
When attempting to install DBD::mysql from the perl shell in Mandrake Linux 9.2 I get No such file or directory at Makefile.PL line 174, and readline() on closed filehandle PIPE at Makefile.PL line 176.
This error is identical on MDK 9.2, MDK 9.0, RH 9.0, and Fedora Core1.
Operating Environment Specifics.
This is perl, v5.8.1 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
Operating System Mandrake Linux 9.2 (PowerPack DVD version). Kernel 2.4.22-10mdk.
Hardware AMD Athlon XP 2200+ ECS K7S5A Pro mainboard, Nvidia TNT2 graphics. 40gb WD system drive, 2@120GB RAID1 IBM Deskstar HDD /var/www/html drive.
Apache2, mysql, all apache modules loaded.
Primary purpose, educational webserver. (better I break it at home than on the job).
Command issued.
perl -MCPAN -e shell
install DBD::mysql
Result from commmand.
CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9003.tar.gz
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
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