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

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!!!
  • Comment on Re^2: Problem in @INC using PAR::Packer on Windows

Replies are listed 'Best First'.
Re^3: Problem in @INC using PAR::Packer on Windows
by marto (Cardinal) on Nov 17, 2009 at 15:29 UTC

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

        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.