http://qs321.pair.com?node_id=12445


in reply to A detailed How-To for locally installing modules

It's really not that difficult, so a "detailed how-to" isn't much longer than a few paragraphs. Look near the bottom of this page, under How do I install the module?

Locally installing a binary module for Win32 is even easier, just unzip the package, go to the "x86" directory and unzip the .tar.gz file, then use lib './x86/blib/lib';

Replies are listed 'Best First'.
RE: Re: A detailed How-To for locally installing modules
by misty (Hermit) on May 18, 2000 at 18:44 UTC
    Or.. using CPAN under *nix:
    cpan> o conf makepl_arg PREFIX="/path/to/module"
    Under Win32 using PPM:
    PPM> set root c:\yourpath PPM> set build c:\yourpath
      If you want to use CPAN as a non-privleged user, you'll also have to create a local copy of CPAN/Config.pm in $HOME/.cpan/CPAN/MyConfig.pm and use it to override the default paths for the CPAN installation, otherwise you won't even be able to start the CPAN interface.
      I ran into an additional problem: a tool tries to mess around with the site directory. You also need to modify the CPAN configuration SITEPREFIX to your local perl directory in some cases.