I've got a shared-hosting account where I configured my CPAN to do all sorts of installs into a ~/perlmods dir so I can install modules without root rights: Still there seems to be one step which I haven't modified to go into my relative dir... (or is this one hardcoded in the mod?)
Running Build install Prepending /home/isync/.cpan/build/KinoSearch-0.30_122-jGNB5K/blib/arc +h /home/isync/.cpan/build/KinoSearch-0.30_122-jGNB5K/blib/lib to PERL +5LIB for 'install' Building KinoSearch Files found in blib/arch: installing files in blib/lib into architectu +re dependent library tree !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Can't create '/usr/local/lib/perl/5.10.0' mkdir /usr/local/lib/perl: Permission denied at /usr/share/perl/5.10/E +xtUtils/Install.pm line 479 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at /home/isync/perlmods/share/perl/5.10/Module/Build/Base.pm line 333 +4 CREAMYG/KinoSearch-0.30_122.tar.gz ./Build install -- NOT OK
my CPAN/MyConfig.pm:
$CPAN::Config = { 'auto_commit' => q[1], 'build_cache' => q[100], 'build_dir' => q[/home/isync/.cpan/build], 'cache_metadata' => q[1], 'commandnumber_in_prompt' => q[1], 'cpan_home' => q[/home/isync/.cpan], 'ftp_passive' => q[1], 'ftp_proxy' => q[], 'http_proxy' => q[], 'inactivity_timeout' => q[0], 'index_expire' => q[1], 'inhibit_startup_message' => q[0], 'keep_source_where' => q[/home/isync/.cpan/sources], 'make_arg' => q[], 'make_install_arg' => q[], 'make_install_make_command' => q[/usr/bin/make], 'makepl_arg' => q[PREFIX=~/perlmods], 'mbuild_arg' => q[], 'mbuild_install_arg' => q[], 'mbuild_install_build_command' => q[./Build], 'mbuildpl_arg' => q[PREFIX=~/perlmods], 'no_proxy' => q[], 'prerequisites_policy' => q[follow], 'scan_cache' => q[atstart], 'show_upload_date' => q[0], 'term_ornaments' => q[1], 'urllist' => [q[ftp://cpan.erlbaum.net/CPAN/], q[ftp://cpan.mirrors. +tds.net/pub/CPAN], q[ftp://ftp.ndlug.nd.edu/pub/perl/]], 'use_sqlite' => q[0], }; 1; __END_
So, which step of CPAN triggers this "ERROR: Can't create '/usr/local/lib/perl/5.10.0'" - so I can tell it to go into ~/perlmods?

As I understand it, I've managed to tell the make process behind CPAN which is triggered by ExtUtils::MakeMaker to use a custom PERL_LIB var, but not that it should also override the PERL_ARCHLIB var, right? How can I do this?

In reply to CPAN: quick help with user-space install needed by isync

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.