Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-cpanminus CPAN distribution.

Report information
The Basics
Id: 65354
Status: open
Priority: 0/
Queue: App-cpanminus

People
Owner: Nobody in particular
Requestors: apeiron [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.19_02
Fixed in: (no value)



Subject: XML::SAX, possibly others boom when INSTALLBASE not in PERL5LIB
This causes cpanm to fail: $ PERL_MM_OPT=INSTALL_BASE=/tmp/someplace/not/in/perl5lib cpanm XML::SAX The problem is this line in XML::SAX's Makefile.PL: \t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))- Show quoted text
>save_parsers()"
The problem is that it tries to run perl under the assumption that the lib will be installed to somewhere in @INC, whether by PERL5LIB or otherwise. CPAN.pm fixes this by adding the blib of the module to PERL5LIB, which works on my locally-modified cpanm as well.
Show quoted text
> $ PERL_MM_OPT=INSTALL_BASE=/tmp/someplace/not/in/perl5lib cpanm XML::SAX
Care to elaborate why do you have to do this in the first place?