Dear Monks,

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:

*** You are not allowed to write to the directory '/Users/judithdo/.cp +anplus'; the installation may fail due to insufficient permissions.
(judithdo is my account!) and later on errors of the following type:

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.


In reply to Installing CPANPLUS as non-root on Mac OS X 10.3 by nefertari

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.