in reply to How to pass options to Makefile.PL when using cpanm?
%ENV vars, for gcc, for ExtUtils::MakeMaker, for Module::Build
=head2 Where does this install modules to? Do I need root access? It installs to wherever ExtUtils::MakeMaker and Module::Build are configured to (via C<PERL_MM_OPT> and C<PERL_MB_OPT>). So if you're using local::lib, then it installs to your local perl5 directory. Otherwise it installs to the site_perl directory that belongs to your perl.
PERL_MM_OPT, PERL_MB_OPT, LD_LIBRARY_PATH, Re: perlbrew/cpanm on 64 bit Ubuntu Re: cpanm --sudo installs to /root/perl5 instead of /usr, http://perldoc.perl.org/ExtUtils/MakeMaker.html#LIBS, C_INCLUDE_PATH/LIBRARY_PATH... repeat
|
|---|