Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

acme (189)

acme
  (email not shown publicly)
http://www.astray.com/

Leon Brocard (aka acme) is an orange-loving Perl eurohacker with many varied contributions to the Perl community, including the GraphViz module on the CPAN. YAPC::Europe was all his fault. He is still looking for a Perl Monger group he can start which begins with the letter 'D'.

Journal of acme (189)

Saturday July 13, 2002
10:50 AM

More

[ #6327 ]

Ooooh, modules that try and be too clever and try and run CPAN.pm for you to install dependencies instead of using the oh-so-useful-and-that's-what-it-is-there-for PREREQ_PM annoy me too. And all the DBD modules which assume you have DBI installed and die during the Makefile generation otherwise. Bah!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • ...because that is the way the DBD-driver-writers guide recommends to do it.
    The Makefile.PL step needs to know some things that the DBI can tell it. The simplest way is to use DBI; in Makefile.PL.

    Unfortunately that will of course cause it to die unless DBI is installed.

    The proper[tm] way is to install the DBD-Bundle, which would include DBI and other required modules, and thus remove your problem. Several DBD's have bundles, eg CSV, Informix and mysql. Some haven't: Oracle, <blush type="flaming red"

  • Thankfully I haven't come across this yet, but most of my installs come from CPAN to PC HD to FD to Laptop HD to install. Anything that doesn't tell me it's dependancy beforehand isn't going to make me very happy on the way to work/home on the 63 bus route.

    I have to say that the YAPC::Europe 2001 CD has come in very hand on a couple of occasions though :)

    At the very least though, the make should have the decent to ask whether you want to connect to CPAN or not.