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).