Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
when i run nmake ,make or Pmake on some of the dependent module required for Net::SSH::Perl i get errors like: on module Math::GMP
" NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop "
i went to http://ppm.activestate.com/PPMPackages/zips but no easy package was found for Net::SSH::Perl .
please advice

Have you tried installing it via ppm and let the ppm handle the dependancies? It would be much easier if you did.
Here's the easy way to install it:
C:\>ppm
PPM interactive shell (2.1.6) - type 'help' for available commands.
PPM> install Net::SSH::Perl
Install package 'Net-SSH-Perl?' (y/N): y
Installing package 'Net-SSH-Perl'...
Bytes transferred: 58130
Installing C:\Perl\site\lib\auto\Math\GMP\GMP.bs
Installing C:\Perl\site\lib\auto\Math\GMP\GMP.dll
Installing C:\Perl\site\lib\auto\Math\GMP\GMP.exp
Installing C:\Perl\site\lib\auto\Math\GMP\GMP.lib
Installing C:\Perl\html\site\lib\Math\GMP.html
Files found in blib\arch: installing files in blib\lib into architecture dependent library tree
Installing C:\Perl\site\lib\auto\Math\GMP\autosplit.ix
Installing C:\Perl\site\lib\Math\GMP.pm
Writing C:\Perl\site\lib\auto\Math\GMP\.packlist

i tried to install it via PPM but the module
isnt there look:
C:\>ppm
PPM - Programmer's Package Manager version 3.3.
Copyright (c) 2001 ActiveState Corp. All Rights Reserved.
ActiveState is a division of Sophos.Entering interactive shell. Using Term::ReadLine::Perl as readline library.
Type 'help' to get started.
ppm> install Net::SSH::Perl
Searching for 'Net::SSH::Perl' returned no results. Try a broader search first.
ppm> install Net-SSH-Perl
Error: Package 'Net-SSH-Perl' not found. Please 'search' for it first.
ppm>when i run a search for all the modules in ppm i cant find it either.

It sounds like you may have a problem with the repository. What version of Perl do you have? I looks like you're using ppm3. Try doing a search for ssh, if you don't get something like the following, use the rep command to add the repositories.
PPM> search ssh
Packages available from http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58:
Net-SSH [0.08] Perl extension for secure shell
Net-SSH-Perl [1.29] Perl client interface to SSH
Net-SSH-W32Perl [0.05] Win32 (ActivePerl) Compatibility Layer for
Net::SSH::Perl
Packages available from http://ppm.ActiveState.com/cgibin/PPM/ppmserver-5.8-windows.pl?urn:/PPMServer:
Net-SSH [0.07] Perl extension for secure shell

i looked at activestate.com site and its seems that there is no ppm module for now as they say and i tried all of there suggested modules.
thanks anyway unless you have other suggestion i think i will use the net:ssh module.

Did you try the search command in ppm as I showed or did you just scan through activestate's web site? Activestate isn't the only place where perl modules are located. The example I gave using ppm showed that there are 3 ssh modules available that can be installed via ppm:
Net::SSH
Net::SSH::Perl
Net::SSH::W32Perl

Also, as I previously mentioned, you need to update your list of repositories, so ppm can search other locations.

as i looked in activestate's web site the net::ssh::perl doesnt support windows yet.
so if you did got it from another way via ppm
can you tell me which repository cause i installed like 6 repositories without any success .

![]() |
Gw basic
|
awk/sed > env.variable fr...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |