Hi all,

I have a strange set of error messages when trying to use perlbrew to test some modules on a old perl.

[08:25][nick:~]$ perlbrew list * perl-5.6.0 perl-5.16.0 [08:25][nick:~]$ perl -v | head -2 This is perl, v5.6.0 built for darwin [08:25][nick:~]$ cpan Test::More Going to read '/Users/nick/.cpan/Metadata' ...

I didn't expect cpan to look there ... ? Wouldn't there be a .cpan/Metadata in each perl dist directory tree?

Installation proceeds, all tests pass for first dependency (Test::Simple) , then at the end:

... All tests successful. Files=118, Tests=1378, 9 wallclock secs ( 0.53 usr 0.39 sys + 5.34 +cusr 2.15 csys = 8.41 CPU) Result: PASS EXODIST/Test-Simple-1.001014.tar.gz make test -- OK Running make install !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Can't create '/Library/Perl/5.12' Do not have write permissions on '/Library/Perl/5.12' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1 make: *** [pure_site_install] Error 13 EXODIST/Test-Simple-1.001014.tar.gz make install -- NOT OK

I REALLY didn't expect perlbrew to try to copy a file to a dir with 5.12 in the name .... ?

Tried with cpanm since it came with perlbrew:

[08:26][nick:~]$ cpanm Test::More Not a CODE reference at /Users/nick/perl5/perlbrew/bin/cpanm line 507. BEGIN failed--compilation aborted at /Users/nick/perl5/perlbrew/bin/cp +anm line 507.

Is all this because 5.6.0 is just too old? Or do I have my perlbrew configured wrongly?

Thanks!

Remember: Ne dederis in spiritu molere illegitimi!

In reply to perlbrew and CPAN by 1nickt

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.