Par::packer

Discussion in 'Perl Misc' started by jis, Jun 19, 2013.

  1. jis

    jis Guest

    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 ..@INC is on C:\temp. But my modules are in C:\strawberry\perl

    let me know.
    thanks,
    jis
    jis, Jun 19, 2013
    #1
    1. Advertising

  2. jis

    jis Guest

    On Wednesday, June 19, 2013 7:15:05 PM UTC+5:30, jis wrote:
    > 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 ..@INC 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
    jis, Jun 20, 2013
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. PAR, PAR::Packer

    , Dec 1, 2006, in forum: Perl Misc
    Replies:
    1
    Views:
    206
    John Bokma
    Dec 1, 2006
  2. Yakov

    pp question (PAR::Packer)

    Yakov, Apr 8, 2007, in forum: Perl Misc
    Replies:
    2
    Views:
    107
    Bart Lateur
    Apr 10, 2007
  3. Replies:
    0
    Views:
    217
  4. Oliver Soeder
    Replies:
    1
    Views:
    230
  5. Roi

    PAR packer Error

    Roi, Jul 23, 2008, in forum: Perl Misc
    Replies:
    3
    Views:
    123
    Ben Morrow
    Jul 24, 2008
Loading...

Share This Page