Re: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]
Jenda Krynicky wrote: From: Michael Ellery [EMAIL PROTECTED] I've been trying to use Net::SFTP recently, without luck. When I try to execute a simple fetch with code like: use strict; use Net::SFTP; my $scp = new Net::SFTP( 'SOMEHOST', user = 'SOMEUSER', password = 'SOMEPASS', ) or die Unable to create host connection; my @list = $scp-ls('/tmp'); print HERE IS /tmp\n:; map {print \t$_\n;} @list; my $stat = $scp-get('/tmp/InstalledDB', 'c:/s2/InstalledDB'); print get status is $stat\n; ...I get the error: The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Perl.pm line 110. Net::SSH2 works fine for me under Windows. Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs This doesn't show up in 5.8.820 repo is there another repo that has it or did you build libssh2 and its dependancies manually. I don't usually build on Windows so I'm not sure what to do about the ./configure part. Thanks. ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]
listmail wrote: Jenda Krynicky wrote: From: Michael Ellery [EMAIL PROTECTED] I've been trying to use Net::SFTP recently, without luck. When I try to execute a simple fetch with code like: use strict; use Net::SFTP; my $scp = new Net::SFTP( 'SOMEHOST', user = 'SOMEUSER', password = 'SOMEPASS', ) or die Unable to create host connection; my @list = $scp-ls('/tmp'); print HERE IS /tmp\n:; map {print \t$_\n;} @list; my $stat = $scp-get('/tmp/InstalledDB', 'c:/s2/InstalledDB'); print get status is $stat\n; ...I get the error: The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Perl.pm line 110. Net::SSH2 works fine for me under Windows. Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs This doesn't show up in 5.8.820 repo is there another repo that has it or did you build libssh2 and its dependancies manually. I don't usually build on Windows so I'm not sure what to do about the ./configure part. It seems to be here: http://theoryx5.uwinnipeg.ca/ppms/ HTH -- Brian Raven = Atos Euronext Market Solutions Disclaimer = The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful. If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of Atos Euronext Market Solutions. Atos Euronext Market Solutions Limited - Registered in England Wales with registration no. 3962327. Registered office address at 25 Bank Street London E14 5NQ United Kingdom. Atos Euronext Market Solutions SAS - Registered in France with registration no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 75009 Paris France. L'information contenue dans cet e-mail est confidentielle et uniquement destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions de bien vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre systeme. Le contenu de ce message electronique ne represente pas necessairement la position ou le point de vue d'Atos Euronext Market Solutions. Atos Euronext Market Solutions Limited Société de droit anglais, enregistrée au Royaume Uni sous le numéro 3962327, dont le siège social se situe 25 Bank Street E14 5NQ Londres Royaume Uni. Atos Euronext Market Solutions SAS, société par actions simplifiée, enregistré au registre dui commerce et des sociétés sous le numéro 425 100 294 RCS Paris et dont le siège social se situe 6/8 Boulevard Haussmann 75009 Paris France. = ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]
I've been trying to use Net::SFTP recently, without luck. When I try to execute a simple fetch with code like: use strict; use Net::SFTP; my $scp = new Net::SFTP( 'SOMEHOST', user = 'SOMEUSER', password = 'SOMEPASS', ) or die Unable to create host connection; my @list = $scp-ls('/tmp'); print HERE IS /tmp\n:; map {print \t$_\n;} @list; my $stat = $scp-get('/tmp/InstalledDB', 'c:/s2/InstalledDB'); print get status is $stat\n; ...I get the error: The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Perl.pm line 110. I know it can be pretty difficult getting SSH related packages working on Win32. Can anyone out there summarize the steps required to make this stuff work? I've seen various references to packages supplied at soulcage.net, but I think that site has fallen away. Any advice is appreciated. I'm using perl 5.8.8, BTW. Thanks, Mike Ellery listmail wrote: Just an update. Some debugging that I've done shown that my ssh connection was actually hung and looping between $ssh-client_loop and $ssh-drain_outgoing and never exiting . My assumption was wrong with how things had been fixed up. I seen many Google hits on this problem and allot of the fixes were older and stating to use the soulcage repo! After many hours I made a copy of my working installations' site/lib/Net/SSH folder and pasted into a fresh perl install and then installed the Crypt modules and other dependencies from uwinnipeg.ca. Not the most ideal solution, but performance is good. If I don't get any solution for the existing packages I'll probably end up doing diffs on the files between two site folders and see if I can create a fix. Original Message Subject: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32 Date: Fri, 13 Jun 2008 00:59:29 -0500 From: listmail [EMAIL PROTECTED] To: activeperl@listserv.ActiveState.com I've been using Net::SSH::W32perl 0.06 originally provided by a repo on http://www.soulcage.net/ (Scott Scecina) for a few years now. And my install still works great. Unfortunately this site is down and I can no longer find that specific version and dependencies. I believe Scott had hacked some parts of that package or any of its dependencies so as to make it work without Math::BigInt::GMP but not falling back to the slowest math libs. Without fast math routines using Net::SSH::Perl is incredibly slow (10 minutes or more to connect). A couple years back I solved this problem on Solaris by building against libgmp, but I haven't created a working solution on Windows using a clean development machine. This concerns me since I have applications in production which rely on the continue development and availability of this functionality.I've been testing the packages provided at http://theory.uwinnipeg.ca/ppms/ with no luck on the performance issue so far. I will be testing against Net::SSH:Perl v1.23 (instead of 1.30) next. If anyone has any tips or suggestions, I would appreciate it. ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]
From: Michael Ellery [EMAIL PROTECTED] I've been trying to use Net::SFTP recently, without luck. When I try to execute a simple fetch with code like: use strict; use Net::SFTP; my $scp = new Net::SFTP( 'SOMEHOST', user = 'SOMEUSER', password = 'SOMEPASS', ) or die Unable to create host connection; my @list = $scp-ls('/tmp'); print HERE IS /tmp\n:; map {print \t$_\n;} @list; my $stat = $scp-get('/tmp/InstalledDB', 'c:/s2/InstalledDB'); print get status is $stat\n; ...I get the error: The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Perl.pm line 110. Net::SSH2 works fine for me under Windows. Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]
Jenda Krynicky wrote: Net::SSH2 works fine for me under Windows. ..and sure enough, it does! Who knew it could be so easy. Thanks. -Mike ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs