Installing DBD::mysql

Installing DBD::mysql

am 05.05.2004 15:01:50 von Phil Ewington - 43 Plc

Hi All,

I am trying to install the DBD::mysql module and am having difficulties. I
want this module purely as it is required for Bugzilla, I have no perl
experience at all, so please bear that in mind with any answers given :o)

# perl -MCPAN -e 'install "DBD::mysql"'
....
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



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

I have copied mysql_config from the mysql install dir (/usr/local/mysql) and
have checked the paths within and they are correct. The libmysqlclient.a and
libmysqlclient.so files are present as well, now I am stuck!!

I have mysql-4.0.18 installed and running correctly with PHP compiled
with --with-mysql=/usr/local/mysql and everything is OK, cannot understand
why I am having so many problems.

Any help will be greatly appreciated.

TIA

Phil.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org