nefertari has asked for the wisdom of the Perl Monks concerning the following question:
I would like to install the CPANPLUS module for my usual account on my Mac. The OS is 10.3.1 with Perl 5.8.1-RC3. After unpacking I tried perl Makefile.PL and also perl Makefile.PL LIB=~/Library/lib.
In both cases I run into some permission issues when running make, especially so funny ones like:
(judithdo is my account!) and later on errors of the following type:*** You are not allowed to write to the directory '/Users/judithdo/.cp +anplus'; the installation may fail due to insufficient permissions.
MAKE INSTALL failed! - in CPANPLUS::Internals::Make::_make at Thu Nov + 13 23:35:27 2003 at /Users/judithdo/CPANPLUS-0.045/lib/CPANPLUS/Inte +rnals/Make.pm line 513 An error occurred handling module Compress::Zlib in CPANPLUS::Internal +s::Install::_install_module at Thu Nov 13 23:35:27 2003 at /Users/jud +ithdo/CPANPLUS-0.045/lib/CPANPLUS/Internals/Install.pm line 170 Installing Compress::Zlib failed! in CPANPLUS::Backend::install at Thu + Nov 13 23:35:27 2003 at /Users/judithdo/CPANPLUS-0.045/lib/CPANPLUS/ +Backend.pm line 254
Since it is my own computer, I could work as root, but prefer not too, because of too little experience. My main account is also not in the sudoers group.
Could you please tell me the right options, so that it works?
Thanks,
nefertari
update: I read the readme, looked at the module install guides here around, asked google (and groups.google) and still had no luck, but perhaps I used the wrong terms.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing CPANPLUS as non-root on Mac OS X 10.3
by Nkuvu (Priest) on Nov 14, 2003 at 17:53 UTC | |
by nefertari (Chaplain) on Nov 14, 2003 at 18:09 UTC | |
|
Re: Installing CPANPLUS as non-root on Mac OS X 10.3
by nefertari (Chaplain) on Nov 15, 2003 at 09:03 UTC |