Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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.



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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2018-02-19 00:32 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (257 votes). Check out past polls.