Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Installing Class::DBI

by impossiblerobot (Deacon)
on Mar 06, 2003 at 15:29 UTC ( [id://240904]=note: print w/replies, xml ) Need Help??


in reply to Installing Class::DBI

Class::DBI appears to be pure Perl, so you should be able to download it from CPAN and install it the "standard way."

See tachyon's excellent A Guide to Installing Modules for more detail.

Update: After Ovid's post, I tried building Class::DBI. Yikes! Even using the CPAN shell, getting Class::DBI installed was a nightmare. Please ignore my suggestion to install it the "standard way" if you value your sanity at all. :-)


Impossible Robot

Replies are listed 'Best First'.
Re: Re: Installing Class::DBI
by Ovid (Cardinal) on Mar 06, 2003 at 15:44 UTC

    Ordinarily, I'd be inclined to agree with you. However, Class::DBI has a huge number of dependencies. From the makefile:

    Class::Accessor => '0.16', Class::Data::Inheritable => '0.02', DBD::CSV => '0.1022', Ima::DBI => '0.26', Test::More => '0.11', File::Temp => '0.12', Class::Trigger => '0.03', UNIVERSAL::exports => '0.03'

    And guess what? Those modules have their own dependencies (such as Class::WhiteHole). Using PPM, CPAN or CPANPLUS is definitely the way to go. I've had to install Class::DBI by hand and it's a royal pain. I understand that the next version of Class::DBI will have fewer dependencies (thank goodness!)

    Cheers,
    Ovid

    New address of my CGI Course.
    Silence is Evil (feel free to copy and distribute widely - note copyright text)

      Thanks, Ovid. I had just looked at the manifest for Class ::DBI and noticed that there were no XS components; I didn't think about the possibility of excessive dependencies. :-)

      Even so, I probably should have mentioned the CPAN shell (which tachyon's guide does mention).


      Impossible Robot

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://240904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-23 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found