Quoth jis <
jism...@gmail.com>:
>
> 1. Create distributable executable with par::packer for 32 bit platform.
> (final destination: windows 7 32 bit
> 2. I have following in my script
> use Net::SFTP::Foreign;
> use Net::SFTP::Foreign::Constants qw (:flags);
> use Net::SMTP;
> use File::Basename;
> use Sys::Hostname;
> use File::Compare;
>
> 3. I use strawberry perl - strawberry-perl-5.18.0.1-32bit.msi.
> 4. i have all the required modules installed.
>
> the following are the issues i have.
>
> >Ftransfer
> Unable to load backend Net_SSH2: Can't locate
> Net/SFTP/Foreign/Backend/Net_SSH2. pm in @INC (@INC contains:
This looks like something dynamically loaded by Net::SFTP::Foreign. You
may need to tell pp to include it explicitly.
> 1. I can get it working with strawberry 64 bit perl on a windows7 64
> bit. but i need a 32 bit target file.
What is different about the two PARs? If you unzip them both, does the
64bit PAR include the module mentioned above, or does it not need to
load it for some reason?
> 2. I see my @INC is good and environment variables are properly set( as
> much i know).
>
> 3. As soon as I run the exe ..@INC is on C:\temp. But my modules are in
> C:\strawberry\perl
That's expected: that's the whole point of a PAR stand-alone exe. It
doesn't use your Strawberry installation at all.
Ben