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


in reply to ppm install with --location

You're using ActiveState Perl 805 (Perl 5.8) so PPM version 3.0.1 that does not have this option :(
You need another tecnique: to add a local repository (i.e. a directory) in the list of the available repositories:
PPM>add rep DIR c:\windows\desktop
then if you inflate the zip on your desktop you can search the module
PPM>s lanman
and install it
PPM>i 1

Replies are listed 'Best First'.
Re: Re: ppm install with --location
by Anonymous Monk on Apr 15, 2003 at 15:40 UTC
    Thanks for the info. However, one solution brings another challenge..

    rep add FOO "C:\...\desktop"
    added the folder to the available repositories.

    After searching and attempting to install, I get

    Error: no suitable installation target found for package Win32-Lanman.

    Thanks again for any constructive advice.

      You need to:

      0) quit PPM
      1) edit win32-lanman.ppd
      2) change <ARCHITECTURE NAME="MSWin32-x86-multi-thread" /> in <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
      3) change <CODEBASE HREF="MSWin32-x86-multi-thread/Win32-Lanman.tar.gz" /> in <CODEBASE HREF="MSWin32-x86-multi-thread-5.8/Win32-Lanman.tar.gz" />
      4) rename the directory MSWin32-x86-multi-thread in MSWin32-x86-multi-thread-5.8
      5) install as said in the previous node