Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.



Comment on Re: Install a CPAN module at x location
Select or Download Code
Replies are listed 'Best First'.
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

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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2015-12-02 02:12 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (31 votes), past polls