http://qs321.pair.com?node_id=612439


in reply to cpan installing modules outside of the @INC path

Check your makepl_arg config from cpan shell, macrobat.
$ cpan cpan>o conf makepl_arg
If it contains something, that's why.

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Replies are listed 'Best First'.
Re^2: cpan installing modules outside of the @INC path
by macrobat (Beadle) on Apr 29, 2007 at 00:09 UTC
    Alas, that key is empty.

    Still, if I install from the cpan shell, it goes somewhere outside my @INC path. If I then go into the ~/.cpan/build/Some-Module directory and do a

    perl Makefile.PL make make test make install
    --it goes to the right place.
      Just where does cpan install the module?

      Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

        It installs things into /usr/lib/perl5/site_perl/5.8.6/, but @INC is this:

        /opt/at/perl5lib /usr/local/lib/perl5/5.6.1/i686-linux-thread-multi /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .