Subject: | Can't locate inc/My_Build.pm in @INC (with perl 5.27.1) |
Trying to install HTML-Tree for perl 5.27.1 with CPAN.pm fails on one of my systems (debian/jessie):
$ /opt/perl-5.27.1/bin/cpan5.27.1 HTML::Tree
...
KENTNL/HTML-Tree-5.06.tar.gz
./Build test -- OK
Running Build install
[sudo] password for eserte:
Can't locate inc/My_Build.pm in @INC (you may need to install the inc::My_Build module) (@INC contains: /opt/perl-5.27.1/lib/site_perl/5.27.1/x86_64-linux /opt/perl-5.27.1/lib/site_perl/5.27.1 /opt/perl-5.27.1/lib/5.27.1/x86_64-linux /opt/perl-5.27.1/lib/5.27.1) at ./Build line 41.
BEGIN failed--compilation aborted at ./Build line 41.
KENTNL/HTML-Tree-5.06.tar.gz
sudo ./Build install -- NOT OK
However, this happens only on one of my four systems with 5.27.1, and unfortunately I don't see the difference here.