I am trying to install Module::Build while using local::lib. Unfortunately it wants to install into /usr/bin and not in my private ~/perl5/bin directory Why and how can it be fixed?
t/xs.t ......................... ok All tests successful. Files=48, Tests=1149, 253 wallclock secs ( 0.71 usr 0.13 sys + 146.62 + cusr 101.71 csys = 249.17 CPU) Result: PASS /home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/. ./Build test -- OK Directory '/home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/.' not + below /home/gabor/.cpan/build, will not store persistent state Running Build install Prepending /home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/./blib +/arch /home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/./blib/lib + to PERL5LIB for 'install' WARNING: Can't find resource file '/home/gabor/perl5/.modulebuildrc' d +efined in environment. No options loaded Building Module-Build !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Can't create '/usr/bin' Do not have write permissions on '/usr/bin' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at lib/Module/Build/Base.pm line 3569 /home/gabor/work/perl/trunk/cpan/Module-Build-0.3800/. ./Build install -- NOT OK ---- You may have to su to root to install the package (Or you may want to run something like o conf make_install_make_command 'sudo make' to raise your permissions.Directory '/home/gabor/work/perl/trunk/cpa +n/Module-Build-0.3800/.' not below /home/gabor/.cpan/build, will not +store persistent state
Using perl 5.10.0 that comes with this SUSE installation

In reply to Module::Build installation while using local::lib by szabgab

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.