Closed zdm closed 5 years ago
I can't reproduce that (and CPAN Testers can't either)
Hi, could you, please, do something or revert latest changes? It is simply not installed.
There's almost no information in your issue to start diagnosing the problem.
Where did /usr/perlbrew/perls/perl-5.28.2
come from?
Please show the output of /usr/perlbrew/perls/perl-5.28.2 -V
Please run cpanm -v PAR::Packer
(in this Perlbrew environment) and attach the complete output.
Here's the problem:
config_args='-des -Dusemorebits -Duselargefiles -Dprefix=/usr/perlbrew/perls/perl-5.28.2 -Dusere locatableinc -Dman1dir=none -Dman3dir=none'
i.e. /usr/perlbrew/perls/perl-5.28.2
is a "relocatable" Perl interpreter: if it's installed into directory
foo
it's default @INC
will be foo/../lib/5.28.2
, foo/../lib/site_perl/5.28.2
etc
That makes myldr/par
a relocatable Perl interpreter, too (and you can recognize that from the @INC
shown in the error message).
This has come up before with "portable" editions of Strawberry Perl. IIRC my conclusion then was that require Digest::SHA
didn't work there, too, but previously that was hidden as it was inside `eval { ... }'.
I'll do some experiments...
Thank you.
On 16.05.2019 14:45, Roderich Schupp wrote:
Here's the problem:
config_args='-des -Dusemorebits -Duselargefiles -Dprefix=/usr/perlbrew/perls/perl-5.28.2 -Dusere locatableinc -Dman1dir=none -Dman3dir=none'
i.e. |/usr/perlbrew/perls/perl-5.28.2| is a "relocatable" Perl interpreter: if it's installed into directory |foo| it's default |@INC| will be |../foo/lib/5.28.2|, |../lib/site_perl/5.28.2| etc That makes |myldr/par| a relocatable Perl interpreter, too (and you can recognize that from the |@INC| shown in the error message).
This has come up before with "portable" editions of Strawberry Perl http://strawberryperl.com/releases.html. IIRC my conclusion then was that |require Digest::SHA| didn't work there, too, but previously that was hidden as it was inside `eval { ... }'. I'll do some experiments...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rschupp/PAR-Packer/issues/15?email_source=notifications&email_token=AAH2MSEV6IIBYZH2IROHBKTPVVCMJA5CNFSM4HJRTVM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVRRS6Y#issuecomment-493033851, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH2MSHFBSCA6A6ULEO6BDTPVVCMJANCNFSM4HJRTVMQ.
Can you try current HEAD?
Current HEAD compiled without errors.
Thx for testing
Seems, that it removes perl locations from @INC.