Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Install a CPAN module at x location

by tachyon (Chancellor)
on Oct 12, 2004 at 23:16 UTC ( #398730=note: print w/ replies, xml ) Need Help??


in reply to Install a CPAN module at x location

Without CPAN you make perl install a module in a certain location using the PREFIX argument to makefile.PL

perl Makefile.PL PREFIX=/home/acc/lib

So I suggest you use:

o conf makepl_arg PREFIX=/home/myaccount/test/lib

The LIB argument lets you install binary components locally as well.

cheers

tachyon


Comment on Re: Install a CPAN module at x location
Select or Download Code
Re^2: Install a CPAN module at x location
by skazat (Hermit) on Oct 13, 2004 at 22:41 UTC

    I was just a tad wrong in my initial posting, this:

    o conf makepl_arg LIB=/home/yadda/yadda/perllib

    (no init - that makes you go through all the parameters) Seems to do what I wanted,

    I've never used the, "PREFIX" thingy before, although it does seem to install binary modules a bit better.

    skazat becomes closer to enlightenment

     

    -justin simoni
    !skazat!

Re^2: Install a CPAN module at x location
by markjugg (Curate) on Dec 30, 2005 at 15:39 UTC
      However, PREFIX is not recommended, at least by the Module::Build documentation. It offers install_base as an alternative.

      Since install_base is not yet fully supported by ExtUtils::MakeMaker PREFIX is still the best choice for people using EU::MM based modules (still the majority).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-07-05 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls