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

Hello Monks I am trying to install SCP module downloaded from the CPAN site.
I followed the instruction given in the site http://search.cpan.org/~jhi/perl-5.8.0/pod/perlmodinstall.pod
A. DECOMPRESS
Decompress the file with gzip -d yourmodule.tar.gz
B. UNPACK
Unpack the result with tar -xof yourmodule.tar
C. BUILD
Go into the newly-created directory and type:
perl Makefile.PL
make
make test
D. INSTALL
While still in that directory, type:
make install
I am following the above steps...but I am getting the following error
$ perl Makefile.PL Warning: prerequisite Net::SSH failed to load: Can't locate Net/SSH.pm in @INC (@INC contains: C:/APPS_SRV/perl/lib C:/APPS_SRV/pe +rl/site/lib .) at (eval 5) line 3. Warning: prerequisite String::ShellQuote failed to load: Can't locate +String/ShellQuote.pm in @INC (@INC contains: C:/APPS_SRV/perl/lib C:/APPS_SRV/perl/site/lib .) at (eval 6) line 3. Writing Makefile for Net::SCP $ make make: Error -- rem: The system cannot find the file specified. make: Error code -1
Any ideas where I am making mistake...is there way that I can get SCP library itself so that I don't have to create in my local system

Replies are listed 'Best First'.
Re: Perl Mod Install
by imp (Priest) on Jul 25, 2006 at 16:29 UTC
    You also need to install Net::SSH first

    On the command line: ppm install Net-SSH
    Edit
    You're also missing String::ShellQuote. You could install this using ppm as follows:
    ppm install String-ShellQuote

    But it would be better to let ppm handle the dependencies.

    ppm install Net-SCP
      Hello Thanks for the reply..please find below when I try to install SSH
      $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Net::SSH $ make mkdir blib mkdir blib\lib mkdir blib\lib\Net make: Error -- rem: The system cannot find the file specified. make: Error code -1
Re: Perl Mod Install
by kwaping (Priest) on Jul 25, 2006 at 16:30 UTC
    If possible, try to install the module using CPAN. It's so much easier!

    ---
    It's all fine and dandy until someone has to look at the code.
      Hello Thanks for the reply..where can I find information regarding CPAN? I went to CPAN.org site but couldn't find any useful info regarding my task
        On unix machines you typically install modules like this:
        perl -MCPAN -e 'install Net::SCP' # Or perl -MCPAN -e 'shell' install Net::SCP
        But since you are on a windows machine you should use ppm, which is provided with activeperl.

        ppm install Net-SCP
        Note that ppm likes Net-SCP instead of Net::SCP