Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: cpan when not as root

by rvosa (Curate)
on May 17, 2006 at 22:10 UTC ( [id://550109]=note: print w/replies, xml ) Need Help??


in reply to Re: cpan when not as root
in thread cpan when not as root

This by itself does not seem to solve the problem. For clarity: I'm on a redhat beowulf cluster, and I'd like to use bash as my shell, so I set PERL5LIB=~/perl in my .bashrc. Then, I start cpan (perl -MCPAN -e shell) and set the configuration (o conf init) for perl Makefile.PL to PREFIX=~/perl LIB=~/perl, but what about make, make test, make install? Do I set -I~/perl?

For example, I need to install Test::Harness. The cpan shell goes through all the motions, and Test::Harness ends up in ~/perl, but the next time I issue "install Test::Harness" it goes through the whole procedure again rather than simply saying it's up to date?!

Thanks!

Replies are listed 'Best First'.
Re^3: cpan when not as root
by graff (Chancellor) on May 18, 2006 at 06:50 UTC
    I start cpan (perl -MCPAN -e shell) and set the configuration (o conf init) for perl Makefile.PL to PREFIX=~/perl LIB=~/perl, but what about make, make test, make install?

    The "make" and "make install" will do the right thing based on having the "PREFIX=..." set for the "perl Makefile.PL" step. That prefix setting propogates through the following steps.

    (If you've tried that and it doesn't work that way for you, then I'm confused -- it works that way for me on freebsd.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found