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

Re: Install a CPAN module at x location

by tachyon (Chancellor)
on Oct 12, 2004 at 23:16 UTC ( [id://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

Replies are listed 'Best First'.
Re^2: Install a CPAN module at x location
by skazat (Chaplain) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://398730]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found