[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
utils/prove loses @INC settings
When building perl, the following used to work:
echo 'use Test;' > try.t
./perl -Ilib utils/prove try.t
It now (bleadperl@34087) fails with
try......Can't locate Test.pm in @INC
where @INC contains the locations where perl will be installed.
But if perl has not yet been installed, then Test.pm can't be found.
In perl-5.8.8, it was sufficient to pass -Ilib to ./perl.
In 5.10.x, it is apparently necessary to do
./perl -Ilib utils/prove -Ilib try.t
That's right: -Ilib must be specified twice. Without the first one,
perl complains 'Can't locate strict.pm'. I don't know how, why, or when
utils/prove loses track of the ./lib directory.
--
Andy Dougherty doughera@lafayette.edu
- Follow-Ups from:
-
"Andy Dougherty via RT" <bug-Test-Harness@rt.cpan.org>
Eric Wilhelm <scratchcomputing@gmail.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]