Using DBI

Gervase Markham gerv at
Sat Jan 18 13:50:36 UTC 2003

Bradley Baetz wrote:
> (You need to
> update DBI/DBD::mysql for this to work. checksetup should pick that up,
> though)

DBI would not install in Perl 5.6.1 without Time::HiRes. Is that an 
additional dependency?

> - Use the DBI helper functions. They're easier to write, clearer to
> understand, and some of them are written in XS (ie C) which makes them
> faster. (Postgres doesn't use the C version, and you must have compiled
> your DBD:: driver _after_ installing the updated DBI for the C version
> to be used)

Currently, if you don't have the right versions of both these, you get:
Bugzilla requires some Perl modules which are either missing from your
system, or the version on your system is too old.
They can be installed by running (as root) the following:
    perl -MCPAN -e 'install "DBD::mysql"'
    Minimum version required: 2.1010
    perl -MCPAN -e 'install "DBI"'
    Minimum version required: 1.32

If DBI should be installed before DBD, should we reverse the order of 
these messages?


More information about the developers mailing list