cannot install innotop: cpan> install DBD::mysql Can't exec "mysql_config": No such file or directory at Makefile.PL line 82
Posted by:
c p
Date: August 27, 2010 09:52AM
Hi I need some help to figure out why I cant install DBD::mysql. Any help would be greatly appreciated. I tried yum install of mysql-devel but this resulted in a conflict with my MYSQL install.
Here's the problem:
Server version: 5.1.49-community MySQL Community Server (GPL)
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
cpan[3]> install DBD::mysql
CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.017.tar.gz
Can't exec "mysql_config": No such file or directory at Makefile.PL line 82.
Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
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
Warning: No success on command[/usr/bin/perl Makefile.PL]
CAPTTOFU/DBD-mysql-4.017.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
CAPTTOFU/DBD-mysql-4.017.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL'
returned status 512
Subject
Written By
Posted
cannot install innotop: cpan> install DBD::mysql Can't exec "mysql_config": No such file or directory at Makefile.PL line 82
August 27, 2010 09:52AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.