http://www.perlmonks.org?node_id=201179


in reply to To install a module...

PPM here. At lease on my windows box.

When I'm on Linux I use make, but it always makes the modules to some ./blib directory. How do I get make to build where I want?

-Silent11

Replies are listed 'Best First'.
Re: Re: To install a module...
by v_thunder (Scribe) on Sep 27, 2002 at 15:51 UTC

    You want to run 'make install' as well.

    Read the man pages for MakeMaker (man ExtUtils::MakeMaker) for other options. Also, depending on your OS flavor, there may be some standards for where you should install modules to.

    For example, on debian systems you'll want to use:

    perl Makefile.PL 'INSTALLDIRS=vendor'
    On RedHat systems, I use:
    perl Makefile.PL 'INSTALLDIRS=site'

    Cheers,
    -Dan