Par::packer


J

jis

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-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: 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/Ftransfer.pl 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 know).

3. As soon as I run the exe [email protected] is on C:\temp. But my modules are in C:\strawberry\perl

let me know.
thanks,
jis
 
Ad

Advertisements

J

jis

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-5.18.0.1-32bit.msi.

4. i have all the required modules installed.



the following are the issues i have.






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/Ftransfer.pl 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 know).



3. As soon as I run the exe [email protected] is on C:\temp. But my modules are in C:\strawberry\perl



let me know.

thanks,

jis

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 test.pl

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

what will be the best solution?

thanks,
jis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top