CC: | mst [...] shadowcat.co.uk |
Subject: | META.yml misses DBI as configure_requires |
perl Makefile.PL fails with:
CPAN Terminal> i DBD::Oracle
Installing DBD::Oracle (1.24)
Running [/usr/bin/perl /usr/bin/cpanp-run-perl
/root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL]...
Can't locate DBI.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at
/root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21.
BEGIN failed--compilation aborted at
/root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21.
[ERROR] Could not run '/usr/bin/perl Makefile.PL': Can't locate DBI.pm
in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
/root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21.
BEGIN failed--compilation aborted at
/root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21.
adding
configure_requires:
DBI: 1.51
should fix this.
Note that I used the same DBI version as the required one, maybe an even
older one can be used for configure (if that makes sense).