in reply to Re^3: Dependences to install Net::SSH2 for windows
in thread Dependences to install Net::SSH2 for windows

Hi Rob,
while iam trying to install i got this message
Installing package 'http://members.optusnet.com.au/~sisyphus1/ppms/Net-SSH2.ppd'...
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at E:/perl/site/lib/PPM.pm line 1658.
Can't locate object method "rvalidate" via package "PPM::XML::PPD::PROVIDE" (perhaps you forgot to load "PPM::XML::PPD::PROVIDE" ?)
at E:/perl/site/lib/PPM/XML/ValidatingElement.pm line 38.

  • Comment on Re^4: Dependences to install Net::SSH2 for windows

Replies are listed 'Best First'.
Re^5: Dependences to install Net::SSH2 for windows
by syphilis (Archbishop) on Nov 05, 2006 at 11:25 UTC
    Your version of PPM can't handle one of the lines in the ppd file. I've removed the offending line from the ppd file - so it should work for you, assuming you're running perl 5.8.

    Try again.

    Cheers,
    Rob
      Hi Rob,
      Iam using v5.6.1.,ppm version 2.1.6 .Still iam getting same errors
        Looks like your ppm must be finding a cached version of the ppd file - as opposed to reading the file that's now actually on the server. (I didn't expect that would happen.) Anyway, since you're using perl 5.6, then it's not going to work for - though you should be getting different errors to the ones you're seeing.

        I'll stick up a ppm for perl 5.6.1 - and update this post with details of how you can access it once the job has been done. (Probably take about half an hour all being well.)

        Cheers,
        Rob
        Update:Try:

        ppm install http://members.optusnet.com.au/~sisyphus1/ppms/Net-SSH2-56.ppd

        Warning:I had to modify the source code to enable building under perl 5.6.1. To be more specific, Net-SSH2 requires perl 5.8. By using the 5.8 ExtUtils/typemap with perl 5.6.1, and by changing every occurrence of "use 5.008;" to "use 5.006;" (in the Makefile.PL and the all of the .pm files) I was able to get Net-SSH2-0.09 to build with perl 5.6.1. I can't guarantee, however, that there isn't some bug in there just waiting to bite :-)