in reply to Re: CPAN Module help
in thread CPAN Module help

OK, do you mind being very specific. I ran perl -MCPAN -e shell.

o conf shows me that mbuildpl_arg and makepl_arg are not set.
They are set to [].

The build dir is set to /root/.cpan/build.

So can you give me an example of how I would set the correct config options so that CPAN will install the modules into the /usr/lib64/perl5/vendor_perl directory? Would I need to set more than the mbuild_install_arg?

Replies are listed 'Best First'.
Re^3: CPAN Module help
by tman77 (Initiate) on Jan 08, 2015 at 17:01 UTC

    As a follow up, I tried setting the following via o conf and made sure I committed it

    makepl_arg [INSTALL_BASE=/usr/lib64/perl5/vendor_perl] mbuildpl_arg [--install_base=/usr/lib64/perl5/vendor_perl]

    And I then tried to install a module, and it still installed to /root/perl5/lib/perl5/x86_64-linux-thread-multi

      Which cpan did you use? Which perl does it uses? How many perls do you have installed?
Re^3: CPAN Module help
by choroba (Cardinal) on Jan 08, 2015 at 16:59 UTC
    Do you have the mentioned variables set?
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ