Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Re-Test a CPAN module

by saintex (Scribe)
on Mar 14, 2011 at 09:06 UTC ( [id://893047]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Re-Test a CPAN module
in thread Re-Test a CPAN module

Hello, it works, but I have two different installations of Perl (the first one is the system built, the second one is a particular version of Perl in my personal directory).

How can I install with the target of my personal installation, not the system default?

In fact I have:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Can't create '/usr/local/lib/perl/5.10.1' Do not have write permissions on '/usr/local/lib/perl/5.10.1' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1 make: *** [pure_site_install] Errore 13
It is the default system installation,
but I would like to install with target in:
/usr/local/perls/perl5.12
Please, any idea?
Thank you for anwser

Replies are listed 'Best First'.
Re^5: Re-Test a CPAN module
by Corion (Patriarch) on Mar 14, 2011 at 09:11 UTC

    Use the appropriate perl to call Makefile.PL. If you execute Makefile.PL with the system Perl, it will install the module into the system Perl directory. If you execute Makefile.PL with your own Perl, it will install the module into your own Perl directory.

      Done with your suggestion!

      In fact, now it works!

      Thank you! :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found