Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

. removed from @INC #46

Open
eserte opened this issue May 13, 2017 · 1 comment
Open

. removed from @INC #46

eserte opened this issue May 13, 2017 · 1 comment

Comments

@eserte
Copy link
Contributor

eserte commented May 13, 2017

In perl 5.26 the dot is not anymore part of @INC. This is causing build failures, currently only if done from commandline (CPAN.pm et al. have hacks to prevent this problem):

Output from '/opt/perl-5.26.0-RC1/bin/perl Build.PL':

Can't locate builder/MyBuilder.pm in @INC (you may need to install the builder::MyBuilder module) (@INC contains: /var/tmp/cpansmoker-1002/2017051300/CPAN-Reporter-lib-qQj3 /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0/x86_64-linux /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0 /opt/perl-5.26.0-RC1/lib/5.26.0/x86_64-linux /opt/perl-5.26.0-RC1/lib/5.26.0) at Build.PL line 12.
BEGIN failed--compilation aborted at Build.PL line 12.

Probably this may be fixed by adding use lib "i"; into Build.PL.

ppisar added a commit to ppisar/p5-Server-Starter that referenced this issue May 17, 2017
@hoelzro
Copy link

hoelzro commented Jan 18, 2018

FWIW I couldn't install using cpanminus 1.7043 due to this issue - my (crappy) workaround was just PERL5LIB=. cpanm Server::Starter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants