I have sucussfully installed DBI-1.30 on my PowerBook G4, however I have some problems when I try "sudo Perl Makefile.PL" for DBD-mysql-2.1020.

I get the following error message in return:

Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle PIPE at Makefile.PL line 171.
I will use the following settings for compiling and testing:

cflags (guessed) = -I/usr/local/mysql/include
libs (guessed) = -L/usr/local/mysql/lib -lmysqlclient -lz -lgz
nocatchstderr (default) = 0
ssl (guessed) = 0
testdb (default) = test
testhost (default) =
testpassword (default) =
testuser (default) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Note (probably harmless): No library found for -lgz
Using DBI 1.30 installed in /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI
Writing Makefile for DBD::mysql

I followed that up with "make test" and get the following response:

cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI -I/usr/local/mysql/include -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.1020\" -DXS_VERSION=\"2.1020\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" dbdimp.c
dbdimp.c: In function 'mysql_db_login':
dbdimp.c:847: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function 'mysql_db_commit':
dbdimp.c:892: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function 'mysql_db_rollback':
dbdimp.c:913: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function 'mysql_db_FETCH_attrib':
dbdimp.c:1160: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1164: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1170: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1177: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1192: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1200: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1205: warning: initialization discards qualifiers from pointer target type
dbdimp.c: In function 'mysql_st_internal_execute':
dbdimp.c:1350: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c:1362: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c:1371: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function 'mysql_st_fetch':
dbdimp.c:1516: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function 'mysql_db_reconnect':
dbdimp.c:2033: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
{standard input}:unknown:FATAL:can't create output file: dbdimp.o
make: *** [dbdimp.o] Error 1


So does anyone have an idea as to what would cause this problem? It seems to be realitively common, but I could not find any threads in where someone replied with the results of "make test".

Thanks!

-Makal