Please bottom post.

> Wiggins, 
> 
> 
> This is the error i get trying installing the package
> :
> 
> 
> [EMAIL PROTECTED] root]# perl -MCPAN -e shell
> 
> cpan shell -- CPAN exploration and modules
> installation (v1.61)
> ReadLine support available (try 'install
> Bundle::CPAN')
> 
> cpan> install DBD::mysql

<snip usual CPAN junk and warnings from tar>

> 
>   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.

The above is your first problem. MySQL comes with a program that helps
make determine settings for where to find mysql specific files, such as
headers and libs, etc.  That program needs to be installed and in your
path, usually /usr/bin/mysql_config.  The program is supplied in either
the MySQL client package or the MySQL-devel package, I am not sure
which. I have the following two packages installed:

mysql-3.23.58-1.9
mysql-devel-3.23.58-1.9

The second is almost for sure required to build the Perl module, the
first may be.  

> 
> 
> [EMAIL PROTECTED] root]# rpm -qa | grep -i 'perl' | grep -i
> 'mysql'
> [EMAIL PROTECTED] root]# rpm -q --provides
> perl-DBD-MySQL-2.1021-3
> package perl-DBD-MySQL-2.1021-3 is not installed
> 

Right the above indicates you do not have the Perl MySQL module rpm
installed. This is really an either/or strategy, you can install either
the RPM or from CPAN.  I suspect that installing the above will require
either the mysql-devel or mysql client rpms previously mentioned.

http://danconia.org

--
Boycott the Sugar Bowl! You couldn't pay me to watch that game.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to