Skip Menu |

This queue is for tickets about the Psonpath CPAN distribution.

Report information
The Basics
Id: 132089
Status: new
Priority: 0/
Queue: Psonpath

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.1.0
Fixed in: (no value)



Subject: Wrong perl used in tests
t/simple.t fails on most of my smoker systems: ... Can't locate JSON/Path.pm in @INC (you may need to install the JSON::Path module) (@INC contains: /usr/home/cpansand/.cpan/build/2020030802/Psonpath-0.1.1-3/blib/lib /usr/home/cpansand/.cpan/build/2020030802/Psonpath-0.1.1-3/blib/arch /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30 .) at bin/psonpath line 4. BEGIN failed--compilation aborted at bin/psonpath line 4. ... It seems that the wrong perl is used here --- the first perl in user's $PATH and not the perl used for building+testing the distribution. Usual fixes are to use the preinstalled script from blib/script (as the shebang should be correct here --- if not, then there's another problem), or to use $^X to call the script (less preferred, but probably the old way to get it working on Windows systems).