Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Don't ask to ask, just ask
 
PerlMonks  

Re: Local CPAN help

by atcroft (Monsignor)
on Sep 14, 2008 at 00:50 UTC ( #711206=note: print w/ replies, xml ) Need Help??


in reply to Local CPAN help

Looking at the section on config variables, it appears maybe the makepl_arg and mbuild_install_arg variables may be the ones you wish to set. (I haven't tried them myself, but those two are described as arguments passed to perl Makefile.PL and ./Build install, respectively.) So likely the following would be used:

$CPAN::Config = { # ...possibly other options... 'makepl_arg' => q[INSTALL_BASE=/opt/local], 'mbuild_install_arg => q[--install_base /opt/local], # ...possibly other options... }; 1;

HTH.

Updated (2008-09-13): changed single-quotes to q regexp quote-like operator (as found in my local CPAN/Config.pm).


Comment on Re: Local CPAN help
Select or Download Code
Re^2: Local CPAN help
by wrinkles (Monk) on Sep 14, 2008 at 08:34 UTC
    Local, non-root cpan eludes me. I've read through the documentation, tried all the reasonable configurations in MyConfig.pm, and still run into errors during most cpan installs. Manual installation works for me nearly every time, with the single "install_base" argument.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://711206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2013-05-19 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (397 votes), past polls