[1.3.0-dev] Build.pl creates ~/perl5 directory even if it is not used #3635

Closed
xoan opened this Issue Dec 22, 2016 · 4 comments

Projects

None yet

3 participants

@xoan
xoan commented Dec 22, 2016

Version

Current master: 117fb30

Operating system type + version

Arch Linux

Behavior

% env | grep PERL
PERL5LIB=/home/xoan/.perl/lib/perl5
PERL_LOCAL_LIB_ROOT=/home/xoan/.perl
PERL_MB_OPT=--install_base "/home/xoan/.perl"
PERL_MM_OPT=INSTALL_BASE=/home/xoan/.perl
% perl Build.PL
/home/xoan/.perl/bin/cpanm
Attempting to create directory /home/xoan/perl5
App::cpanminus is up to date. (1.7042)
Class::XSAccessor is up to date. (1.19)
...
XML::SAX::ExpatXS is up to date. (1.33)
threads is up to date. (2.09)
cpanm (App::cpanminus) 1.7042 on perl 5.024000 built for x86_64-linux-thread-multi
@lordofhyphens
Collaborator
@xoan
xoan commented Dec 22, 2016

This is the line which creates the ~/perl5 directory:

if (!eval "use local::lib; 1") {

I have local::lib installed by package manager in Arch Linux.

@alexrj
Owner
alexrj commented Dec 22, 2016

Oh right, I know how to fix it, I'll do right now.

@alexrj
Owner
alexrj commented Dec 22, 2016

Done!

@alexrj alexrj closed this Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment