Subject: | Undeclared configure_requires dependency Path::Tiny |
Automatic build fails if Path::Tiny is not installed:
...
Output from '/usr/bin/perl Build.PL':
Can't locate Path/Tiny.pm in @INC (you may need to install the Path::Tiny module) (@INC contains: lib inc /var/tmp/cpansmoker-1023/2019040517/CPAN-Reporter-lib-8mdz /home/cpansand/.cpan/build/2019040521/Devel-CheckLib-1.13-28sWjo/blib/arch /home/cpansand/.cpan/build/2019040521/Devel-CheckLib-1.13-28sWjo/blib/lib /home/cpansand/.cpan/build/2019040521/IO-CaptureOutput-1.1104-vJBW4a/blib/arch /home/cpansand/.cpan/build/2019040521/IO-CaptureOutput-1.1104-vJBW4a/blib/lib /home/cpansand/.cpan/build/2019040521/Mock-Config-0.03-Uc4USm/blib/arch /home/cpansand/.cpan/build/2019040521/Mock-Config-0.03-Uc4USm/blib/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at inc/MyBuilder.pm line 11.
BEGIN failed--compilation aborted at inc/MyBuilder.pm line 11.
Compilation failed in require at Build.PL line 13.
BEGIN failed--compilation aborted at Build.PL line 13.
...
It seems that Path::Tiny has to be declared as a configure_requires dependency.