in reply to Problem in @INC using PAR::Packer on Windows

Have you tried pp's -a option to tell it to include your additional files?

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

Replies are listed 'Best First'.
Re^2: Problem in @INC using PAR::Packer on Windows
by rodrigo.pace.barros (Initiate) on Nov 17, 2009 at 15:23 UTC
    Hi Almut.
    I´ve tried to use '-a', but the same error occurs.

    ===
    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(0x1304974) CODE(0x115f914) CODE(0x115fc64)) at script/ns2html.pl line 29.
    BEGIN failed--compilation aborted at script/ns2html.pl line 29.
    ===

    Any other idea?

    Thanks!!!

      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

        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.
        ===