I saved the changes to cpan mbuildpl_arg and tried to run the cpan install once again but still getting the same error. I display the cpan version and it's taking the 0.008 version, not the latest version. The env PERL5LIB is set. The only thing that is strange is that when I do the cpan install for 'CPAN::Meta::YAML', it doesn't say that it is up to date like it does for other modules installed. It just installs it again.

# *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
#
# The following REQUIRED prerequisites were not satisfied:
#
# CPAN::Meta::YAML version '0.008' is not in required range '0.011'

cpan[1]> o conf /mbuild/ $CPAN::Config options from /opt/app/d1cap1w6/.cpan/CPAN/MyConfig.pm: mbuild_arg [--install_base /opt/app/d1car1m6/.perl] mbuild_install_arg [] mbuild_install_build_command [./Build] mbuildpl_arg [--installdirs=site --install_base=/opt/app/d1c +ap1w6/.perl]
cpan[2]> o conf /make/ $CPAN::Config options from /opt/app/d1cap1w6/.cpan/CPAN/MyConfig.pm: make [/usr/bin/make] make_arg [] make_install_arg [] make_install_make_command [/usr/bin/make] makepl_arg [INSTALLDIRS=site INSTALL_BASE=/opt/app/d1cap1w +6/.perl]

=> echo $PERL5LIB
/opt/app/d1cap1w6/.perl/lib/perl5:/opt/app/d1cap1w6/.perl/lib/perl5/x86_64-linux-thread-multi

=> perl -MCPAN::Meta::YAML -le 'print $CPAN::Meta::YAML::VERSION'
0.008


In reply to Re^9: CPAN install to custom path by jamesgerard1964
in thread CPAN install to custom path by jamesgerard1964

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.