Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing DBD::mysql...

Status
Not open for further replies.

byleth

Programmer
Joined
Feb 27, 2004
Messages
70
Location
PT
hi,


when i try to install DBD::mysql module i got this errors..


[root@cartman for_mysql]# perl -MCPAN -e 'install "DBD::mysql"'
.
.
.
(all works fine, but then..)
.

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

------------------------------------

the file 'mysql_config' doesn't exist so i tried to install the mysql RPM and got this:


[root@cartman for_mysql]# rpm -i mysql-3.23.54a-11.i386.rpm
error: Failed dependencies:
perl(DBI) is needed by mysql-3.23.54a-11
perl-DBD-MySQL is needed by mysql-3.23.54a-11
perl-DBI is needed by mysql-3.23.54a-11

---------------------------------------------

i'm using RedHat Fedora



thanks












 
Never mind, i've solved the problem with up2date..

tx anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top