develooper Front page | perl.perl5.porters | Postings from June 2008

utils/prove loses @INC settings

Thread Next
Andy Dougherty
June 25, 2008 14:07
utils/prove loses @INC settings
Message ID:
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 in @INC

where @INC contains the locations where perl will be installed.
But if perl has not yet been installed, then 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'.  I don't know how, why, or when
utils/prove loses track of the ./lib directory.

    Andy Dougherty

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About