Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Is my DBI up to date or not?

by silent11 (Vicar)
on Sep 25, 2003 at 13:43 UTC ( #294153=perlquestion: print w/ replies, xml ) Need Help??
silent11 has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to build the everything engine on a clean box. I just build perl and I've been installing the required modules... Well I download Msql-Mysql-modules from everydevel's modules directory and when I perl Makefile.PL I get a warning saying that I need version XYZ of DBI or later to install the module... So I use CPAN.pm to install DBI. It tells me that DBI is up to date.

So is CPAN.pm on crack? Or is Msql-Mysql-modules to blame? Has anyone had this problem before?

Below is *exactly* the errors I'm recieving. Thanks.

[root@japh Msql-Mysql-modules-1.2018]# perl Makefile.PL Checking for DBI, 0.93 or later ... You don't have installed the DBI module, version 0.93 or later. I cann +ot continue installing the Msql-Mysql modules. Checking for Data::Dumper ... ok Checking for Data::ShowTable ... ok Missing modules are available from any CPAN mirror, for example ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module [root@japh Msql-Mysql-modules-1.2018]# perl -MCPAN -e 'install DBI' CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 24 Sep 2003 07:46:54 GMT DBI is up to date. [root@japh Msql-Mysql-modules-1.2018]#


-silent11

Comment on Is my DBI up to date or not?
Select or Download Code
Re: Is my DBI up to date or not?
by Abigail-II (Bishop) on Sep 25, 2003 at 13:51 UTC
    What's the output of 'm DBI' in the CPAN shell?

    Abigail

Re: Is my DBI up to date or not?
by jdtoronto (Prior) on Sep 25, 2003 at 14:09 UTC
    Which raises the question of why are you using the msql-mysql module? If you are planning on using MySQL the DBD::mysql module is to be preffered.

    jdtoronto

    updated Corrected spelling of module name. Thanks gmax!

    <added> After replying I wondered if you were using msql - I checked and the website for that product http://www.hughes.com.au seems to be unreachable. Maybe if you tell us what you are trying to achieve, on which platform and with which version of Perl we can offer some advice. The msql-mysql module you referred to has not been maintained in about three years and is relying on DBI version 0.93, currently DBI is at v1.38.

    updated I had a prowel around the everything site. Several people describing their installation experiences talk about downloading all the mopdules from CPAN and having no troubles. The msql-mysql-modules package has been upgraded and is now at version 1.2219 - you may want to try that. Or, as others have described, install the latest DBI from CPAN and then add the latest DBD::mysql.

      ... why are you using the msql-mysql module?
      perhaps I don't need Msql-mysql, I was just installing the modules described on this page.

      -silent11
Re: Is my DBI up to date or not?
by chromatic (Archbishop) on Sep 25, 2003 at 16:53 UTC

    Alternate, Everything-specific solution: check out the latest version from CVS and install Bundle::Everything.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://294153]
Approved by dorko
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-08-30 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls