in reply to Can't build standalone with pp

Please provide more information: e.g post your errors - I've recently installed and used PAR:Packer - no problems whatsoever.

use GUI ppm (provided with perl 5.8.8) and install PAR::Packer 0.976 it should detect and install all of the dependencies automatically. alternative to par : http://www.indigostar.com/perl2exe.htm

Replies are listed 'Best First'.
Re^2: Can't build standalone with pp
by zli034 (Monk) on Sep 29, 2007 at 05:10 UTC

    Guys, here is the error messages of the pp

    -----------------------------------------------------------------

    Microsoft Windows XP Version 5.1.2600

    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\zli034\Desktop\Analysis>pp -o hello.exe hello.pl

    Set up gcc environment - 3.2 20020927 (prerelease)

    Perl lib version (v5.8.8) doesn't match executable version (v5.8.6) at C:/Perl/lib/Config.pm line 46.

    Compilation failed in require at C:/Perl/lib/Errno.pm line 8.

    BEGIN failed--compilation aborted at C:/Perl/lib/Errno.pm line 8.

    Compilation failed in require at C:/Perl/lib/File/Temp.pm line 144.

    BEGIN failed--compilation aborted at C:/Perl/lib/File/Temp.pm line 144.

    Compilation failed in require at C:/Perl/lib/Archive/Zip.pm line 26.

    BEGIN failed--compilation aborted at C:/Perl/lib/Archive/Zip.pm line 26.

    Compilation failed in require at -e line 406.

    C:\Perl\site\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to file 'parlOI58Zaz.exe' at C:/Perl/site/lib/PAR/Packer.pm line 1149, <DATA> lin e 1.

    C:\Documents and Settings\zli034\Desktop\Analysis>

Re^2: Can't build standalone with pp
by zli034 (Monk) on Sep 29, 2007 at 08:33 UTC

    What about this error message? after I installed the Errno module

    Errno architecture (MSWin32-x86-multi-thread-4.0) does not match executable architecture (MSWin32-x86-multi-thread-5.0) at C:/Perl/site/lib/Errno.pm line 11.

Re^2: Can't build standalone with pp
by zli034 (Monk) on Sep 29, 2007 at 20:48 UTC

    Read about some posts of this doesn't much architecture problem by google searching. It is probably caused by the previous perl version uninstalled poorly. I'm thinking to rebuild the whole Windows system. I can't think about any way other than this to clean all the perl file system in my PC

      I was also seeing this: Errno architecture (MSWin32-x86-multi-thread-4.0) does not match executable architecture (MSWin32-x86-multi-thread-5.0) at C:/Perl/site/lib/Errno.pm line 11. I first tried to upgrade any possible modules with ppm. Then - I uninstalled ActiveState Perl and downloaded their latest release - reinstalled some modules I use and ran the program again and it worked. Thanks - Mark