Hi! I'm trying to install the perl module "DBD:mysql" on Mac OS X 10.2. MySQL is installed at /Library/MySQL.

When I run "perl Makefile.PL", i get this error message:

--- Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
--- readline() on closed filehandle main::PIPE at Makefile.PL line 171.

When I look on those lines, this is the code it's choking at:

168 # First try mysql_config
169 open(PIPE, "mysql_config --$param |");
170 my $str = "";
171 while (defined(my $line = <PIPE>)) {
172 $str .= $line;

I don't know what flags to use or how to fix this problem. Any advice?

Reply via email to