Quantcast
Channel: ActiveState Community Site - PDK discussion
Viewing all articles
Browse latest Browse all 116

PDK 9.1.1 perlapp oddities when including module Net::SSH2

$
0
0

Greetings,

Running...
Licensed PerlApp 9.1.1 build 295479
Community ActivePerl 5.14.2 x64
HostOS: osname=MSWin32, osvers=5.2, archname=MSWin32-x64-multi-thread (WIN7 64Bit)

So, I have hunted for a module to put in my app to automate SSH destined for multiple OS targets. My Targets are Win32/64 and linux and the module I chose is Net::SSH2. Sadly, I couldn't find any pre-built Net::SSH2 from the Activestate PPM repository as it reports all attempts to build failed? So I did what "ppm repo suggest" suggested and added another repository :>

I added sisyphusion and Net::SSH2 installed without a hassle using Activestate PPM. I then put together a quick script using the module and then wrapped for my native OS and all is well, the wrapped exe runs as expected.

I then changed my target to windows x86-32...
perlapp --norunlib --target windows-x86-32 --exe bootstrap.exe-windows-x86-32.exe bootstrap.pl

perlapp completes with -0- errors... however the wrapped exe when executed on the same Win7 host fails with the following...

Can't load 'auto/Net/SSH2/SSH2.dll' for module Net::SSH2: load_file:The specified module could not be found at /DynaLoade
r.pm line 221.
at perlapp line 848
BEGIN failed--compilation aborted at bootstrap.pl line 4.

Is this a Net::SSH2 build issue or a perlApp issue?
If Net::SSH2, whats the chances/timeframe of getting a build in Activestate PPM for 5.14?
If there is another feature equal SSH2 module on ActiveState PPM for 5.14 other than Net::SSH2 please point in that direction, I have searched for a clean perl SSH solution until my eyes bleed :)

Thanks.


Viewing all articles
Browse latest Browse all 116

Trending Articles