Subject: | Can't locate Data/Describe.pm |
In some situations the build & test process is not successful:
...
$ make test
PERL_DL_NONLAZY=1 "/usr/perl5.24.0p/bin/perl5.24.0" "-Iblib/lib" "-Iblib/arch" test.pl
./t/Describe.t .. Can't locate Data/Describe.pm in @INC (you may need to install the Data::Describe module) (@INC contains: blib/lib blib/arch /usr/perl5.24.0p/lib/site_perl/5.24.0/amd64-freebsd /usr/perl5.24.0p/lib/site_perl/5.24.0 /usr/perl5.24.0p/lib/5.24.0/amd64-freebsd /usr/perl5.24.0p/lib/5.24.0 .) at ./t/Describe.t line 11.
BEGIN failed--compilation aborted at ./t/Describe.t line 11.
./t/Describe.t .. skipped: (no reason given)
In this situation the module is located in the wrong blib directory: it's in blib/lib/Describe.pm instead of blib/lib/Data/Describe.pm.
I suspect that the problem is caused somehow by ExtUtils::AutoInstall. Maybe it's better to switch to a normal Makefile.PL?