Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello guys,

it has been really tough to get this working and not still working..

the following are the thing i intend to do

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-
4. i have all the required modules installed.

the following are the issues i have.

Quoted text here. Click to load it
Unable to load backend Net_SSH2: Can't locate Net/SFTP/Foreign/Backend/Net_SSH2.
pm in @INC (@INC contains: CODE(0x14db19c) C:\TEMP\par-61676972616a\cache-fc745c
7bdab45bea5e1bc4f536f37a02378efa83\inc\lib C:\TEMP\par-61676972616a\cache-fc745c
7bdab45bea5e1bc4f536f37a02378efa83\inc CODE(0x12d447c) CODE(0x12d480c)) at (eval
 21) line 1.
 at script/ line 26.
CODE(0x14db19c) C:\TEMP\par-61676972616a\cache-fc745c7bdab45bea5e1bc4f536f37a023
78efa83\inc\lib C:\TEMP\par-61676972616a\cache-fc745c7bdab45bea5e1bc4f536f37a023
78efa83\inc CODE(0x12d447c) CODE(0x12d480c)

the following is what i observed.

1. I can get it working with strawberry 64 bit perl on a windows7 64 bit. but i
need a 32 bit target file.

2. I see my @INC is good and environment variables are properly set( as much i

3. As soon as I run the exe ..@INC is on C:\temp. But my modules are in

let me know.

Re: Par::packer

On Wednesday, June 19, 2013 7:15:05 PM UTC+5:30, jis wrote:
Quoted text here. Click to load it

THere is no difference in version  par::packer installed in windows 7 and
windows xp

How do i include external modules using par::packer??
i have tried  pp -M Net::SFTP -o test.exe

it gave me an output..but is not executing..

what will be the best solution?


Site Timeline