Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: cpan installing modules outside of the @INC path

by naikonta (Curate)
on May 01, 2007 at 01:15 UTC ( [id://612898]=note: print w/replies, xml ) Need Help??


in reply to Re^4: cpan installing modules outside of the @INC path
in thread cpan installing modules outside of the @INC path

The installation dir just looks fine to me. I have more versioned directories from 5.8.3 to 5.8.8. But yours look like come from two different version of Perl. On my machine,
$ perl -v This is perl, v5.8.8 built for i386-linux-thread-multi
When I peek at the source of cpan, command line the shebang points to /usr/bin/perl, and,
$ head `which cpan` #!/usr/bin/perl eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if 0; # not running under some shell $ /usr/bin/perl -v This is perl, v5.8.8 built for i386-linux-thread-multi
Both commands gave me the same version of Perl, so the @INC should stay same. Either cpan or manual installation will go to the same installation dir. Could you reproduce those commands on your machine?

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

Replies are listed 'Best First'.
Re^6: cpan installing modules outside of the @INC path
by macrobat (Beadle) on May 01, 2007 at 17:57 UTC
    Actually, changing the source of cpan to /usr/local rather than /usr/bin resulted in the modules being placed in the desired path.

    Our sysadmin (yes I know, what am I doing mucking about with the internals of cpan if I'm not him) installed a locally-compiled version of perl and adjusted the $PATH to read /usr/local first. As soon as you cited the source, I realized that.

    So, thanks again.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://612898]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-16 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found