Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: CPAN won't install into personal directory; probably an o conf problem

by zentara (Archbishop)
on Apr 25, 2012 at 18:24 UTC ( #967140=note: print w/replies, xml ) Need Help??


in reply to CPAN won't install into personal directory; probably an o conf problem

What am I doing wrong?

You are not using local::lib :-) It's as easy as this:

How to use the local::lib module: Use the --bootstrap method to install local::lib according to its inst +allation instructions and then echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc then run cpan shell this way perl -MCPAN -Mlocal::lib -e shell you may need to cpan> reload cpan cpan> o conf init connect_to_internet_ok urllist cpan> install Crypt::Rijndael # for example

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: CPAN won't install into personal directory; probably an o conf problem
  • Download Code

Replies are listed 'Best First'.
Re^2: CPAN won't install into personal directory; probably an o conf problem
by throop (Chaplain) on Apr 25, 2012 at 20:22 UTC
    Thanks! that worked wonderfully.

    BTW, something I found only through trial and error: I downloaded and untarred local::lib, and connected to the directory it created ( local-lib-1.008004). I created the makefile:

    perl Makefile.PL --bootstrap=/home/dthroop
    and followed the directions.

    When all was said and done, this resulted in

    $ cpan > install Data::Table
    placing its code in
    /home/dthroop/perl5/lib/perl5/Data/Table.pm

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-06-24 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (80 votes). Check out past polls.

    Notices?