Silvermouse has asked for the wisdom of the Perl Monks concerning the following question:
I'm installing with a userid with write permissions to the target directory, but not as root. This is failing, and the message in the build log says:my $dir = "/usr/local/MailControl"; $ENV{PERL5LIB} = "$dir/lib/perl5"; $ENV{PERL_LOCAL_LIB_ROOT} = $dir; $ENV{PERL_MB_OPT} = qq(--install_base "$dir"); $ENV{PERL_MM_OPT} = qq(INSTALL_BASE=$dir); system "cpanm --no-man-pages Mail::IMAPClient";
Can anyone point me to a reason that the install is trying to install the documentation when I supplied --no-man-pages, and why if it's going to do that it is ignoring my installation directory? Since this is bundling a procedure that will be executed by puppet, I don't want to have to stop and modify something that is downloaded. I want it to run as scripted every time. Any insights would be appreciated.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Can't create '/usr/local/share/man/man3' Do not have write permissions on '/usr/local/share/man/man3' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at /usr/share/perl5/Module/Build/Base.pm line 2988
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems installing Parse::RecDescent in a local::lib
by perlfan (Parson) on Feb 24, 2016 at 15:27 UTC | |
by Silvermouse (Novice) on Feb 24, 2016 at 16:48 UTC |