Subject: | Install failure from missing module |
Just tried this today:
Show quoted text
> cpanm DBIx::Migration::Directories
Installation died in the middle because DBD::SQLite2 wasn't installed. If it's going to be the default testing option, maybe we should check for it?
Installing DBD::SQLite2 made the problem disappear, so yay for that.
Relevant portion of the build log:
Checking optional features...
Pg.........disabled
requires:
! DBD::Pg is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Where should database schemas be installed? [/home/blaabs/perl5/share/schemas ]/home/blaabs/perl5/share/schemas
Do you want to run the MySQL tests? (y/n) [n ]n
Do you want to run the SQLite2 tests? (y/n) [y ]y
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'DBIx-Migration-Directories' version '0.12'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Pod::Usage 1 ... Yes (1.63)
Checking if you have DBI 1.41 ... Yes (1.634)
Checking if you have File::Basename::Object 0.01 ... Yes (0.01)
Checking if you have Data::Dumper 2.10 ... Yes (2.151_01)
Checking if you have DBIx::Transaction 0.005 ... Yes (1.100)
Checking if you have Module::Build 0.27_03 ... Yes (0.4214)
Building and testing DBIx-Migration-Directories-0.12
Building DBIx-Migration-Directories
# Schema version is 0.03
t/01_class.t ........... ok
t/03_config_data.t ..... ok
t/05_migration_path.t .. ok
t/10_dir_sql.t ......... ok
Can't locate DBD/SQLite2.pm in @INC (you may need to install the DBD::SQLite2 module) (@INC contains: t/tlib /usr/home/blaabs/.cpanm/work/1461274890.24191/DBIx-Migration-Directories-0.12/blib/lib /usr/home/blaabs/.cpanm/work/1461274890.24191/DBIx-Migration-Directories-0.12/blib/arch lib /home/blaabs/perl5/lib/perl5/amd64-freebsd-thread-multi /home/blaabs/perl5/lib/perl5 /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .) at (eval 10) line 1.