CPAN::Forum
CPANPLUS - Re: Installing into a user directory
| Posted on Tue Feb 12 18:19:23 2008 by jib in response to 7086 (See the whole thread of 2) |
| Re: Installing into a user directory |
|
$ perl bin/cpanp-boxed -s selfupdate dependencies
When it's testing 'Params::Check' it can't find 'Locale/Maketext/Simple.pm' because it's
not in @INC. The previous step did install it but hasn't put the path on @INC. Adding that
path to the 'lib' variable in the config file doesn't work as it doesn't add to @INC. Setting
$PERL5LIB to this path before hand solves this.
That's the correct way to solve it -- CPANPLUS does not change your @INC for you (even if it did, it would only be for this process). You either have to compile your perl with additional include paths, or set $ENV{PERL5LIB}.
I also had to remove the 'sudo' config variable, can this be configured in setup for a user install
+?
Yes. Sudo settings are determined by heuristics, but you can override them. From the default shell you can type:
s program sudo
s save
And it will unset the sudo option for you and save the settings.
Even though I've set LIB and INSTALLMAN{1,3}DIR to locations within my home
directory, it still wants to install in a dir I don't have permission for. E.g.
This is an ExtUtils::MakeMaker issue. The option you haven't set is for script files: INSTALLBIN. See 'perldoc ExtUtils::MakeMaker' for details on all the options it takes.
And then it fails when installing zlib:
That's probably something best brought up in the IO::Zlib forums. It doesn't appear to be related to CPANPLUS. Good luck, |
| Write a response |
(5)
]