From: "Lewis Ashley Foster" <[EMAIL PROTECTED]>

>
> I'm trying to get mySQL installed on my machine but im having a bit of
> trouble, obviously :)
>
> When i come to install mySQL server as below:
>
> rpm -ivh MySQL-server-standard-5.0.16-0.rhel3.i386.rpm
>
> I get this result:
>
> warning: MySQL-server-standard-5.0.16-0.rhel3.i386.rpm: V3 DSA signature:
> NOKEY, key ID 5072e1f5
> error: Failed dependencies:
>          perl(DBI) is needed by MySQL-server-standard-5.0.16-0.rhel3
>      Suggested resolutions:
>          perl-DBI-1.32-5.i386.rpm
>
> But I have already installed perl dbi 1.40 like this with no errors:
>
> rpm -ivh perl-DBI-1.40-5.src.rpm
>
> I really cant think how to get round this, unless i downgrade the dbi to
> 1.32 but that seems daft.
>

Hi,

Try this command:

perl -MDBI -e1

If it will tell you that it can't find the  DBI module, this means that DBI
was not properly installed.
If it will give no results, this means that you have the DBI module
installed, so try the following command:

perl -M'DBI 999' -e1

It will give an error telling that you don't have DBI version 999 installed
but only the version ... and here it will tell the version number.

If it is a newer version that the version required by MySQL RPM, then
perhaps there is an error in the format of the version of DBI, or most
probably in the way MySQL checks that version and don't like a newer one.

You have some solutions:

1. Manually edit the file DBI.pm after it is installed on the computer and
write the older version instead. Then install MySQL and then change the
version back in DBI.pm file.
The newer DBI will surely work with MySQL.

2. Install the older version of DBI, install MySQL, then install again the
latest version of DBI module. If rpm doesn't allow you to do this because
you might need to remove the older version of DBI, you can download the
module DBI from search.cpan.org, and compile and install it using:

perl Makefile.pl
make
make test
make install

or use the command:

cpan

(But in this case you will need to answer to some configuration settings)
Then do:

cpan> install DBI

This will download and install the latest version of DBI.

Teddy




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to