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

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Monks,

I'm trying to install Win32::Lanman.
The documentation provided from ftp://ftp.roth.net/pub/ntperl/Others/Lanman/ gives this install procedure:

ppm install --location=. win32-lanman

However, ppm returns with 'Unknown option: location'.

I'm unfamiliar with installation procedures other than ppm->install (but willing to learn).
Any ideas would be helpful.

Replies are listed 'Best First'.
Re: ppm install with --location
by dree (Monsignor) on Apr 15, 2003 at 09:47 UTC
    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
      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
Re: ppm install with --location
by nite_man (Deacon) on Apr 15, 2003 at 09:51 UTC