DBD-ODBC and DBI install conflict

Posted by rolinger on 2008-08-28 10:00
Forums: PPM | OS: Windows XP Pro

Perl v5.8.8, packaged with DBI v1.58 (Windows XP)

Because I am behind a firewall that prevents PPM communicating w/ repositories, I downloaded DBD-ODBC v1.15 and installed it manually and got the following error:

"ppm install failed: Can't find any package that provide DBI version 1.21 for DBD-ODBC"

I don't understand this error b/c DBI 1.21 is over 6 years old and the DBD-ODBC v1.15 is only about 4 months old....one would think the latest version of DBD-ODBC would work with something more recent than a 6 year old DBI module.

Thoughts, help???

mje | Wed, 2008-09-03 07:54

I would imagine that 1.21 comes from the minimum requirement in the META.YML:

DBI: 1.21
perl: 5.006
# Added build_requires/configure_requires DBI as DBD::ODBC needs DBI::DBD to
# get postamble etc
DBI: 1.21
DBI: 1.21

If you install the latest DBI manually yourself first all should be ok.