in reply to (Never Ending) Module Installation Issues
perl Makefile.PL INSTALLBASE=~ make make test make install
It's similar for Module::Build modules:
perl Build.PL --install_base ~ ./Build ./Build test ./Build install
You can configure cpan to do that.
o conf makepl_arg 'INSTALLBASE=~' o conf mbuildpl_arg '--install_base ~' o conf commit # To use these settings in future sessions too.
PERL5LIB should be set to ~/lib/perl5 for INSTALLBASE=~. You can specify LIB=... in addition to INSTALLBASE=... if you want to further specify where modules should be installed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (Never Ending) Module Installation Issues
by listanand (Sexton) on Jun 08, 2010 at 20:13 UTC | |
by ikegami (Patriarch) on Jun 08, 2010 at 20:39 UTC | |
by listanand (Sexton) on Jun 09, 2010 at 18:53 UTC | |
by ikegami (Patriarch) on Jun 09, 2010 at 21:29 UTC | |
by listanand (Sexton) on Jun 10, 2010 at 00:59 UTC | |
|