Subject: | Fails to Build if DBD::SQLite is unavailable |
Hi:
So, this is pretty much a release-critical issue, though an easy-to-fix
one. It seems the package won't build unless DBD::SQLite is available,
but it's not required (according to META.yml):
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.92)
- Cache::FileCache ...loaded. (0)
- DBIx::Class ...loaded. (0.08108 >= 0.08004)
- Digest::SHA1 ...loaded. (2.12)
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/simple.t
DBIx::Class::Storage::DBI::dbh(): DBI Connection failed:
install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC
contains:
/build/jon-libdbix-class-cursor-cached-perl_1.0.1-1-i386-RbqxQK/libdbix-class-cursor-cached-perl-1.0.1/inc
/build/jon-libdbix-class-cursor-cached-perl_1.0.1-1-i386-RbqxQK/libdbix-class-cursor-cached-perl-1.0.1/blib/lib
/build/jon-libdbix-class-cursor-cached-perl_1.0.1-1-i386-RbqxQK/libdbix-class-cursor-cached-perl-1.0.1/blib/arch
/etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at (eval 159) line 3.
Perhaps the DBD::SQLite perl module hasn't been fully installed,
or perhaps the capitalisation of 'SQLite' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 865
# Looks like your test exited with 2 before it could output anything.
t/simple.t ..
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
I'm sure the fix is as simple as requiring "DBD::SQLite" in META.yml.
Cheers,
Jonathan