in reply to Re^2: Problem in @INC using PAR::Packer on Windows
in thread Problem in @INC using PAR::Packer on Windows

Please post exactly how you use pp to create the executable.

Update: Also, could you please post which version of ActiveState Perl, PAR and PAR::Packer you are using.

Martin

  • Comment on Re^3: Problem in @INC using PAR::Packer on Windows

Replies are listed 'Best First'.
Re^4: Problem in @INC using PAR::Packer on Windows
by rodrigo.pace.barros (Initiate) on Nov 19, 2009 at 11:52 UTC
    Hi.

    My version of PAR is: 0.944 and my version of ActivePerl is 5.10.

    Below follows the error I got:

    === PP convertion ===
    D:\documents and settings\r330293\Desktop\ns2html-0.4.6-win32\bin>pp -o ns2html.exe ns2html.pl
    ===

    === script execution ===

    D:\documents and settings\r330293\Desktop\ns2html-0.4.6-win32\bin>ns2html.exe
    Can't locate AddrCreator.pm in @INC (@INC contains: subs CODE(0x13008ac) CODE(0x115fb64) CODE(0x115feb4)) at script/ns2html.pl line 29.
    BEGIN failed--compilation aborted at script/ns2html.pl line 29.
    ===

      Here you tell us you had used the -a option to add a file, but this example you've given does not show this. Take a look at the -M and -a options, and the related examples in the pp documentation.

      If you have any further problems let us know.

        Note: My code can be fount at http://ns2html.sourceforge.net

        The -M switch returns the same error as shown below:

        ===
        D:\documents and settings\r330293\Desktop\ns2html-0.4.6-win32\bin>pp -a subs -o ns2html.exe ns2html.pl
        Set up gcc environment - 3.4.5 (mingw-vista special r3)
        Set up gcc environment - 3.4.5 (mingw-vista special r3)
        Copyright (C) 2004 Free Software Foundation, Inc.
        This is free software; see the source for copying conditions. There is NO
        warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


        Set up gcc environment - 3.4.5 (mingw-vista special r3)
        Copyright (C) 2004 Free Software Foundation, Inc.
        This is free software; see the source for copying conditions. There is NO
        warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



        D:\documents and settings\r330293\Desktop\ns2html-0.4.6-win32\bin>ns2html.exe
        Can't locate AddrCreator.pm in @INC (@INC contains: subs CODE(0x1304c14) CODE(0x115fb64) CODE(0x115feb4)) at script/ns2html.pl line 29.
        BEGIN failed--compilation aborted at script/ns2html.pl line 29.

        ===